That was it thanks for helping the N00b . :-D
"Preston James" <[EMAIL PROTECTED]> wrote in message
news:98366@palm-dev-forum...
>
> Im trying to check to see if a selection is made from a list however even
if
> one is not selected it still returns a index of 0... from examples it
seems
> it should return noListSelection. Whats the deal???
>
> FormPtr form;
>
> ListType * lstCircuitVoltagePtr;
>
> form = FrmGetActiveForm();
>
> lstWireTypePtr = FrmGetObjectPtr(form, FrmGetObjectIndex(form,
> lstWireType));
>
> Int16 lstWireTypeSelection = LstGetSelection(lstWireTypePtr);
>
> Char * lstWireTypeText = LstGetSelectionText(lstWireTypePtr
> ,lstWireTypeSelection);
>
> if(lstWireTypeSelection != noListSelection){
>
> //Rest Of Function
>
> }
>
>
>
>



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

Reply via email to