All you folks have been complaining that Constructor is the culprit.
But I can assure you its not.
In all probabilty its the PalmRez Post Linker on Windows thats causing the
problem.
Have any of you had this occur developing on a Mac ?
--vivek
Scott Johnson <[EMAIL PROTECTED]> on 03/31/99 09:05:23 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc: (Vivek Magotra/HQ/3Com)
Subject: Re: AW: Problems with fields and attribute 'underline' on Palm
IIIx
Jochen Hammer wrote:
> all characters are underlined by a 'full' line
> (which 'overwrites' the dotted line).
>
> So I put a
>
> attr.underlined = 1;
>
> in my Edit_ViewInit() function and the problem disappeared.
Let me suggest an improvement to get rid of that "magic" number:
attr.underlined = grayUnderline; // <WindowNew.h>
This is an easy fix to implement but becomes a pain if your app has,
say, 30 or more forms, many with multiple fields on them. I implemented
a global fix by trapping the frmOpen event in my event loop and fixing
all fields in the form before dispatching to the normal event handlers.
This keeps all the code in one place so it can be yanked out of the
program within 5 minutes after Metrowerks releases fixed tools.
> I reported this bug (and the solution) to [a publisher].
> They will release a version 2.06, which solves this problem in their
> application, in a few days.
We'll probably see more of this, since this problem is probably lurking
inside many apps built with CodeWarrior. I originally reported this
whole thing months ago when the first preliminary EZ ROM was released,
but nothing came of it.
-slj-