'show fields' Question

Richard Gaskin ambassador at fourthworld.com
Fri Apr 25 12:23:02 EDT 2003

David Smith wrote:

> I have unsuccessfully tried to group them this way:
> hide field "Stage 1", "Stage 2", "Stage 3", "Etapa 1"
> and also a variation with the commas on the inside of the quotes but neither
> worked.

You could group the objects and hide them by hiding the group.

Or you could make a handler to hide/show multiple objects in one line:

on mouseUp
  ToggleFieldVis "hide", "Stage 1,Stage 2,Stage 3,Etapa 1"
end mouseUp

on ToggleFieldVis pHideOrShow, pFieldNameList
  lock screen
  put (pHideOrShow = "show") into tVisFlag
  repeat for each item tField in pFieldNameList
    set the visible of fld tField to tVisFlag
  end repeat
  unlock screen
end ToggleFieldVis

 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.2: Publish any database on any site
 Ambassador at FourthWorld.com       http://www.FourthWorld.com
 Tel: 323-225-3717                       AIM: FourthWorldInc

More information about the Use-livecode mailing list