Jump to content

How to execute a TUniEdit's trigger click event on RunTime


SIRE Software

Recommended Posts

Hello!

Anyone knows if its possible to execute a Trigger 's click  event of a TUniEdit on RunTime.

I have this function that receives a TUniEdit and depending on some validations i have to execute a trigger button click event (I have two triggers on each TUniEdit)

Thanks you in advance!!

Link to comment
Share on other sites

54 minutes ago, Victor Dominguez said:

Anyone knows if its possible to execute a Trigger 's click  event of a TUniEdit on RunTime.

I have this function that receives a TUniEdit and depending on some validations i have to execute a trigger button click event (I have two triggers on each TUniEdit)

Hello,

UniEdit1TriggerEvent(UniEdit1, 0)

?

Link to comment
Share on other sites

4 minutes ago, Sherzod said:

Hello,


UniEdit1TriggerEvent(UniEdit1, 0)

?

Hi!

I was expecting something like "UniEdit.JSInterface.JSCall('getTriggers().t1.click" which didnt work,  because i have a dinamic function on a datamodule so any form could call it and send just the uniEdit,  in the above example i have to know the triggerEvent procedure of each uniEdit i receive.

I'm trying to avoid doing it locally on each form.

 

Thank you!

i appreciate your help!

 

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...