Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wait till page is refreshed on selecting each combo box
#1
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
Code:
Copy      Help
,
,;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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)