Jump to content

Bug with OnExit/OnClick ???


GoldLine

Recommended Posts

Hello,

I've made a small testcase with  UniEdit and  UniButton components. UniEdit has OnExit event routine and UniButton has OnClick event routine.

If UniEdit has the focus (cursor is in UniEdit control) and UniButton is clicked only OnExit event is fired and not OnClick event from UniButton.

Can you please check that.

Thanks,

Aufnahme1.png

Aufnahme2.png.44b7c95aebbf74f207255926b2c43df8.png

Testcase.rar

 

Testcase.rar

Testcase.rar

Link to comment
Share on other sites

Hello Goldline,

There is no Bug with that.

See, in attachment the correct behavior.

Note, that Showmessage, shows the latest message (Asynchronous Constraint):  It gives the impression that the event is not executed. But if you put a global variable as in attachment example, you will see variable i  is  incremented twice OnExit  and OnDoubleCLick.

See the Mega DEMO : this will give you a good idea on Unigui.

Regards.

Onexit.zip

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...