Re: Does the IDE support having controls on >1 layers
- Posted by Dan Moyer <danielmoyer at prodigy.net> Mar 19, 2007
- 522 views
Judith Evans wrote: > > Andrew Katz wrote: > > > > Lets say I have layers A,B,C and I want control X to be on layers A & B and > > not on layer C. > > > > No big deal if it does not have it in the IDE, since from what I can see, > > layers are just sequences of controls, which I can do myself. > > > > The biggest headache so far with layers is that when I add controls, it > > will SOMETIMES assign them to groups in the other layers! This is something > > you should fix! > > > > Andy Katz > > \Andy, let me explain IDE's use of Layering. Layering allows you to indicate > controls that might swap visibility or enability with other controls in > another > layer. An example would be a group control that might contain different radio > controls under program direction. To do this you would place the group in > layer > 0, one set of group child controls in layer 1 and the other in layer 2. Both > sets of child controls are parented by the group control. Control parenting > crosses layers for this reason but might assign parenting when you don't > intend > for it to happen; you may change the parent of any control on any layer using > the Properties call 'Parent'. Select one of the dropdowns. What case do you > have that a control should be in more than one layer? > > Dan Moyer requested control layering and perhaps he will chime in with more > information from the user's standpoint. Dan? > > judith evans Judith, Ok, did so on Andy's next post in thread. Andy, I just thought of another possible work-around for your problem: make the tabs bigger than you really want, just for getting your controls far enough apart to be parented as you wish, then invoke one "resize/relocate" routine on window open. If you put every control separated by some specific distance, your relocate routine should be pretty simple, I think, & it can resize your tab(s) at the same time. And Judith, I think your IDE is wonderful, glad to see you're still working on making it even better! :) Dan