Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Choice problem

From: kpeters::otaksoft::com at: 14-Sep-2007 14:53

On Fri,= 14 Sep 2007 08:31:37 +0200, Alessandro Manotti wrote: >Can you postthe piece of= code? > Hi Alessandro ~ further studies have revealedthe "offending" code: empty-fields: func [ "Clear= all text fields faces ofa layout." panel [object!] ][   if not all [ in= panel 'type panel/type = '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 &#16/d    =    flag-face?  face inf     =   ][ either series? face/text     =      [ clear face/text  face/line-list:= none ]          [ face/text: attempt [ make face/text= none ]]     =    ]   ]  ;  show= panel ] It seems to die every time a= face that this function wants to "talk to" is obscured by the dropped= down choice..... Anybody have a suggestion on= how to tell a choice to "roll up"??? TIA Kai
>On 9/13/07, Kai Peters= <> 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/flagsfind face/flags flag] >>>>>>The only difference= between this choice and the other choices (that I can= see)is that= it >>is by far thewidest and, when dropped down, covers a few of the other= faces= entirely.
>>>>Where do I start to= look here/what code is breaking? I have a feeling
that= 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 emailto >>lists at with unsubscribe as the subject. >>>>-- >>//Alessandro >>[0] >[0]