![]() You want an array of container controls, make one - which would be a real array.Īdd a property to the window M圜C() As M圜ontainerControlĪdd an instance to both the window and M圜C and now you can use M圜C just like you would anything else. Maybe instead of making these statements you should ask for clarification. Xojo makes native, compiled desktop apps for macOS. A container control in many ways, shapes and forms remove the need for using control arrays which aren’t arrays to begin with. Xojo: a RAD IDE that uses an object-oriented programming language to create desktop, web and iOS apps. Thanks for your opinion but it makes total sense. What has a container got to do with control arrays? Nothing… If they are in a control array this is easier than referring to each one individually.Ī container control does not in any way shape or form remove the need for using control arrays. I may want 10 instances of my custom control on one window and want to change the backcolor of each one at the same time. Say I use a container control to make a custom control which has a property backcolor. Worst thing… is I seem to be stuck with Xojo … since if I try to load this project back with RS2012… all I get is a blank screen there… Realize that Xojo incremented the INDEX by TWO, not by one.Breathe a sigh of relief when INSPECTOR comes back … and new control is there.click on the control in NAVIGATOR (click on the control in the window does no good).Xojo Programming - Custom Controls for Desktop Projects Watch on Subclassing built-in controls You can create your own custom controls by subclassing any of the built-in controls. ![]()
0 Comments
Leave a Reply. |