Added a static code module to hold the global variables that store the images, so the are only loaded once and shared by all checkboxes.
Added enabled status, which uses the imageviews Alpha setting to display the disabled state. Get and Setters are not working properly yet for all occurrences in a class, Erel is aware and it will be fixed, so for now, the Enabled Subs are SetEnabled and GetEnabled.
Nice, the other thing I thought about was passing a panel to the module on which to build the checkbox, that way you could position the panel in the designer, pass it to the checkbox sub and build the checkbox on the panel which would already be in the right position.
Nice, the other thing I thought about was passing a panel to the module on which to build the checkbox, that way you could position the panel in the designer, pass it to the checkbox sub and build the checkbox on the panel which would already be in the right position.
The object returned from Panel1.GetView(0) is a panel, not a clsCheckbox instance, you can store the class instance in the panels tag and access it that way.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.