--- shailesh k phalle <[EMAIL PROTECTED]> wrote: > > Can Any one tell me How display data into Gadget >
Are you using a plain gadget or an extended gadget? For sample code, see the "recipes" at http://www.palmos.com/dev/support/docs/recipes/ (There is one recipe for each type of gadget.) > One More Question > Whether it is possible to display two member of structure on > one field (Like Below) > if I have structure of Name & Phone > & i want to display both Name & Phone on one field > It is Possible ???? > > E.g------------------------ > struct sample > { > char * Name; > UInt16 Phone; > }; > ----------------------------- Of course this is possible. Convert the UInt16 to a string and then concatenate the two strings and then display the result in the field. I wonder how you are storing a typical phone number in a UInt16. xxx-yyy-zzzz = 10 digits (ignoring the separators). __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
