In Servoy Developer Version R2 1.2rc9-build 259 in the attached solution:
When I click on the client button from the splash screen, enable debugger, and select the first combobox on the clDetail form, the debugger display shows but servoy then hangs, requiring Task Manager to end the program. The method that is executing is fired from an onFocusLost event. If I switch the method to the onDataChanged event, the debugger does not hang.
Well hanging is not the right word! , you are in an endless loop:
for example happens in this case:
onFocusGained check if value 1 if so requestfocus() on next field
onFocusLost a dialag, thanks for filling in
now the problem arises when showing a dialog the focus moves to the dialog, when dialog is closed the focus moves back to the field, result is endless loop
see also solution [u]Event Tips I - Triggering an Immediate Dialog on Entering and Exiting a Field[/u]
Btw the escape key will stop the script in developer.
Got it! Thanks again!