Ben Combee a �crit :
> At 09:08 AM 10/29/2003, Luc Le Blanc wrote: > >I edit my resources with Constructor 1.9.1, but to re-arrange several > >invisble (programmatically shown/hidden) controls in a complex form, it > >would be much easier to edit a text description of the form and export > >it back into the Constructor .rsrc file. Can this be done? I run CW 8.3. > > Sounds like you need to DeRez and ReRez your form. > > See http://www.palmoswerks.com/2002/01/10 for something I wrote on this > topic almost two years ago.
But the output I get for a form goes like this:
resource 'tFRM' (1900, "Session") { 2, 2, 156, 156, usable, modal, saveBehind, 1900, 1003, 1800, 1901, { /* array ObjectArray: 111 elements */ /* [1] */ 1900, "tTTL", /* [2] */ 1901, "tBTN", /* [3] */
With no XY positions, control identifiers or labels, this is not very helpful. By re-arranging the form, I meant to change the layout of objects in the form (especially their XY position).
Those values are in the individual tTTL, tBTN, etc. resources. In Constructor, a form is just a pointer to a bunch of individual control resources, so you have to adjust those individually. These don't get reassembled into the on-device tFRM with everything being in one blob until they are passed through PalmRez.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
