09-07-2014, 09:13 AM
Greetings,
Below is a working code I have been using for a while now.
However, I want to do away with the fixed waiting period inserted after selecting a combo box item.
The page refreshes automatically upon selection.
So I would need something that continues immediately as the page completes the refresh.
Kindly advise.
Macro RO Sales gDN
Below is a working code I have been using for a while now.
However, I want to do away with the fixed waiting period inserted after selecting a combo box item.
The page refreshes automatically upon selection.
So I would need something that continues immediately as the page completes the refresh.
Kindly advise.
Macro RO Sales gDN
,
,;Client Type
,Htm e3=htm("SELECT" "ctl00_cphMain_cboClientType" "" w "0" 1 0x121 50)
,;e3.SetText(custType)
,;e3.SetFocus
,
,int typeNum=SelStr(1 custType2 "C" "P" "V")
,
,if typeNum=1
,,e3.CbSelect("Company")
,,wait 5
,,gDNCompany(fullName2)
,,goto Mobile
,if typeNum=2
,,e3.CbSelect("Private")
,,wait 7
,if typeNum=3
,,e3.CbSelect("VIP")
,,wait 5
Best Regards,
Philip
Philip