Could you include an example of the function being used?  ie, a layout with 
'choice's in that uses the function in some way.

-- Carl Read.


On Friday, 14-September-2007 at 17:20:42 Kai Peters wrote,

>
>Whoa - that was awful again - sorry for that. Forgot to switch back to plain=
> text :(
>
>Allessandro ~
>
>I believe the code below crashes when the choice is in dropped down state=
> and thus covers a face
>that the function wants to talk to.
>
>Does anyone know how to tell a choice to "roll up"?
>
>TIA,
>Kai
>
>
>
>
>
>empty-fields: func [ "Clear all text fields faces of a layout." panel=
> [object!] ][
>   if not all [ in panel 'type panel/type =3D 'face ] [ exit ] 
>   unfocus 
>   foreach face panel/pane [ 
>     if any [ flag-face?  face field   
>              flag-face?  face area  
>              flag-face?  face memo  
>              flag-face?  face fld  
>              flag-face?  face inf 
>            ][ either series? face/text 
>                 [ clear face/text   face/line-list: none ]
>                 [ face/text: attempt [ make face/text none ]] 
>             ]
>   ] 
> ;  show panel
>] 
>
>
>On Fri, 14 Sep 2007 08:31:37 +0200, Alessandro Manotti wrote:
>> Can you post the piece of code?
>>
>>
>> On 9/13/07, Kai Peters <[EMAIL PROTECTED]> wrote:
>>
>>>
>>> Hi all ~
>>>
>>> I have a layout with (among other faces) a number of choices. If a=
> particular choice (the
>>> others are fine) is in dropped-down state and I click one of the buttons=
> from that layout, I
>>> get:
>>>
>>> ** Script Error: Invalid path value: flags
>>> ** Where: flag-face?
>>> ** Near: all [face/flags find face/flags flag]
>>>
>>>
>>> The only difference between this choice and the other choices (that I=
> can=3D see)is that it
>>> is by far the widest and, when dropped down, covers a few of the other=3D=
> faces entirely.
>>>
>>> Where do I start to look here/what code is breaking? I have a feeling=
> that=3D if I could tell the
>>> choice to hide the drop-down things might be well...
>>>
>>> Is there a way to do that? Or am I totally wrong all the way here?
>>>
>>> TIA,
>>> Kai
>>> --
>>> To unsubscribe from the list, just send an email to
>>> lists at rebol.com with unsubscribe as the subject.
>>>
>>
>> --
>>
>> //Alessandro
>>
>> http://sguish.wordpress.com
>> http://laccio.wordpress.com
>
>-- 
>To unsubscribe from the list, just send an email to 
>lists at rebol.com with unsubscribe as the subject.
>
>
>
>
>-- 
>No virus found in this incoming message.
>Checked by AVG Free Edition. 
>Version: 7.5.487 / Virus Database: 269.13.19/1008 - Release Date: 14/09/2007 
>8:59 a.m.
>

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to