Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controlling which fields are displayed and usable
Message
De
11/08/1999 03:56:47
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
 
 
À
10/08/1999 23:40:16
Peter Brama
West Pointe Enterprises
Detroit, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00252348
Message ID:
00252381
Vues:
10
>I have a form that based on a code selected from a combo, input is required in anywhere from 1-6 other fields on the form. I was thinking about making them DISABLED or VISIBLE=.F. depending on what is picked in the combo. Most likely, the control of the other fields needs to be in the InterActiveChange property for the combo. Or should it be in each independent field in some sort of DISPLAY property? What about when data is displayed via the NEXT/PREV controls on the form. Where should I control the fields from in that case? Is there one property that can handle them all.

I would suggest placing the enable/disable code in the REFRESH method of the individual controls. Then during the combo interactivechange you can either call THISFORM.Refresh() or (if it only involves a small number) REFRESH() each control individually.
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform