- PRASHANT NIRGUN
- PowerBuilder
- Friday, 16 September 2022 10:08 AM UTC
HI I am using PB 12.5 Classical I created a wait window (wait_w) and showing the progress bar and and some text window type is = main. From main_w I am writing a string to windows registry and set a listener in wait_w the code is as follows. But lot code processing was done in main_w so I think wait_w is became inactive
//main_w
For Loop
ls_message_string = "Message ...."
RegistrySet("HKEY_LOCAL_MACHINE\Software\BPP","commandline", RegString!, ls_message)
Open(wait_w)
il_hwd = Handle(wait_w)
send (il_hwd, 1024, 1 , 1 ) ;
NEXT
close(waint_w)
//wait_w
Yield()
Event ID = pbm_custom01
RegistryGet("HKEY_LOCAL_MACHINE\Software\BPP","commandline", RegString!, ls_message)
st_message1.text = ls_message
Yield()
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.