Re: Does the IDE support having controls on >1 layers
- Posted by Andrew Katz <Akatz712 at gmail.com> Mar 18, 2007
- 527 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 I apologize for my confusion about layers. I actually should have been using tabs correctly. When I switch from one tab to another, it shows the controls which are on that tab. This is what I though layers was going to do for me. I know that tabs is a windows thing and layers is just in the IDE. I am still not sure if I can make my tabs of different sizes, so that some controls can be on 2 of my tabs and not the third. I will let you know when I get to this issue. However, I still have a huge problem with the IDE. The parent of a control in the IDE acts in a very quirky way. I cannot assign the parent I want until I move the controls just right. Many times I have had to start over and move the controls back into groups one at a time. I would suggest that the IDE does not try to guess what parent each control should have, but the parent drop down should include all of the controls. Andy Katz