Checkbox FONTCOLOR

Discuss anything else that does not suite other forums.

Moderator: Rathinagiri

Post Reply
User avatar
AUGE_OHR
Posts: 2093
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Checkbox FONTCOLOR

Post by AUGE_OHR »

hi,

i seems me that FONTCOLOR only work on Frame but not on FONT :?:
have fun
Jimmy
User avatar
gfilatov
Posts: 1090
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: Checkbox FONTCOLOR

Post by gfilatov »

AUGE_OHR wrote: Thu Nov 21, 2019 4:43 am hi,

i seems me that FONTCOLOR only work on Frame but not on FONT :?:
Hi,

Did you mean the controls look as at the following picture :?:
sshot.png
sshot.png (13.58 KiB) Viewed 1735 times
Which controls look is your preferable - on a right or on a left side :?:
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
AUGE_OHR
Posts: 2093
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: Checkbox FONTCOLOR

Post by AUGE_OHR »

hi,

hm ... your Font have Color but my Font have not :?:
CheckBox_FontColor.JPG
CheckBox_FontColor.JPG (9.04 KiB) Viewed 1667 times
it must be CYAN (and later BLACK as Background) but it stay BLACK

the Color of Checkbox itself change but not Color Caption :(

Code: Select all

   @ 110,200+50 CHECKBOX CHECK_3 ;
       CAPTION ""           ;
       FIELD POP3->SSL      ;
       FONTCOLOR {76,254,254} ;
       ON ENTER CheckValue()     ;
       ON CHANGE CheckCaption()
and

Code: Select all

PROCEDURE CheckCaption()
IF USED()
   IF Win_Setup.CHECK_3.Value = .F.
      Win_Setup.Check_3.Caption := "disable"
   ELSE
      Win_Setup.Check_3.Caption := "enable"
   ENDIF
ENDIF
RETURN
what do i make wrong, please help.

p.s. is it possible to set different Color :?:
have fun
Jimmy
User avatar
gfilatov
Posts: 1090
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: Checkbox FONTCOLOR

Post by gfilatov »

AUGE_OHR wrote: Fri Nov 22, 2019 5:59 am hm ... your Font have Color but my Font have not :?:
...
p.s. is it possible to set different Color :?:
Hi,

Yes, it is possible with using of the NO THEMED controls in the modern Operating systems.

It will be available at a next MiniguiEx build.

I've added the following description at a current changelog file:
* Enhanced: The CHECKBOX, FRAME and RADIOGROUP controls supports the FontColor
and BackColor properties in the THEMED Operating Systems.
It was a postponed user's request.
Contributed by Grigory Filatov <gfilatov@inbox.ru>
(see demo in folder \samples\Basic\CheckLabel_2)
Hope that useful :idea:
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
Post Reply