Search found 282 matches: nclrtext

Return to advanced search

Re: Another for Btnbmp

... Self ) )            if ::lFocused               RoundBox( ::hDC, 3, 3, ::nWidth - 4, ::nHeight - 3, nRound, nRound, XEval( ::nClrText, ::lMover, Self ) )            endif  Please change ::nClrText to ::nClrBorder I found the same solution last night and I talked about ...
by Silvio.Falconi
Tue Mar 26, 2024 11:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 4960

Re: Another for Btnbmp

...              RoundBox( ::hDC, 3, 3, ::nWidth - 4, ::nHeight - 3, nRound, nRound, XEval( ::nClrText, ::lMover, Self ) )            endif  Please change ::nClrText to ::nClrBorder
by nageswaragunupudi
Tue Mar 26, 2024 9:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 4960

Re: Another for Btnbmp

Nages, I think there is an error the btnbmp class takes the color of the text to create the internal box when it has focus for a sample I set the nClrText :nClrText := { |lOver,o| If( o:HasFocus(), RGB( 219, 230, 244), If( lOver, RGB( 219, 230, 244), RGB( 207, 221, 239) ) ) } and I have this result ...
by Silvio.Falconi
Mon Mar 25, 2024 9:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 4960

Re: Imprimir grafico insertado en tRichEdit5

It is possible to print normal text (not RichText) transparently over a background image using clause COLOR nClrText, NIL or COLOR nClrText, nAlphaColor Eg: @ nRow, nCol PRINT TO prn TEXT cTextRTF SIZE nWidth,nHeight MM FONT oFont COLOR CLR_BLACK, NIL// or COLOR CLR_BLACK, ARGB( ...
by nageswaragunupudi
Wed Jan 10, 2024 3:01 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Imprimir grafico insertado en tRichEdit5
Replies: 4
Views: 425

Re: numeric get

Dear Detlef,

Please modify this line in tget.prg this way:

FW_SayText( ::hDC, If( Empty( Eval( ::bSetGet ) ), "", Transform( Eval( ::bSetGet ), ::cPicture ) ), aRect, "R", ::oFont, ::nClrText )

now it works as you need :-)
by Antonio Linares
Thu Jul 20, 2023 11:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: numeric get
Replies: 8
Views: 322

Re: Color a Groupbox Frame

... only thing changed was the color of the text and the text color works fine .. REDEFINE GROUP oGrp1 ID 196 of oPark oGrp1:SetFont( oFontB ) oGrp1:nClrText := ( nRgb(7,7,224) ) Still unable to change the color of the Group Box frame :( Rick Lipkin
by Rick Lipkin
Fri Jun 09, 2023 6:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Color a Groupbox Frame
Replies: 23
Views: 1157

Re: Numeric alignment with oPrn:SayText( )

From Whatnew * TWindow Method SayText( cText, aRect, cAlign, oFont, nClrText, nClrBack, lBorder ) Applies to all derived classes like dialogs and controls To be used in o:bPainted. function FW_SayText( hDC or oWnd, cText, aRect, cAlign, oFont, nClrText, nClrBack, ...
by Marc Venken
Wed May 17, 2023 10:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Numeric alignment with oPrn:SayText( )
Replies: 8
Views: 534

Re: Color of rows in the cell

...         If( oCol:oBrw:KeyNo % 2 == 0, aClr1, aClr2 ) ) }END  2) We know bClrStd returns a color pair { nClrText, nClrBack } If instead of returning a single color as nClrText, if we return an array of colors, those colors are used in the place of aClrText. ...
by nageswaragunupudi
Sat Jan 28, 2023 1:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Color of rows in the cell
Replies: 5
Views: 467

Re: Change Footer colors (xBrowse)

return color pair { nClrText, nClrBack } when your bClrFooter is evaluated.
by nageswaragunupudi
Sat Jan 28, 2023 12:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change Footer colors (xBrowse)
Replies: 10
Views: 914

Re: Child OF oWnd

... oSayActive}, {NID, 102}, {TWINDOW:NTOP, 864}, {TWINDOW:NLEFT, 10}, {NBOTTOM, 893}, {NRIGHT, 649.00}, {NSTYLE, 1342177280}, {NCLRPANE, 16777215}, {NCLRTEXT, 0}, {ACONTROLS, {}}, {OBRUSH, {{HBRUSH, 9437200}, {HBITMAP, 0}, {HBMPORGL, 0}, {NCOUNT, 6}, {NRGBCOLOR, 16777215}, {LSYSTEM, .T.}, {USOURCE, ...
by Jimmy
Thu Nov 10, 2022 5:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Child OF oWnd
Replies: 7
Views: 344

Re: ListBox Input Field Scrolling........

... oBrw:Refresh(), oBrw:SetFocus(.T.), ; W_21AEU(oBrw,nItem,mMode,oDlg),oSay11:Refresh(),oSay21:Refresh(), ; oSay31:Refresh()),)))} oBrw:nClrText := {|| SelColor(1,nItem)} oBrw:nClrPane := {|| SelColor(2,nItem)} oBrw:nClrForeFocus := {|| SelColor(3,nItem)} On key press {Enter].. fuction ...
by RiazKhan
Fri Apr 15, 2022 9:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ListBox Input Field Scrolling........
Replies: 2
Views: 250

COLORES PARA MENUITEM DEL MENU

... de un MENUPOPUP Me ignora cualquier clausula que tenga que ver con los colores (COLORS, COLOR, COLORMENU etc,etc) he probado usando oItem:nClrText y otras maneras y nada! Alguien sabe por que ocurre esto o como solucionarlo ? Abrazo a todos
by rterraz
Mon Dec 27, 2021 1:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: COLORES PARA MENUITEM DEL MENU
Replies: 6
Views: 600

Re: Problem with TBtnGet

Creo que hay un malentendido

Estamos hablando de un GET con claúsula ACTION que hace que se muestre un botón al lado derecho del GET

En tal caso sería:

REDEFINE GET oGet ID ... OF oDlg ACTION ( oGet:SetColor( nClrText, nClrPane, oBrush ), otras cosas que necesites hacer )
by Antonio Linares
Tue Dec 14, 2021 6:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with TBtnGet (SOLVED)
Replies: 6
Views: 760

Re: Problem with TBtnGet

ACTIVATE DIALOG oDlg ON INIT ( oBtnGet:SetColor( nClrText, nClrPane, oBrush ), .T. )

nClrPane and oBrush are optional
by Antonio Linares
Mon Dec 13, 2021 4:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with TBtnGet (SOLVED)
Replies: 6
Views: 760

Re: RTF from Variable

Dear Tim, This is the syntax for Class TPrinter Method SayText() METHOD SayText( nRow, nCol, cText, nWidth, nHeight, oFont, cAlign, nClrText, nClrBack, cUnits, ; nOutLineClr, nPenSize ) Please notice that you can use ANY font in oFont parameter, different colors, pensize... That is RTF power
by Antonio Linares
Fri Dec 10, 2021 6:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RTF from Variable
Replies: 40
Views: 4245
Next

Return to advanced search