Jump to content

AuxValue for any control...


Recommended Posts

16 hours ago, Israel Portillo said:

Is there a way to attach any value to a runtime created control to be used in any convenient purpose?

 

12 hours ago, Israel Portillo said:

How to attach a beforeInit in a runtime created panel too...

Hello,

Can you please explain in more details?

Link to post
Share on other sites

Yes, of course...

I will be creating into a container, panels and buttons in runtime, Then every button/panel will need to respond to own events, Is there a way to attach a value (or Indicative) to any runtime created control to differentiate one from other ?

The second point is how to attach too a ClienteEvents->UniEvents->beforeevent to a runtime created panel or button.... 

Thanks.

Link to post
Share on other sites
8 hours ago, Israel Portillo said:

The second point is how to attach too a ClienteEvents->UniEvents->beforeevent to a runtime created panel or button.... 

Thanks.

Maybe on beforeShow event :

For each component in yourForm Do

Begin

  if component.Tab = 3 then

  begin

  Component.ClienteEvents.UniEvents.beforeevent:=.....

  end 

end;

Link to post
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...