home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!vnet.ibm.com
- From: Pauley@vnet.ibm.com (Paul Benson)
- Message-ID: <19921222.062531.971@almaden.ibm.com>
- Date: Tue, 22 Dec 92 09:17:25 EST
- Newsgroups: comp.sys.apple2
- Subject: Re: Need help with LineEdit Control flags
- Organization: IBM Personal Computer Co. - PS/1 Development
- Disclaimer: This posting represents my views, not necessarily IBM's.
- News-Software: UReply 3.0
- References: <123400005@hpindda.cup.hp.com>
- <123400006@hpindda.cup.hp.com>
- Lines: 18
-
- In <123400006@hpindda.cup.hp.com> David Tribby writes:
- > I'm trying to do things very much like a control in SynthLab...an
- >"increment" and "decrement" icon button with the numeric result shown
- >in a 3-character LE Text field. I use a Line Edit control rather than
- >static text because (1) there's an easy way for the program to change
- >the value of the control and (2) the enclosing rectangle look cool :-).
-
- Hmmm, I know what you mean by the ease of changing LEcontrols. I
- was recently trying to change a static text control on the fly. The
- string would appear, but sometimes would be preceded by a garbage
- byte (like it was printing the length byte). Looking through GSBug
- the pointers & the strings were fine. I ended up using DrawString
- with the penmode set to XOR. I guess you could do something similar
- (i.e. draw the rect and then the value, taking care of hiliting, etc.),
- but then you may as well use a LEControl ;).
-
- Pauley
- GEnie: P.Benson1
-