i had an interesting method to change the label to what i wanted. i had in
the list 3 items displayed but when they selected it i didn't want all three
displayed so what i did was i assigned the get event time a variable.
normally its like 500 or something? but i changed it when they do a
selection to 5 and then did a quick update and in that update i reset the
get event time back to 500 or something. this is because the event to
change the label isn't right away and would've been a little more difficult.
unless there is a more simpler way,...... i'm listening =)
-----Original Message-----
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, November 10, 1999 12:40 AM
Subject: How best to initialize popup trigger
>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?
>
>Thanks in advance to any responses,
>-Pete
>