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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only