[Done] Panel control default behavior
Posted: Tue Apr 22, 2014 8:35 pm
The Panel control default behaviour is not the usual. If a panel is firstly put on a form, after creating additional tabs with the pop up menu, when a new control is dragged over it, it defaults to the Windows_0 as the parent control. not to the active tab panel in the designer.
This attribute can be changed for every new control dragged, clicking the button "parent" and selecting Panel_x, Tab y (as parent panel and parent tab), but after doing so, the control goes up to the upper left corner of the panel. Therefore any control must be reallocated to the desired position then.
When doing such type of interfaces, a known example can be MS security essentials, the majority of the added controls are linked to the respective tab, not the form. Because the spirit of the tabbed interface is to group controls by category separately.
Also, even after linking a control to the panel, when the tabs are selected switching between them, an image of the control remains seen as if it is yet bond to the form as parent.
The suggestion is to change the default behaviour, and associate the dragged control to the active tab panel (at least always there is one active) as the parent control, when the new control area is inside the panel area when the button is released and the control located.
This can avoid a lot of extra work doing this interfaces.
This attribute can be changed for every new control dragged, clicking the button "parent" and selecting Panel_x, Tab y (as parent panel and parent tab), but after doing so, the control goes up to the upper left corner of the panel. Therefore any control must be reallocated to the desired position then.
When doing such type of interfaces, a known example can be MS security essentials, the majority of the added controls are linked to the respective tab, not the form. Because the spirit of the tabbed interface is to group controls by category separately.
Also, even after linking a control to the panel, when the tabs are selected switching between them, an image of the control remains seen as if it is yet bond to the form as parent.
The suggestion is to change the default behaviour, and associate the dragged control to the active tab panel (at least always there is one active) as the parent control, when the new control area is inside the panel area when the button is released and the control located.
This can avoid a lot of extra work doing this interfaces.