Hi ,
Thanks for the info .... can some one just see whats wrong with the code
below ... i m simply trying to create a field programatically ....
FontID fntID = FntGetFont();
FormPtr frm = FrmGetActiveForm();
fldPtr = FldNewField((void **)frm, 2000,100, 100, 20,
10,largeBoldFont ,12 , true ,noUnderline ,false , true , centerAlign,
false, false,false);
FldDrawField(fldPtr);
Thanks
Rohit
-----Original Message-----
From: Joe [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 8:32 PM
To: Palm Developer Forum
Subject: Re: Structures
--- Rohit_Shankar <[EMAIL PROTECTED]> wrote:
> Looks we cant access the Structures directly ,
true, if what you mean is that you should not attempt to access the
internal members of OS supplied data structures (such as
ControlAttrType, FieldType, etc.).
> does it means we cant generate any resourse
> programatically .... all has to be first done
> thru Constructor .
false.
See FrmNewForm(), LstNewList(), etc.
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/