Search found 102 matches: textcolor

Return to advanced search

Changing the textcolor of RADIOS and CHECKB. at runtime ?

Hello, I wanted to change the textcolor of RADIOS and CHECKBOXES at runtime. It only works on SAY FUNCTION OBJ_UPDATE( oFld2, nTextColor, nBackColor ) // FOLDER AEval( oFld2:aDialogs[ 2 ]:aControls, { |o| IF( o:ClassName == "TSAY", ...
by ukoenig
Thu Jun 15, 2017 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Changing the textcolor of RADIOS and CHECKB. at runtime ?
Replies: 2
Views: 689

Re: New FWH 16.04

The textcolor of the recordselector is working fine now

Image

regards
Uwe :D
by ukoenig
Sat May 21, 2016 10:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 16.04
Replies: 21
Views: 4594

Re: New FWH 16.04

Mr. Rao, maybe possible, to add these few lines to xbrowse because of the missing textcolor ? ( like the background-color, textcolor can be changed at runtime ) http://www.pflegeplus.com/IMAGES/Recsel1.jpg new DATA nRecSelColor,; // Background color ...
by ukoenig
Sat May 14, 2016 2:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 16.04
Replies: 21
Views: 4594

rbbtn question

I will change the backgroundcolor from a SAY-Button of this class. I can use bClrText for textcolor with no problems but the color of background i cannot change at runtime!?
by byte-one
Tue May 03, 2016 8:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: rbbtn question
Replies: 1
Views: 318

Questions to MENU

1. I found, that the 3. parameter (textcolor) from COLORSELECT only accepted, if in the COLORMENU the textcolor is CLR_BLACK! Please try: COLORMENU CLR_RED,CLR_WHITE COLORSELECT CLR_BLACK,CLR_RED,CLR_HGREEN 2. Another question to the parameters ...
by byte-one
Tue Mar 15, 2016 5:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Questions to MENU
Replies: 14
Views: 2967

Re: New FWH 15.02

he working change in BtnBmp METHOD PaintCaption() CLASS TBtnBmp from Mr. Rao, to change the textcolor on button-focus is still missing and I'm getting errors : Change of text color when mouse hovers over the button is working in the revised build. I just checked with ...
by nageswaragunupudi
Sun Mar 01, 2015 11:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 15.02
Replies: 4
Views: 1115

Re: New FWH 15.02

Dear Antonio, the working change in BtnBmp METHOD PaintCaption() CLASS TBtnBmp from Mr. Rao, to change the textcolor on button-focus is still missing and I'm getting errors : Old ::SayText( ::cCaption, oRect:aRect, cAlign, ::oFont, nClr ) Changes from Rao ::SayText( ::cCaption, ...
by ukoenig
Sun Mar 01, 2015 10:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 15.02
Replies: 4
Views: 1115

Re: Possible to change the BtnBmp-textcolor on mousecaption ?

... I don't use says anymore, instead using 12 buttons shown in 2 columns The buttons in column 2 including only the text but with accelerators and textcolor-change on focus adjusted to LEFT . The acellerators are working fine and the images are changing related to a selected text-button. A click ...
by ukoenig
Tue Feb 24, 2015 10:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to change the BtnBmp-textcolor on mousecaption ?
Replies: 7
Views: 1209

Re: Possible to change the BtnBmp-textcolor on mousecaption ?

Thanks for pointing out the problem promptly.
We shall include this for revised build.
by nageswaragunupudi
Tue Feb 24, 2015 8:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to change the BtnBmp-textcolor on mousecaption ?
Replies: 7
Views: 1209

Re: Possible to change the BtnBmp-textcolor on mousecaption ?

Mr. Rao,

thank You very much.
It is working again.

best regards
Uwe :)
by ukoenig
Tue Feb 24, 2015 7:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to change the BtnBmp-textcolor on mousecaption ?
Replies: 7
Views: 1209

Re: Possible to change the BtnBmp-textcolor on mousecaption ?

Regret the bug. Please make this correction in the btnbmp.prg at line 1308: Present code:       ::SayText( ::cCaption, oRect:aRect, cAlign, ::oFont, nClr )  Please sustitute with:       ::SayText( ::cCaption, oRect:aRect, cAlign, ::oFont, XEval( nClr , ::lMover ) )  Can you p...
by nageswaragunupudi
Tue Feb 24, 2015 1:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to change the BtnBmp-textcolor on mousecaption ?
Replies: 7
Views: 1209

Re: Possible to change the BtnBmp-textcolor on mousecaption ?

... solution doesn't work anymore. In 15.1 it was OK. I changed to nClrTextDis ; NO error but with NO result. Maybe another solution, changing the textcolor on mouseover ? OK in FWH 15.1 oBtn:nClrText := { | lMouseOver | If( lMouseOver, CLR_HBLUE, CLR_WHITE ) } Windows version: 6.2, Build 9200 ...
by ukoenig
Mon Feb 23, 2015 8:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to change the BtnBmp-textcolor on mousecaption ?
Replies: 7
Views: 1209

Re: Different radio- and checkbox-styles

... from RESOURCES http://www.pflegeplus.com/IMAGES/RBStyles3.jpg before creating a EXE, You can create a Button-gradient with defined textcolors and change the background. !!! The selected textcolor will change the text-color on the main-dialog http://www.pflegeplus.com/IMAGES/RBStyles4.jpg ...
by ukoenig
Wed Feb 18, 2015 1:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Different radio- and checkbox-styles ( UPDATE 2.1 )
Replies: 6
Views: 1337

Re: Possible to change the BtnBmp-textcolor on mousecaption ?

... much, It is exactly what I need. It is easy now, to find the best combination between the 6 colors. ( 4 gradient and 2 text ) I added a second textcolor-selection to the button-area. http://www.pflegeplus.com/IMAGES/Btngrad1.jpg Copy / paste the gradient and textcolor of the ...
by ukoenig
Wed Feb 18, 2015 10:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to change the BtnBmp-textcolor on mousecaption ?
Replies: 7
Views: 1209

Re: Possible to change the BtnBmp-textcolor on mousecaption ?

Uwe,

DATA nClrText can be a codeblock so from it we can check if the mouse is over and provide a different color.

The same applies to DATA nClrTextDis

Please try this:

oBtn:nClrText := { | lMouseOver | If( lMouseOver, CLR_HBLUE, CLR_WHITE ) }
by Antonio Linares
Wed Feb 18, 2015 8:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to change the BtnBmp-textcolor on mousecaption ?
Replies: 7
Views: 1209
PreviousNext

Return to advanced search