Font and Color Not Working

Bill_Feeney

Active Member
Hi All,

Hopefully someone can help me with this simple(??) problem. I have a Fix/Inspect form with a Group Box used to display 'OK' and 'Cancel' push buttons. I have assigned Green to 'Ok' and Red 'Cancel'. Also assigned font sizes.
While in FDA the colors show, but when I run the app everything is in standard font and black and grey.
I've checked my reference manuals and other apps and it looks like I'm doing everything I should, but its not behaving properly.
Any suggestions on what I'm missing?

Thanks,

Bill

B7332 SP 13.1 Sun Unix Oracle 8.1.6
 
Bill,

in B733.1 (and I assume in B733.2 also) to make your color changes "stick" you had to assign them in E.R.

I haven't tried the properties method under XE yet.

Regards,

Larry Jones
[email protected]
OneWorld B733.1, SP 11.3
HPUX 11, Oracle SE 8.1.6
SandBox: OneWorld XE SP15
 
Hi Bill,

Changing Font and Color on the Control Properties sheets never worked for me (B7321, B7331, B7332, XE). Maybe it requires some jde.ini settings but I haven't been able to guess it (maybe somebody knows, if exists any at all).

You can change Font and Color via System Function calls in ER only for the data contents in an Edit Control or in a Grid Cell(Row/Column/Grid).

Do not be too sorry, I have two cents for you :) in your special situation (if you do not want to put logic into the Post Button Click event, just only into the Button Clicked).

1.) Put Bitmaps for you OK and Cancel onto the Form ("Insert" menu, "Bitmap" selection in FDA. You can find a lot of BMPs in your "b7\DEVB733\res" subfolder, including "OK.bmp" and "Cancel.bmp" too. You can create your own BMPs or your modified versions.
2.) You can re-size BMPs on your form.
3.) Set the "Clickable" properties of the BMPs.
4.) Place your logic into the "Button Clicked" event of the BMPs. (they have only this one event, they haven't "Post Button Clicked" event.

Hope, it is applicable for you. Please, let us know.

Regards,
Zoltán


B7332 SP11, ESU 4116422, Intel NT4, SQL 7 SP1
(working with B7321, B7331, XE too)
 
Just an additional question to the Forum/List:
To take affect changing Font and Color on the Control Properties sheets in FDA could be SP level dependent?

Does it works for anybody? If yes, on which SP level and/or release level?

Zoltán


B7332 SP11, ESU 4116422, Intel NT4, SQL 7 SP1
(working with B7321, B7331, XE too)
 
Zoltan,
It may be service pack related as I was looking at another custom app that was developed under an earlier service pack than we're on now(not sure when but for sure B7332). This app's push buttons hold their color and font. And I checked after your first reply to see it they were bit mapped (relying on the ER rule you referred to) and they are normal push buttons.

B7332 SP 13.1 Sun Unix Oracle 8.1.6
 
Hi Bill,
Thanks for your update.
Could you use clickable bitmaps as buttons instead of real push-buttons in your appliaction?

Zoltán

B7332 SP11, ESU 4116422, Intel NT4, SQL 7 SP1
(working with B7321, B7331, XE too)
 
Back
Top