OK - Well I must have stumped everyone by asking how to change control
Z-Order (creation order) in Constructor. I have discovered one way to do
it - manually re-number all of the control ID's on a form. Say you have
umpteen controls on a form and now want to add a bitmap background. You have
to manually increment all of the existing control IDs so you can make the
bitmap first on the list. It's tedious and error-prone, but seems to work.

I discovered the hard way to be very careful doing this, though. You can
edit the ID's in the hierarchy view, which is more convenient, but many of
the controls I did this way also had their names reset to "Unnamed nnnn"
(and some survived intact .. not sure why). This of course changed the
define names in the resource header file, which broke my code and required
me to go back into Constructor and restore the names as appropriate. The
other hazard is any inter-control references, such as pop-triggers and their
lists. Make sure the ID's still mesh.

Fortunately, re-ordering control creation order is an infrequent task, but I
have to wonder if there is an easier way to do it. The hierarchy view teases
with its dragging ability, but it doesn't actually re-order the control IDs.
Too bad there are no "Send to Back" and "Bring to Front" commands on the
Arrange menu.

--
Geoff Shepherd
[EMAIL PROTECTED]


----- Original Message -----
From: Geoff Shepherd <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 05, 1999 11:24 PM
Subject: Changing Z-Order of Controls in Constructor


> Is there no way (or does the PalmOS not care) to change the Z-Order of
> controls in Constructor? I guess I got a little spoiled by the Bring to
> Front/Move to Back menu options while prototyping in Sat. Forms. I thought
> Constructor had this ability as well, but maybe not?
>
> TIA
> --
> Geoff Shepherd
> [EMAIL PROTECTED]
>
>
>
>
>

Reply via email to