Using colors in GUI

All graphical and user interfaces problems
Post Reply
rene
Posts: 5
Joined: Wed Nov 26, 2014 10:51 am

Using colors in GUI

Post by rene »

When building an interactor, the option for changing font colors is there in the properties inspector. But it doesn't work!.
Why so?

regards: René Dorta.
Josef Templ
Posts: 262
Joined: Tue Sep 17, 2013 6:50 am

Re: Using colors in GUI

Post by Josef Templ »

Controls don't have a color property, but texts do have it.
The same dialog seems to be used for both cases.
User avatar
Ivan Denisov
Posts: 362
Joined: Tue Sep 17, 2013 12:21 am
Location: Krasnoyarsk, Russia

Re: Using colors in GUI

Post by Ivan Denisov »

rene wrote:Why so?
Standard set of BlackBox controls leading settings of OS colors theme.
However if you need some "extra" button it is not big deal do design your own.
Please, take a look the ObxButtons example.
ObxButton is sensible to Font Color settings.
You can install it to the Dialog interface from menu Obx -> Insert button.
manumart1
Posts: 67
Joined: Tue Sep 17, 2013 6:25 am

Re: Using colors in GUI

Post by manumart1 »

I also missed the possibility of change the button's color.
As I did not know how, I decided to use the buttons offered by the subsystem Ctls.

To insert a button, menu "Ctls > Insert Bitmap Button".
Then select the new button and menu "Ctls > Bitmap Properties..."

You need three different images for the button; see attached images as an example of a Save button.
Save_button_icons.zip
(1.94 KiB) Downloaded 493 times
Regards
User avatar
Robert
Posts: 177
Joined: Sat Sep 28, 2013 11:04 am
Location: Edinburgh, Scotland

Re: Using colors in GUI

Post by Robert »

rene wrote:When building an interactor, the option for changing font colors is there in the properties inspector. But it doesn't work!.
There seem to be a few problems (bugs ?) with the Fonts of Controls on Forms - for example a Caption Control.
With the Control property editor I can't change the size or style for the BlackBox default typeface, and I can't change the typeface from, say, Arial back to default.
User avatar
Ivan Denisov
Posts: 362
Joined: Tue Sep 17, 2013 12:21 am
Location: Krasnoyarsk, Russia

Re: Using colors in GUI

Post by Ivan Denisov »

Attributes -> Default font works strange. It sets Tahoma font, but not default.
Post Reply