Search found 97 matches: afont

Return to advanced search

Error Fwh 24.02 con XBROWSE

... == 0, { CLR_BLACK, RGB( 198, 255, 198 ) }, { CLR_BLACK, RGB( 232, 255, 232 ) } ) } END AEval( oBrw:aCols, {|o| o:nHeadStrAlign := AL_CENTER, o:oDataFont := aFont[1]} ) oBrw:CreateFromCode() oWnd:oClient := oBrw BrwBtnBar( oBrw ) WaitOff( @oWait ) ACTIVATE WINDOW oWnd Return //------------------------------------------------------------------------------ ...
by CARLOS ATUNCAR
Mon Apr 08, 2024 6:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error Fwh 24.02 con XBROWSE
Replies: 0
Views: 95

oBrw:report() ... control fonts

oRep:aFont already has two fonts built by the browse object oRep:aFont[ 1 ] is Tahoma size 0,-8 oRep:aFont[ 2 ] is Tahoma size 0,-8 bold I need to have another font I made oFontCopy := TFont():New("TAHOMA",0,-108,.F.,,180,,,,,,,,,,oRep:oDevice) ...
by Silvio.Falconi
Wed Dec 13, 2023 11:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oBrw:report() ... control fonts
Replies: 0
Views: 311

Methot SAY in TRLIN --- REPORT

hi all in the say method of the TRLIN class the pointing index of the aClrText array is the one defined in aFont this causes some lines to have incorrect colors the problem is when the color selected is white therefore it seems that certain lines are no longer printed METHOD ...
by mauri.menabue
Mon May 15, 2023 9:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Methot SAY in TRLIN --- REPORT
Replies: 0
Views: 104

Re: Problem with Choose font

...   := oBrowse:aArraydata[nRecord][20]     nColorFont  := oBrowse:aArraydata[nRecord][21]  only in the edit i create aFont array aFont:= { , , ,, , lItalic,lUnderline, lStrikeOut, ,, ,, , cFontName } then in the get control i do like this as i understand ...
by Jimmy
Wed Apr 26, 2023 11:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Choose font
Replies: 5
Views: 544

Re: Problem with Choose font

hi Silvio, as i understand the 1st Parameter is a Array or Object of used Font   aFont := ChooseFont( { oFont:nInpHeight, oFont:nInpWidth, oFont:nEscapement,;                          oFont:nOrientation, oFont:nWeight, oFont:lItalic,;                    ...
by Silvio.Falconi
Mon Apr 24, 2023 7:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Choose font
Replies: 5
Views: 544

Re: Problem with Choose font

hi Silvio, as i understand the 1st Parameter is a Array or Object of used Font   aFont := ChooseFont( { oFont:nInpHeight, oFont:nInpWidth, oFont:nEscapement,;                          oFont:nOrientation, oFont:nWeight, oFont:lItalic,;                    ...
by Jimmy
Fri Apr 21, 2023 4:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Choose font
Replies: 5
Views: 544

Re: Problem with Choose font

... LEFT; SIZE 50, 23 PIXEL FLAT NOROUND @ nRow, 255 BUTTONBMP oBtnSel[4] RESOURCE "REP_FONT" FLAT SIZE 20, 23 OF ooDlgPIXEL ; ACTION (aFont := ChooseFont(@cFontName,@nColorFont ),; cFontName:=aFont[LF_FACENAME],; nFontSize:=IF( aFont[LF_HEIGHT ]!=NIL,FontHeightInPoints( aFont[LF_HEIGHT ...
by Silvio.Falconi
Fri Apr 21, 2023 9:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Choose font
Replies: 5
Views: 544

Problem with Choose font

When I recall Choosefont() I not see the font I select before
How I can to show the font I select before ?
I call with aFont := ChooseFont(,@nColorFont ) where nColorFont is the color
by Silvio.Falconi
Thu Apr 20, 2023 7:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Choose font
Replies: 5
Views: 544

Re: xbrowse + Tdolphin + Mysql

... := {|| SetOrden(oBrw:aCols[04],"razsoc ASC",oQry )} AEval( oBrw:aCols, { | o | o:nHeadStrAlign := AL_CENTER,o:oDataFont := aFont[1] } ) oBrw:CreateFromCode() oWnVta:oClient := oBrw y para refrescar la consulta uso asi Static Procedure MyRefresh() local oWait WaitOn("Espere, ...
by CARLOS ATUNCAR
Mon Oct 18, 2021 2:25 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowse + Tdolphin + Mysql
Replies: 2
Views: 462

Exportacíon Excel desde Reporte

... FONT 2 oReport:lGrid := .T. oReport:cGrandTotal := "Total Geral ==>" END REPORT IF !oReport:lCreated RETU NIL ENDIF oReport:oTitle:aFont[1] := {|| 2 } //1ra linha do titulo, cor e fonte 2 oReport:nTopMargin := 600 //Espacio superior oReport:nDnMargin := 300 oReport:aColumns[2]:bTotalFont ...
by danielgustavo
Thu Jun 24, 2021 2:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Exportacíon Excel desde Reporte
Replies: 0
Views: 310

Re: chooseFont

No
this give me also the color and other effect

local aFont, nRGBColor := 0
aFont := ChooseFont( , @nRGBColor )
MsgInfo( nRGBColor )
by Silvio.Falconi
Tue Nov 03, 2020 3:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: chooseFont
Replies: 3
Views: 551

Re: Know the size of a font selected

... GetDC( 0 ), 90 ), 0 )   ReleaseDC( 0, hDC )return nPoints  Thanks Rao But I not understood How call that function ACTION (aFont:=ChooseFont(),; cFont :=aFont[LF_FACENAME],; nSizeFont:=FontHeightInPoints( aFont[LF_HEIGHT ]),; aGet[14]:refresh(),aGet[15]:refresh()) run ok ...
by Silvio.Falconi
Tue Nov 03, 2020 9:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Know the size of a font selected - Resolved -
Replies: 9
Views: 1324

Re: Know the size of a font selected

If you look into the aFont : there is no correct size from to font ? Strange...

For the save : it seems that the lenght of aGet[15] is to small to see it.
by Marc Venken
Thu Oct 29, 2020 11:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Know the size of a font selected - Resolved -
Replies: 9
Views: 1324

Re: Ayuda MsgStop() y MsgInfo()

... cTitulo ) LOCAL oDlg, aBoton[ 2 ], oIcon, oSay DEFINE DIALOG oDlg ; RESOURCE "MSGSTOP" ; OF oPublic:oWnd ; TITLE cTitulo ; FONT oPublic:aFont[ 2 ] REDEFINE XIMAGE oIcon ; ID 101 ; OF oDlg ; RESOURCE "STOP" oIcon:lTransparent := .t. REDEFINE SAY oSay ; VAR cTexto ; ID 102 ; ...
by EBM
Thu Dec 05, 2019 9:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda MsgStop() y MsgInfo()
Replies: 5
Views: 835

Re: [BUG] in source/font.prg and a question

or including maybe the existing function BUILDFONT( aFont ) :?:

You can, If you like to duplicate the existing functionality.
by nageswaragunupudi
Thu Jul 25, 2019 10:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: [BUG] in source/font.prg and a question
Replies: 8
Views: 1019
Next

Return to advanced search