Button doesn't show BGColor or FGColor.

Beeb

Member
Hi,

I'm making as sort of calendar to make a planning.
In attach you can see a screenshot.
I want, that when too many people are on holiday on a certain day that day will be red.
I tried to set the BGColor of the button (a day is represented by a button) but it doesn't work.
I also tried to set a the BGcolor by defining it manually in de properties.
I still don't see any color.
With other widgets, like a fill-in, everything is allright.

Does anyone have a clue what the problem is?
Version using: 9.1D

Thanks,

Elise
 

Attachments

  • kalender.jpg
    kalender.jpg
    17.3 KB · Views: 25
Assuming windows, button colour changes are not reflected although they can be changed in the Appbuilder.

Some Alternatives:
  • Use images (but would require at least an image for each Red number, as you can't mix text and images on buttons)
  • Disable the button instead of colouring it Red.
  • Use an ocx for your planner/calendar (no point in reinventing the wheel - Progress is not a strong GUI language).
  • Use a button ocx which allows text, images and colour setting instead of Progress buttons.
  • Use some other widget combination, eg. rectangle.
IMHO the 3rd option (Planner ocx) is best.
 

Beeb

Member
thanks for the reply.
i'll just make an transparant image for now..
this thing i'm making is to specific to use a standard tool but maybe i'll start using a java interface after i figured out how that works along with progress.
 

joey.jeremiah

ProgressTalk Moderator
Staff member
Yes, using an OCX would be more cost effective and much bettter looking.

Codejock is fairly popular with OpenEdge users.

http://www.codejock.com/


PSDN.COM published a webcast and a sample application on improving the OpenEdge GUI.

http://tinyurl.com/29z62b

You can also find some references and code snippets @PEG.COM.

Looking ahead the plans are for Progress to start supporting .NET interfaces natively, close to the end of the year, probably, 10.2.
 
Top