Ok... I have quickly put up a listbox demo form with code to manipulate the
items in every way I can think of for now.  The code isn't commented yet, but
by trying it, you will see the functionality and the code there will help you
for now.

The data to fill the listbox is based on the Company table in ConComp, so you
will have to put the form in one of your ConComp dbs.

www.byerley.net/listboxdemo.zip


----- Original Message ----- 
From: "Charles Parks" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, December 01, 2004 12:27 PM
Subject: [RBG7-L] - ListBox Properties


How do I select the text at a certain index in a ListBox

I am using these commands:
PROPERTY <ComponentID> CHECKINDEX .vchk
GETPROPERTY <ComponentID> SELECTEDSTATE 'vsel'
GETPROPERTY <ComponentID> SELECTION 'vitem'

The SelectedState comes back with the correct value but Selection comes
up with the item that I last clicked on.

Reply via email to