Ben,
    Im using Palm OS C/C++ DS, and the Palm OS Resource Editor.  Would I do 
everything the same as in PilRC?

-- 


Scott Erickson
Software Development Team, FB-4, Inc.
[EMAIL PROTECTED]
"Robert Moynihan" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Scott Erickson wrote:
>
>>Bob,
>>    Sorry for not saying it in the first post, it is at compile time.  It 
>> is a list of a few different time frames (1h, 4h, 12h, 1day ect...) and 
>> the user will select the one they want, and then i will set an alarm to 
>> have the app run an update using the given time frame.  The time frames 
>> are set, they cant make their own.  The list is known at compile time. 
>> Does this make it easier to deal with the popup trigger?
>>
>>
> Well, using PilRC you could just define a list in the rcp file like this:
>
> Define a popup trigger, define a list, and associate the 2 together.
>
>    POPUPTRIGGER ""         ID triggerID_days AT (5 20 80 10) LEFTANCHOR 
> font 0
>    LIST
>        "1" "2" "3" "4" "5" "6" "7" "8" "9" "10"
>        "11" "12" "13" "14" "15" "16" "17" "18" "19" "20"
>        "21" "22" "23" "24" "25" "26" "27" "28" "29" "30" "31"
>                    ID listID_days AT ( prevleft prevtop prevwidth 
> prevheight) VISIBLEITEMS 14 NONUSABLE FONT 0
>    POPUPLIST             ID triggerID_days listID_days
>
> This would create a list for dates in a month, and the list would be 
> handled entirely by the OS, so you could open the list, make a selection, 
> and refer to the selection programatically using a LstGetSelection() 
> command.
>
> Like I said before, really simple in PilRC/GCC, and it must be equally 
> simple in CW once you know how.
>
> Bob.
> 



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

Reply via email to