Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling Controls
Message
 
To
05/04/1997 00:40:23
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00026728
Message ID:
00027155
Views:
45
>Infact, I tried to use the Setall method also, but once the record
>navigation keys are disabled, refresh method doesn't enable them.
>I am using these commands :-
>
>[edit Click method)
>doedit=.t.
>thisform.setall(enabled,doedit) && enabling fields and grids
>thisform.recmov.setall(enabled,!doedit) && disabling Record movement
>thisform.refresh()
>
>[save Click method)
>doedit=.f.
>thisform.setall(enabled,doedit) && disabling fields and grids
>thisform.recmov.setall(enabled,!doedit) && enabling Record movement
>thisform.refresh()
>
>but once record navigation keys are disabled, nothing is happening
>In my form, more then 30 fields are there, and I am planning to put
>4 tabs, having fields from all the files. If I will set each and
>every field manually, it will be very long. Pls Advs

Setall works fine...and you do not even need Refresh. You need to have Enabled in quotes, though, perhaps, that's the problem...watchout if you don't use the class parameter, though, you'll disable just about everything...(s)
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform