Hi Ricardo, i am not sure what you mean when speaking of characteristics,
but you can set the resources attributes in the .prc file. e.g:

FIELD  ID ID_LOGIN_LOGINFIELD      AT (60 20 90 12) USABLE EDITABLE
UNDERLINED FONT 0 MAXCHARS 255

defines the field as usable, editable, underlined, a maximum length of 255
characters and the standard font (unbelievable! =)

The runtine behaviour can be implemented in the .c file in the eventloop or
the startup of course, you can access the items by gett the current form:

 curForm = FrmGetActiveForm ();
 field = FrmGetObjectPtr (curForm, FrmGetObjectIndex
       (curForm, ID_LOGIN_LOGINFIELD));

So field is a pointer to your login field. Hope i could help you, good luck,

Regards, Jan Pfluger



"Ricardo Marques" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Hi.
> I'm developing a BT aplication based on the source code, available at
> Palmsource, of BtL2CAP from Peter Easton. In it he uses fields and lists
in
> which information about the app status and devices available. I was hoping
> to use some of its features, however I'm working without an IDE (I'm using
> Cygwin,PRC-tools and PiLRC). Every form and alert tha my app has I've
> defined in a file resources.rcp. What I'm asking is how do I define in
that
> file the characteristcs of the fields and lists. I've ran through
> UIGuidelines.pdf and other files at PalmOS but every aspect of the UI is
> explained through Codewarrior, which creates that automatically (I
suppose).
> Any help would be appreciated.
> Thx for the attention
>
>
>
>



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

Reply via email to