Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setall command on form
Message
 
 
À
28/12/1997 12:36:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00068148
Message ID:
00068151
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform