🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #18477

Changing the justification of editable text items in a dialog box

#18477
From: benjamin waldman
Date: Tue, 25 Aug 1987 14:45
19 lines
1373 bytes
I'm confused about a problem I've been having, and I hope someone out there
will be able to help.

I have 2 editable text items in a dialog box, and I want both of them to
be centered.  Since all edit text items share the same TextEdit record, I
just did a TESetJust(teJustCenter, dialog_record.textH) before the dialog
was drawn (it was initially invisible), and then displayed the window.
Well, the first item is centered, but the second isn't.  Moreover, when
editting them, they both behave like the text is centered, in that
when I click in the box, or drag, editting goes on as if the text were
centered.

Am I doing something wrong, or do I have to settle for left justification?

					Thanks in advance,
					Ben Waldman
					waldman@husc4.harvard.edu
					...seismo!harvard!husc4!waldman
Technical Details
Message-ID: <2757@husc6.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!husc4!waldman

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!husc4!waldman
From: waldman@husc4.HARVARD.EDU (benjamin waldman)
Newsgroups: comp.sys.mac
Subject: Changing the justification of editable text items in a dialog box
Message-ID: <2757@husc6.UUCP>
Date: Tue, 25-Aug-87 10:45:57 EDT
Article-I.D.: husc6.2757
Posted: Tue Aug 25 10:45:57 1987
Date-Received: Wed, 26-Aug-87 06:32:48 EDT
Sender: news@husc6.UUCP
Reply-To: waldman@husc4.UUCP (benjamin waldman)
Organization: Harvard Univ. Science Center
Lines: 19