Is there a method for getting the length/size of a controlset? (how many controls are in the set)
I want to create/add controls to my controlset during runtime but the example code doesn’t seem to work?
Var b As CardController // this is the control class
b = New CardControllerTemplate // create clone of the control on the layout // name of controlset
b.Left = MouseX-10
b.top= MouseY-30
b.Visible= True
Here is my project tree, I am new to xojo so if this is not how a custom control is made I am just trying to follow the documentation. Hope this explains how I made things so far, thanks for your time.
It looks like those are container controls. They are not compatible with control sets (ie., cannot be part of a control set). They are a good choice for creating a custom control, but unlike a control in a control set, it’s not enough to make it visible; you must embed it in the window.