Hello,
I had a WebTextField when GotFocus, it will open a WebDialog which allows me to pick Color from it. After the WebDialog is closed, it will SetFocus to next WebTextField. Everything is working fine except that when calling the WebDialog “Picker”, I am expecting the next command “NextWebTextField2.SetFocus” to be executed after I had Closed the WebDialog “Picker”.
But the actual fact is that after WebDialog “Picker” is shown, the NextWebTextField2.SetFocus is executed as well while WebDialog “Picker” is still opened. Is there any way to let the command NextWebTextField2.SetFocus executed only after I had closed the WebDialog “Picker”? Besides using a Timer Event, is there other alternatives?
Below is the sample of my source code:-
WebTextField1.GotFocus
Dim Picker As New PaletteColorPicker
Picker.LoadColor(mColor, AddressOf DisplayColor)
Picker.Show
NextWebTextField2.SetFocus
Thank you.
Regards,
Alvin