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 :)
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement