Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extra programming?
Message
From
03/07/2001 12:31:32
 
 
To
03/07/2001 11:54:33
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00526341
Message ID:
00526369
Views:
16
Hi!

2 methods on the form: EnableButtons (with parameter .T. or .F. - enable or disable) and MessageBox with the same parameters as default VFP function. MessageBox method is in the base form class, it calls EnableButtons(.F.), show message box, than EnableButtons(.T.). Than on each form you can write any code you want in the EnableButtons method to provide specifics for each form.

Looks cool, but, anyway, for what it is needed? I hev not seen any ap with such strange functionality...

>Yesterday, out of the blue, my little boy boss came up to me and asked if I could "dim" (in our language, it's disabled, via, ENABLED = .F.) all the button when I pop up those Messagebox() (his definition of "user friendly", regardless that all Messagebox are modal). Well? I said this is insane, but yeaaah it CAN be done, you just will have to wait a long time for that. He then said "Forget it" (whew!).
>
>So, just curious, what would you have to say about that? Also, if anyone has actually done that, how it was done? To me, it is a lot of work because if the Messagebox was "Do you want to Delete this record Y/N", a Refresh()/TableUpdate() has to take place (Refresh() works weird sometimes), then having to make sure the next record would be able to allow enable/disable certain buttons, all that.
>
>Chuck
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform