Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set dynamic buttons in a form
Message
 
To
23/06/2004 06:45:04
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00916322
Message ID:
00916334
Views:
8
If You want these buttons to do something You must first crate a class, something like that:
DEFINE CLASS MyButton AS CommandButton
   PROCEDURE Click()
     thisform.DoSomething(parameter)
   ENDPROC
ENDDEFINE
then look in Metin code, but instead of CommandButton use MyButton
thisform.NewObject("Button1", "MyButton", "MyClassLibrary.PRG(VCX)")
add a method in the form called DoSomethig with parameter list & after the user click some of the buttons that method will be fired.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform