Question,  I have a form with 6 labels on it, each label represents a number
( as noted in the following code)

static SWord    hundredthou_Num = 0;
Char            mileNum[1];
// user clicks a button ...
if ( hundredthou_Num < 9 )
{
        hundredthou_Num ++;
        StrPrintF ( mileNum, "%d", hundredthou_Num );
        FrmCopyLabel ( frm, StartMilesHundredThouLabel, mileNum );
        handled = true;
        FrmHandleEvent( FrmGetActiveForm(), eventP );
}

I want to take the numbers from the labels and copy/set or whatever to a
select trigger.  I'm assuming that I'll have to convert somewhere and maybe
StrCat (or something), but I don't know.  If someone could help me out with
a code sample I would appreciate it.

Basically I'm allowing the user to enter mileage in a popupform and then I
want to display that mileage on the select trigger that called the form.

Best regards,
Kevin Mckee

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to