[net.micro.atari16] Editable Fields in Windows

wkk@houxj.UUCP (W.KAPLOW) (09/23/86)

I am working on a database system for my 1040ST, and I have a question
about how to have TEDINFO fields inside a window.  It is clear that
they can be placed in Dialog boxes, but how does one get that to appear
in a window. 

The only way I can currently think of is to create a window with the
hight and width of a dialog box containing the Object tree, and
placing the Dialog box directly inside the window.  Well, I would at least
have the window contain the dialog box completely.  Is this the way to do
this?.  Would the window created then not be able to move?.

Thanks for any help or hints you can give me.


Wesley K. Kaplow
AT&T-IS
HO2L-325
Holmdel, NJ 07733

AT&T: (201)949-0065

USENET: houxj!wkk

ARPANET: wesley@NYU-ALAYA.ARPA

ACS19@UHUPVM1.BITNET (Mike Vederman) (09/24/86)

The way you want to do this is correct.  Although it is not easy, you can
change the x and y coordinates of the parent object (usually a g-box, probably
in this case an invisible box with no border) which would change the relative
position of the children on the screen, though they would be positioned the
same relative to the parent.

If you can, look at Tim Oren's tutorials on GEM, and the DRI Doodle program,
both of these will give you an idea of how to manipulate the x and y coords
of an object.  The particular algorithm you use, however, must come from your
own power.

Mike