Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setall command on form
Message
 
 
To
28/12/1997 12:36:33
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00068148
Message ID:
00068151
Views:
28
Jamie,

After playing with this for a bit, you must also enable the container itself with a

this.cmdButtons.Enabled = .t.

FWIW, I don't use global enable/disable code like this anymore since we have tablerevert() I let the users be in edit mode all of the time and give them an undo button.

>I issue the following commands in the init of my form...
>
>thisform.setall("Enabled",.f.)
>thisform.cmdbuttons.setall("Enabled",.t.)
>
>
>The simplified hierarchy of the form is..
>
>FORM1
> ...labels
> ...text
> ...cmdbuttons
> ...cmdtop
> ...cmdprev
>
>
>and so on..
>
>
>When the form appears, i am not able to access any of the command buttons on the form (anything on the form for that matter)
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform