Actually, this may be the more proper way to do it. You may set the list
item text in codewarrior constructor.
case popSelectEvent:
{
switch (event->data.popSelect.controlID)
{
case fTableEditPstringPopTrigger:
LstSetTopItem(IDtoObject(fTableEditLstringnumList),0);
LstSetSelection(IDtoObject(fTableEditLstringnumList),0);
g_currentUNum = event->data.popSelect.selection;;
// Load the selected utility string of the selected table
DisplayString(g_currentUNum);
break;
handled = true;
}
}
break;
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alfonso
Urdaneta
Sent: Tuesday, January 09, 2001 2:11 PM
To: Palm Developer Forum
Subject: popup trigger in resource file
Does anyone out there have a working example of how to handle a popup
trigger and it's associated list in the resource file and in the c ?
Thanks,
Alfonso.
--
---------------------------------o0o---------------------------------
Alfonso Urdaneta [EMAIL PROTECTED]
Malibu Networks, Inc. www.malibunetworks.com
1035 Suncast Lane Vox: 916.941.8772
Suite 130 Fax: 916.941.8850
El Dorado Hills, CA 95762
"Time flies like the wind, but fruit flies like bananas"
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/