Menu

What happened with THMIButton?

Help
2015-05-12
2015-05-13
  • michael hompus

    michael hompus - 2015-05-12

    I see there is a HMIButton class, but somehow it is not installed in the IDE. Other components (like HMILabel, CheckBox, RadioGroup) are correctly installed and visible in the IDE. Bug or Feature?

     
  • Fabio Luis Girardi

    I started it, but I not finished it.

     
  • Fabio Luis Girardi

    And since I started study actions and property links, I think that I will not finish it...

    Actions allow me to reuse it (the action) in any LCL control (menu, bitbtn, buttons, popup menu) while a simple button is a big effort for a single kind of button. The effort to create a action (eg. toggle bit) demands few lines of code to implement it. Other benefit centralize the security on a single action that can be shared with multiple controls.

    Do you will say: but I need change the color of my control. Well, this part is done with property links. Today we have two property links, one for boolean properties another for color properties. Is missing property links for Integer and float properties, but it isn't hard to implement. The unique thing that is missing to do that is time. :(

     

    Last edit: Fabio Luis Girardi 2015-05-12
  • michael hompus

    michael hompus - 2015-05-13

    OK, I get it. It not implemented yet.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.