Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

execute command using setall

Status
Not open for further replies.

sqlpro

Programmer
Dec 30, 2003
297
NZ
hi friends
is it possible execute a method of all combo boxes on screen
i mean something like

.SetAll("value",'',"btextbox")
i have control (jlist based on combo) which has a method
refreshcontrol
when i try like
.SetAll("refreshcontrol",,"jlist")
i get error like
refreshcontrol is method,event or object
am i missing anything here
Thanks :)


cheers
 
SETALL is used to set properties, not methods. What are you trying to do? At what point are you trying to run this method? If you're using VFP 8, you may be able to use BindEvent for what you're trying to do.


-BP (Barbara Peisch)
 
Thanks for the post Barbara
actually i've many jlist(custom class based on combo) and a grid.
grid will have data based on different selections (from jlists)

now i need to clear all search options when user presses a
command btn so that he could start all over again.
anyway i solved it by using
for each ...command.


cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top