Search found 102 matches: textcolor

Return to advanced search

Re: BtnBmp (SOLVED)

You can change the Button-textcolor on any other Control-action : http://www.pflegeplus.com/pictures/btncolor.jpg // -------------------- FUNCTION SHOW_BTN(oWndMain) @ 200, 200 BTNBMP oBtnA OF oWndMain ; SIZE 80, 80 PIXEL ...
by ukoenig
Wed Sep 07, 2011 2:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: BtnBmp (SOLVED)
Replies: 11
Views: 2619

xBrowse Pyjama-effect and defined Textcolors ?

Hello, I have a Problem, switching between Pyjama-effect and back to normal defined Textcolor. The start-screen : http://www.pflegeplus.com/pictures/pyjama1.jpg Changing to Pyjama-effect and back to defined Textcolor uses the Pyjama-text-colors. The ...
by ukoenig
Tue Jul 26, 2011 6:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Pyjama-effect and defined Textcolors ?
Replies: 0
Views: 259

Re: How to define xBrowse-textcolor on diff. Backgrounds ?

Mr. Uwe This is the logic adopted inside XBrowse. The luminance of the center line of each cell is calculated and if it exceeds a particular limit, black color is chosen and otherwise white color is chosen. The luminance may vary between adjacent cells even in a single row when image backgrounds are...
by nageswaragunupudi
Wed Jun 22, 2011 3:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to define xBrowse-textcolor on diff. Backgrounds ?
Replies: 4
Views: 1499

Re: How to define xBrowse-textcolor on diff. Backgrounds ?

... .T. The Browser on Main-screen : because Gradient-color white is centered, the Text-color on Bottom Row must be white as well. The last right Cell-textcolor is black with the same Background-color from the Cell before. http://www.pflegeplus.com/pictures/contrast1.jpg The same Browser ...
by ukoenig
Tue Jun 21, 2011 7:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to define xBrowse-textcolor on diff. Backgrounds ?
Replies: 4
Views: 1499

Re: Trivial question

Marco,

Windows Api does not allow to change the textcolor of a windows-button.

But you can use tsbutton instead. Here you can change the texcolor and the buttoncolor. The look of these buttons does not differ from the windows buttons
by StefanHaupt
Tue Jun 21, 2011 7:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Trivial question
Replies: 6
Views: 1185

Re: Trivial question

Marco,

as far as I know, there is no Textcolor-support for Class TButton.
I tested something from TControl, but it is ignored.
Maybe a Solution using Skins ?

Best Regards
Uwe :(
by ukoenig
Mon Jun 20, 2011 1:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Trivial question
Replies: 6
Views: 1185

Re: Trivial question

... .t. oBtn1:cToolTip = { "Title " + CRLF + "BMP","BMP Select", 1, CLR_BLACK, 14089979 } oBtn1:SetColor( 128, ) Button-Textcolor -------------------- oBtn1:SetColor( 128 ) // Red Button-tooltip ---------------- oBtn1:cToolTip := { " " + CRLF + ; "Button ...
by ukoenig
Mon Jun 20, 2011 10:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Trivial question
Replies: 6
Views: 1185

Re: How to define xBrowse-textcolor on diff. Backgrounds ?

Mr. Rao,

thank You very much.

The Option is added :

Image

Best Regards
Uwe :lol:
by ukoenig
Sat Jun 18, 2011 7:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to define xBrowse-textcolor on diff. Backgrounds ?
Replies: 4
Views: 1499

Re: How to define xBrowse-textcolor on diff. Backgrounds ?

By default, XBrowse uses ContrastColor to paint text, when pictures are gradients are used as background. This is intended to ensure that text is visible in each cell whether the background in that cell is dark or light. This contrast color is derived from the background color of the cell. This beha...
by nageswaragunupudi
Sat Jun 18, 2011 3:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to define xBrowse-textcolor on diff. Backgrounds ?
Replies: 4
Views: 1499

How to define xBrowse-textcolor on diff. Backgrounds ?

Hello, I have a problem, to define the xBrowse-textcolor on different Backgrounds. I tested many dfferent Settings, but doesn't work. It seems, the needed Color is detected from Background. Is it possible to define the Main-texcolor like Ligthblue ...
by ukoenig
Fri Jun 17, 2011 7:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to define xBrowse-textcolor on diff. Backgrounds ?
Replies: 4
Views: 1499

Re: New Arrangement of MSGWAIT- ALERT- and YESNO-function

... + " ???", ; // 2. Text "found !!! ", ; // 3. Text 3000, 5, 128, 8388608, 12, 78, 165, ; // Intervall, Counter, HeadColor, TextColor, Space, Top, Left c_path + "\Bitmaps\Alert.bmp" ) // Title-image // ----------------------------------------------------// ---------- ...
by ukoenig
Sun May 01, 2011 2:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New Arrangement of MSGWAIT- ALERT- and YESNO-function
Replies: 8
Views: 3759

New Arrangement of MSGWAIT- ALERT- and YESNO-function

... oFont, ; // Font cTitle, ; // MsgTitle cText1, ; // MsgText 1 cText2, ; // MsgText 2 cText3, ; // MsgText 3 nIntervall, ; // Timer nTxtColor, ; // Textcolor nSpace, ; // Space between Text nMsgTop, ; // MsgTop nMsgLeft ) // Msg Left FUNCTION MSG_INFO(oBrush, oFont, cTitle, cTxt1, cTxt2, cTxt3, ...
by ukoenig
Wed Apr 27, 2011 12:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New Arrangement of MSGWAIT- ALERT- and YESNO-function
Replies: 8
Views: 3759

Re: To Uwe: background tool

... ( still some final tests ) Like the Tool above : ------------------------- 1. Windows with any Background 2. Dialog with any Background 3. Textcolor 4. Text, Radio and Checkbox included in Dialog for transparent Test. 5. Create a standalone Exe-file 6. Save and restore from INI 7. Restart ...
by ukoenig
Thu Jan 20, 2011 9:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Uwe: background tool
Replies: 6
Views: 1310

Re: To Uwe: background tool

... with any background 4. MDI-child with any background 5. Dialog on MDI-frame with any background 6. Button- and transparent-test on MDI-frame 7. Textcolor change / transparent-test of Dialog ( Text-, Checkbox- and Radio ) 8. Thumbnail-preview of any background 9. xBrowse-test on MDI-frame 10. ...
by ukoenig
Wed Jan 19, 2011 11:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Uwe: background tool
Replies: 6
Views: 1310

Re: Problem with display of Checkbox and Radio

Hello, I found the Reason of not working Textcolor for Radios and Checkboxes ( allways black ), I deleted as a Test from resource : #ifdef __FLAT__ 1 24 "WindowsXP.Manifest" #endif ......@ 8, 10 SAY oSay3 PROMPT "Transp. Say" ...
by ukoenig
Wed Jan 12, 2011 2:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with display of Checkbox and Radio
Replies: 25
Views: 6453
PreviousNext

Return to advanced search