On Nov 28, 2006, at 3:02 PM, John Wilder wrote:

Michael wrote:

"If I wish to show identical controls ( eg list box, or push buttons)
on two tabs of the same panel (eg, a list box that shows differerent
lists), do I need to have a listbox in each Tab or is there a way of
referring each tab to , for example, a list box, OR, (finally) put in
controls in each tab and derive it from a common class?"

Jack wrote:

   "A tab panel is a single container which can be
   viewed in segments. As with a window, if you need two listboxes you
must drag two listboxes or subclasses of listbox onto the tab panel."


Seems to be some confusion here. If you need two listboxes on the same panel of a TabPanel then you need two listboxes, as Jack says. However, if you need one listbox on each of two individual panels (which is what I understood Michael's initial post to mean) then you only need one listbox,

Yes, you are correct. I misunderstood Michael's objectives.

moving it to whichever individual panel you want by setting its panelIndex appropriately, and, if necessary, controlling its functionality by using its panelIndex as a flag.

I think it would be necessary, since he indicates that the content of the listbox is different on each panel.


Best,

Jack



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to