Russ,

You are correct. By loading the property Heading(-1), the ListBox headings were changed properly.
Now I need to change popup menus on the fly. Thanks for the help.

TJH


On Jan 30, 2006, at 8:22 AM, Russ Jones wrote:

My feeling is that you should be investigating the listbox.heading property. And be careful about using both initialvalue and heading together. You still might not get what you want. See the LR: "If you assign values to both Heading and InitialValue, the first row of InitialValue is interpreted as the first row of data; otherwise, it is used as the heading and the second row of InitialValue is used as the first row of data."

Russ

On Jan 30, 2006, at 11:02 AM, TJ Hanson wrote:

Good morning,

I am loading the 5 column headings for a ListBox when my application launches, with the following statement:

TCIMain.CruiseList.InitialValue = "Cruise Name" + chr(9) + App.Level1 + chr(9) + App.Level2 + chr(9) + App.Level3 + chr(9) + App.Level4

A MsgBox check reveals that the InitialValue is being loaded prior to the TCIMain window displaying the CruiseList control.

However, the ListBox headings are getting loaded with the value stored in the Property pane, rather than the values that I want. If I delete these property values, then the headings displayed are 0 1 2 etc.

Seems like I should be able to load these headings. I need this feature because in my application, the user gets to define the heading.

Any ideas why I am not able to load headings at launch time?

Thanks,   TJH
_______________________________________________
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>

_______________________________________________
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