Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command button programatically firing
Message
From
25/03/2002 15:03:41
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00636847
Message ID:
00636977
Views:
22
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform