Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Command button programatically firing
Message
De
25/03/2002 15:03:41
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00636847
Message ID:
00636977
Vues:
21
Timothy,

You could do it within the init() method of the textbox, or you could do it from outside of the textBox:
frmMyForm.AddObject('text1','myTextBox')
goodDate = date() && or do your restore here
                  && I would consider retrieving goodDate from a table rather
                  && rather than from a memory variable file...
frmMyForm.text1.value = goodDate
>
>YES, that example helped alot, got me on track. 1 quest I have though is that I substituted a textbox for the cmdbuttons in the example and I want the textbox to start off with a value taken from a .mem var. Where do I put my "restore from l:gooddate.mem addit" statement to make it work? Right now it's telling me "GOODDATE" is not found.
>
>
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform