At 14:37 -0800 11/6/06, Yrs truly wrote:
I want to have a control (in this case a listbox) appear on every panel of a tabpanel.

My strategy was to put the listbox on the first panel and then, in the tabpanel.change event, set the listbox.PanelIndex property to the current tabpanel.value.

This sort of works - i.e. selecting another tab makes the listbox appear on that tab. However, the app immediately goes into SPOD mode (spinning pizza of death) and has to be force quitted.

Dunno whether this is a bug, or incorrect usage.

Any suggestions for a fix or alternate strategy?

Upon further investigation, it would seem this happens only if the current listbox column widths make the contents wider than the listbox itself. The workaround is temporarily to set ColumnWidths to "" before changing PanelIndex, and resetting ColumnWidths afterwards.

A bug, but I'd rather have the RS guys work on fixing more important stuff, so that I can move from V5.5.5. Hence I'll report it later.

Paul Rodman
_______________________________________________
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