Hi all,
I'm a C++ programmer and have learned to use and enjoy (the bang head on wall too many times way) OOP design principles. I would like to utilize the same ideas with the LVOOP architecture. One of the things I would like to do is create a class that inherits all the properties of the boolean control and add extra functionality. For example in C++ I would create two methods in my new CBooleanAlarm class called <void SetAlarm(bool bAlarm)> and <bool GetAlarm()>. When the application calls SetAlarm with true it would set the boolean red and blink. If SetAlarm was called with false, it would set the boolean green and turn off blinking. When the application calls GetAlarm it would return the current state of the control. I would like to be able to add additional functionality like this to other controls as well so a general approach would be appreciated.
What is the best way to approach this in LVOOP?
Thanks for your help.