Jump to content

AuxValue for any control...


Israel Portillo

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 comment
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 comment
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 comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...