` Printed Icetips Article

Icetips Article



Par2: Making a form read only
1999-03-16 -- Arnor Baldvinsson
 
IF you only have entry fields on the window this can be done with:

If Loc:ViewOnly
   Loop X# = FirstField() To LastField()
     Case X# {Prop:Type}
       Of Create:Button
       Else
         X# {Prop:ReadOnly} = True
         X# {Prop:Skip} = True
       End
     End
   End
End

This will make all controls except buttons read-only.  IF you have checkboxes these 
are more tricky.  I think there are some articles on that problem in the Icetips/Topspeed

Knowledgebases.



Printed May 2, 2024, 7:03 am
This article has been viewed/printed 35112 times.