>> Why don't I get -1 ?

I'm not sure... is your list set to "usable" in the constructor?  In
that case, it may default to the first entry.

>>How can I test if the user already made a choice from the pop-up list
or not ?

LstPopupList() will return a -1 if nothing was selected.

>>How can I display an item associated to a pop-up trigger when
launching the application ?

In your event handler -- frmOpenEvent -- use CtlSetLabel() to set the
text in the popup trigger.  You can retrieve the text using
LstGetSelectionText() if you know what the index is.


Michael Yam
Y Technology, Inc.
[EMAIL PROTECTED]
http://www.ytechnology.com






Reply via email to