Despite the fact that this code would probably break at some point in a
future os , I just want to try. I will take a table with a scrollbar very
soon.

Can any one help me to remove these symbols? This code isn't work alright.

ListType *mylist;
UInt16 lstmyindex;
int  attrSize;
ListAttrType    listAttr;

mylist = GetObjectPtr(MyList) ; //FrmGetObjectPtr...

 if(mylist)
{
LstSetHeight (mylist,6);
LstSetListChoices(mylist, myname,20); //myname character array of 20
elements
LstSetSelection(mylist,-1);
attrSize = sizeof(listAttr);
MemMove (&listAttr, &(mylist->attr), attrSize);
listAttr.hasScrollBar = 1;
MemMove(&(mylist->attr), &listAttr, attrSize);
}

Thanks in advance,
Jeffy

                                                

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

Reply via email to