[EMAIL PROTECTED] wrote:
> Hi all,
> I hope this is a basic question that someone can answer:
>
> I've got a form that contains a popup trigger that is linked to a list. This
> works in the sense that if you click on the popup trigger then the linked
> list is displayed and the item that I selected through a previous call to
> LstSetSelection() is correct. After displaying the list and selecting an
> item, the text for the popup list is updated.
>
> But what is the best way to initialize the popup list with text to begin
> with? By default, it shows whatever text was assigned it from within
> Constructor. Do I have to do it myself with something LstGetSelectionText()
> and CtlSetLabel()? Or is there a better way?
That is what I do. If you are using a static text array, you can pass the
indexed text from the array into CtlSetLabel() instead of using a call to
LstGetSelectionText().
>
>
> Thanks in advance to any responses,
> -Pete