Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IIF in a Control Source
Message
De
28/08/2001 02:37:34
 
 
À
28/08/2001 01:15:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00549697
Message ID:
00549701
Vues:
18
>Can I do an IIF statement in a textbox.controlsource? Further, can that IIF statement call a UDF which passes a value back to the control source for display on the screen?
>
>Thanks, Randy

From the property sheet, no (Data Source for this object must be a variable reference). From the Init method I was able to do:

this.ControlSource = IIF(condition,'FirstVar','SecondVar')

and it was accepted and updated the proper variable.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform