Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable Object - Text Box
Message
De
02/04/1999 14:35:47
 
 
À
02/04/1999 14:29:05
Andy Roth
Neyenesch Printers
Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00204745
Message ID:
00204752
Vues:
18
Andy...

Have you tried, in the VALID or INTERACTIVECHANGE of txtBoxA:

WITH THISFORM

.txtBoxG.Refresh()
.txtBoxH.Refresh()

ENDWITH

and then in the Refresh of G and H:

THIS.Enable = (THISFORM.txtBoxA.Value = xData)

This way, G and H will be either Enabled or Disabled, depending on what you expect them to find in A.

Scott


>I must be missing something very simple but I can't fixgure out how to
>disable a text box or check box based on data selected somewhere else in a form.
>
>Example:
>Is Text box A has Xdata in it
>
>Then textboxes g & h will be greyed out and not even in tab order and will be skipped
>
>Thanks in advance
>Andy
Scott D. Grabo
Chief Information Officer
Occupational Health Group
First Advantage Corporation
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform