Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command button class
Message
From
02/05/2000 18:05:41
 
 
To
26/04/2000 09:14:24
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00363521
Message ID:
00365390
Views:
18
I believe this is how I would do it

At the command Button

method:cmdbutton.click
* Begining of click event
this.cPickList = "frmpicklist.scx"
this.cPickItem = ""
do form (this.cPickList) to this.cPickItem
return
* end of CLICK event


*At the pick List form

thisform.windowtype = 1 && Modal
* need to set it to modal to allow a return value from the UNLOAD
* event

method:
UNLOAD
* this.cvalue && is the value that you assigned from the list box (pick list)
return this.cvalue

Harap boleh tolong :)
Previous
Reply
Map
View

Click here to load this message in the networking platform