So are you talking about changing the size of a resource-based form? ie one
built with Constructor. Or dynamically creating a new form? Your question
asks one thing, then your example seems to infer another... to me anyway.
Anyway,
Creating new forms can be done via FrmNewForm() - which allows you to
specify the size of it. You can then populate it with controls via the other
dynamic UI calls - CtlNewControl etc.
Without banging away on the internal structures I don't recall any way to
alter the size of a resource-based form. And banging the internal structures
will break your app moving forward to ARM-based gear...
Gavin.
-----Original Message-----
From: Brian Rhodes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 09, 2001 7:40 AM
To: Palm Developer Forum
Subject: Changing a Form's size and location
Is it possible to change a forms attributes on the fly?
For example, if I'm making my own alert dialog and I want it to be just
larger than the text and button (like the real custom alert dialog).
-- Brian
Brian Rhodes
Sr. Software Engineer
Lynx System Developers, Inc.
175-N New Boston Street
Woburn, MA 01801
(781)935-6959
(781)938-0580 fax
www.finishlynx.com
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/