gettingstarted
[Top] [All Lists]

Re: Listbox Headings and Editing Initial Values

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Listbox Headings and Editing Initial Values
From: Terry Ford <tmford at shaw dot ca>
Date: Fri, 10 Sep 2004 12:39:27 -0700
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <7C256DAA-0295-11D9-B8F8-000393CCF5DC at realsoftware dot com> <F01048D9-0334-11D9-B987-000A95DE6CC0 at math dot boisestate dot edu> <697C01C2-035F-11D9-BD9C-00306549C134 at pcisys dot net>

On 10-Sep-04, at 12:27 PM, Chuck Pelto wrote:

Greetings,

I've been pouring over the Lang Ref, the Users Guide, and the archive of discussion regarding set listbox headings. However I cannot find a simple statement to show me the syntax for setting the heading text in a multi-column listbox.

I've tried a number of different approaches in the Properties window:

This, That, The Other
(This, That, The Other)
This; That; The Other
"This, That, The Other"
"This", "That", "The Other"

Everything shows up in the first columns header.

Would someone please share that information with me?

The LR states

Name: InitialValue

Type: String

Description:

A list of the default items separated by carriage
returns. If the ListBox has more than one column
(ColumnCount > 1), separate column entries with
Tabs within each row. If HasHeading is True, the
first row of InitialValue is assumed to be the column
headings—unless the Heading array is also
specified. This property is unreadable at runtime
because the list is removed from memory once the
control is created.

The columns have tab separations and the rows have carriage returns. (EndOfLine in code) so it would be:

This (Tab) That (Tab) The other (Return Key)

HTH,

Terry Ford


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

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

<Prev in Thread] Current Thread [Next in Thread>