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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
I started it, but I not finished it.
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
OK, I get it. It not implemented yet.