Thanks, to Jun and Jason for answering my query. Changing the field
attribute to grayUnderline works great. But it's a pain to do that in every
form. I have a lot of them. It would be nice if I can get the 3.5
constructor and Postrezlinker working with CW 5. So, I tried copying the
PostRezlinker dll and the Pref panel dll to CW directory. But, after
copying, CW simply refuses to open any existing project. It says "Operating
system error 2. Unable to open project. No such file."
Fortunately copying back the old PPalmRez.dll in the "Preference panel"
folder solved the problem. I renamed the old PPalmRez.dll to PPalmRez
old.dll and surprisingly it still works. However if I change the extension
to anything else then "dll", it stops working. Wonder what's going on here?
Is it still taking the old dll, even if it is renamed to something else?
I now loaded the resource files in the 3.5 compiler, saved them and compiled
the app. Voila, now all the solid underlines are gone. Great, now I should
get that color icon! :).
-Sugho-
>From: "Jun-Kiat Lam" <[EMAIL PROTECTED]>
>Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>Subject: Re: Solid underlines in fields, how to remove them?
>Date: Thu, 6 Apr 2000 19:05:14 -0500
>
>Hi Sudipta,
>
>This has been posted here a lot recently (you might want to search the
>archives for a more detailed explanation) but in sum, there was a change in
>the implementation of fields between OS 3.0 and later OSes. The version of
>Constructor in R5 didn't handle this change properly which is why you see
>the underlines in later OSes. This was fixed in the PalmRez Post Linker in
>R6.
>
>The best solution would be to update to R6, but barring that I think
>(someone correct me if I am wrong) it is also possible to set the attribute
>settings in code to workaround this problem. Sorry, I don't know what the
>exact code snippet would be but I think it's been posted in the egroups
>archives. Also, and this has not been tested, I think it is possible to
>download and install the Palm OS 3.5 SDK and plug into your R5
>installation,
>and then use the version of PalmRez in that one to postlink your app, which
>will fix the problem. I would try this out and verify it, but
>unfortunately,
>I don't have immediate access to the resources to do this right away. Give
>me a day or so, and I'll verify it. To plug Palm OS 3.5 SDK into R5,
>install
>R5, install the Palm OS 3.5 SDK, and then install the two R5 patches -
>Patch
>1 and Patch 2 from www.metrowerks.com/download in that order.
>
>Rgds,
>Jun-Kiat Lam
>Metrowerks Technical Support
>
>----- Original Message -----
>From: "Sudipta Ghose" <[EMAIL PROTECTED]>
>To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>Sent: Thursday, April 06, 2000 6:46 PM
>Subject: Solid underlines in fields, how to remove them?
>
>
> > Hi All,
> >
> > In my app the fields have "underline" property set to true, so that the
> > fields have a dotted underline when blank. But, when some characters are
> > entered in the field a solid underline appears with every character.
>This
> > happens only in OS 3.3 or higher. However the built in applications, say
> > Memo pad don't have this behaviour. I am using CodeWarrior release 5
>with
> > both the patches on Windows 98.
> > I couldn't find anything in the constructor to turn this off. I have
>opened
> > the resource files from the 3.5 SDK examples in constructor, but
>couldn't
> > find anything different. May be because they are not generated by the
> > constructor.
> > Any ideas about how to turn this off?
> >
> > -Sugho-
> >
> > P.S.: One interesting fact about the latest constructor, if you change
>the
> > name of the file from "Constructor for Palm OS.exe" to anything else, it
> > crashes. Wonder why!
> > ______________________________________________________
> > Get Your Private, Free Email at http://www.hotmail.com
> >
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
>please see http://www.palm.com/devzone/mailinglists.html
> >
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
>please see http://www.palm.com/devzone/mailinglists.html
>
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html