Larry, In any event(until it is enabled on the combobox) , the SELECTION property works in Conjunction with the ITEMINDEX property. To set the Selection, you first have to specify the ITEMINDEX, so If you had just added an Item, the ITEMINDEX would be (LISTCOUNT - 1), so your code would look like:
GETPROPERTY <ComponentID> LISTCOUNT 'vCount' -- get the count set var vIndex Text = (ctxt(((int(.vCount))-1))) -- decrement the count by 1 *( the following TWO lines are always needed to perform a "FETCH", if you will, on a List/Combo Box) PROPERTY <ComponentID> ITEMINDEX .vIndex -- sets the focus to the ItemAtIndexNumber GETPROPERTY <ComponentID> SELECTION 'vItem' -- gets the value of the ItemAtIndexNumber HTH ----- Original Message ----- From: "Lawrence Lustig" <[EMAIL PROTECTED]> To: "RBG7-L Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, July 29, 2004 2:02 PM Subject: [RBG7-L] - Re: PROPERTY SELECTION > > The SELECTION property is for DB/Variable > > User-Defined "ListBox" ONLY. > > Well, there's my problem right there! > > I'll put in an enhancement request to extend it to the > combo box. > -- > Larry >
