Search found 29 matches: litalic

Searched query: litalic

by Silvio.Falconi
Mon Apr 24, 2023 7:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Choose font
Replies: 5
Views: 788

Re: Problem with Choose font

... or Object of used Font

aFont := ChooseFont( { oFont:nInpHeight, oFont:nInpWidth, oFont:nEscapement,;
oFont:nOrientation, oFont:nWeight, oFont:lItalic,;
oFont:lUnderLine, oFont:lStrikeOut, oFont:nCharSet,;
oFont:nOutPrecision, oFont:nClipPrecision,;
oFont:nQuality, oFont:nPitchFamily, oFont ...
by Silvio.Falconi
Fri Apr 21, 2023 9:43 am
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Choose font
Replies: 5
Views: 788

Re: Problem with Choose font

... 16]
lUnderline := oBrowse:aArraydata[nRecord][17]
lStrikeOut := oBrowse:aArraydata[nRecord][18]
lBold := oBrowse:aArraydata[nRecord][19]
lItalic := oBrowse:aArraydata[nRecord][20]
nColorFont := oBrowse:aArraydata[nRecord][21]


@ nRow,5 BTNBMP aGet[15] OF oDlg;
PROMPT cFontName RIGHT ...
by Jimmy
Thu Nov 10, 2022 5:44 am
Forum: FiveWin for Harbour/xHarbour
Topic: Child OF oWnd
Replies: 7
Views: 745

Re: Child OF oWnd

... NRGBCOLOR, 16777215}, {LSYSTEM, .T.}, {USOURCE, CLR_WHITE}}}, {OFONT, {{CFACENAME, TAHOMA}, {HFONT, 1242174205}, {HFONTOLD, 0}, {LBOLD, .F.}, {LITALIC, .F.}, {LUNDERLINE, .F.}, {LSTRIKEOUT, .F.}, {NINPHEIGHT, -20}, {NINPWIDTH, 0}, {NESCAPEMENT, 0}, {NORIENTATION, 0}, {NWEIGHT, 0}, {NCHARSET, 0 ...
by puenteda
Thu Feb 24, 2022 5:02 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Errores OLE en TEXCELSCRIPT
Replies: 9
Views: 1916

Re: Errores OLE en TEXCELSCRIPT

... prg es un simple say:

oExcel:Say(3,1 ,'Matrícula','Arial',09 ,.F. , , , 7 , , , ,1)
//METHOD Say( nRow, nCol, xValue , cFont , nSize , lBold , lItalic ,lUnderLine, nAlign, nColor, nFondo , nOrien , nStyle , cFormat ) CLASS TExcelScript

Como que "explota" el ole y el error sale en cualquier parte ...
by ukoenig
Thu Jul 25, 2019 9:43 am
Forum: FiveWin for Harbour/xHarbour
Topic: [BUG] in source/font.prg and a question
Replies: 8
Views: 1344

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

... in relation to the window-size and optional adding bold
I tested
oFontMed1:Modify( 50, .T. )
and
oFontMed1:nHeight(50)
but NO change

METHOD nWidth( nNewValue ) SETGET
METHOD nHeight( nNewValue ) SETGET
METHOD Modify( nHeight, lBold, lItalic, lUnderline, lStrikeOut, nEscapement )

regards
Uwe
by Silvio.Falconi
Wed Feb 14, 2018 12:09 pm
Forum: FiveWin for Harbour/xHarbour
Topic: RichEdit: How to not show URL?
Replies: 12
Views: 2643

Re: RichEdit: How to not show URL?

... as in trichedit with MsftEdit.dll but Cristobal not make the function yet

you can set a line or word with the method

SetAttribute( lBold, lItalic, lUnderline, lStrikeOut, lOnOff, lLink , nYOffSet, lSuper, lSub, lProtect, nTypeUnder ) CLASS TRichEdit5

or exactply with setlink( lonoff ...
by cnavarro
Tue Feb 13, 2018 1:46 pm
Forum: FiveWin for Harbour/xHarbour
Topic: TMenuItem():New changed
Replies: 5
Views: 1112

Re: TMenuItem():New changed

... cCharBmp> ] ;
[ HSYSBITMAP <hBmp> ] ;
[ INDEX <nIndex> ] ;
[ <lRight: RIGHT> ] ;
[ <lSeparator: SEPARATOR> ] ;
[ <lBold: BOLD> ];
[ <lItalic: ITALIC> ];
[ COLORBOX <nClrBox> ] ;
[ RADIOCHECK <nItemsGroup>, <nCheck> ] ;
[ <lDefault: ITEMDEFAULT> ] ;
[ <lLeft: LEFT> ] ;
[ <lControl ...
by nageswaragunupudi
Tue Dec 19, 2017 7:49 am
Forum: FiveWin para Harbour/xHarbour
Topic: DEFINE FONT vs TFont()
Replies: 20
Views: 4605

Re: DEFINE FONT vs TFont()

TFont():New( cFaceName, nWidth, nHeight, lFromUser, lBold,;
nEscapement, nOrientation, nWeight, lItalic, lUnderline,;
lStrikeOut, nCharSet, nOutPrecision, nClipPrecision,;
nQuality, oDevice, nPitchFamily )

creates a font with exactly the same parameters using Windows function CreateFont ...
by cnavarro
Fri Dec 02, 2016 9:19 am
Forum: FiveWin para Harbour/xHarbour
Topic: Decidir si Font es Bold o no
Replies: 9
Views: 2020

Re: Decidir si Font es Bold o no

... brush ( CreateBrushIndirect )
Para ello, puedes utilizar la function


hNewFont := CREATEFONTAS( oFont:hFont, oFont:lbold, oFont:lUnder, oFont:lItalic, oFont:nHeight )

//y, en tu caso, sería, por ejemplo ( para cambiar de bold o no bold y viceversa )

hNewFont := CREATEFONTAS( oFont:hFont ...
by Silvio.Falconi
Wed Apr 20, 2016 8:06 am
Forum: FiveWin for Harbour/xHarbour
Topic: Richedit on a dialog
Replies: 17
Views: 9544

Re: Richedit on a dialog

... function BuildRichEditBar( oWnd, oRtf, oBarMemo )

local oBtn, oBullet, oBold, oItalic, oNumber, oUnderline, oCursor
local lBold := .F., ;
lItalic := .F., ;
lUnderline := .F.,;
lBullet := .F.,;
lNumber := .F.



DEFINE CURSOR oCursor HAND


@ oRtf:nTop,oRtf:nLeft BUTTONBAR oBarMemo ...
by Silvio.Falconi
Sun Apr 17, 2016 8:41 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Richedit on a dialog
Replies: 17
Views: 9544

Richedit on a dialog

... static function BuildRichEditBar( oWnd, oRtf )

local oBar, oBtn, oBullet, oBold, oItalic, oNumber, oUnderline, oCursor
local lBold := .F., lItalic := .F., lUnderline := .F., lBullet := .F.,;
lNumber := .F.

DEFINE CURSOR oCursor HAND

@ 90,110 BUTTONBAR oBar OF oWnd BUTTONSIZE 26, 27 ...
by cnavarro
Tue Mar 29, 2016 5:37 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Bold on Menuitem
Replies: 2
Views: 533

Re: Bold on Menuitem

... nClrHiLi>, <nClrHiLf>[, <nClrHitx>] ] ;
[ COLORSEPARATOR <nClrHiBr> ] ;
[ <lVert: LINESVERT> ] ;
[ <lColors: COLORS> ] ;
[ CHARICON <cCharBmp> ] ;
[ HSYSBITMAP <hBmp> ] ;
[ INDEX <nIndex> ] ;
[ <lRight: RIGHT> ] ;
[ <lSeparator: SEPARATOR> ] ;
[ <lBold: BOLD> ];
[ <lItalic: ITALIC> ]

by nageswaragunupudi
Fri Feb 12, 2010 3:36 pm
Forum: FiveWin for Harbour/xHarbour
Topic: change font after creation
Replies: 4
Views: 1318

Re: change font after creation

... Bold( .t. )
oBoldItalic := oBold:Italic( .t. )

Methods available are :
METHOD Bold( lOnOff )
METHOD Italic( lOnOff )
METHOD Underline( lOnOff )
METHOD StrikeOut( lOnOff )
METHOD Escapement( nEsc )
METHOD Rotate( n )

METHOD Modify( nHeight, lBold, lItalic, lUnderline, lStrikeOut, nEscapement )
by marzio
Fri Feb 12, 2010 11:22 am
Forum: FiveWin for Harbour/xHarbour
Topic: change font after creation
Replies: 4
Views: 1318

change font after creation

i want to change some definitions of a font after creation.
DEFINE FONT oFont NAME "Times New Roman" SIZE 10, 12 OF oPrn

i have tried this, but doesn't work:
oFont:nWidth( 24 ); oFont:nHeight( 10 )
oFont:lBold := .t.
oFont:lItalic := .t.
oFont:cFaceName := "Arial"

is it possible?

thanks, marzio
by Juan Planelles
Tue Dec 29, 2009 10:43 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Juan Planelles Lazaga
Replies: 9
Views: 7596

Re: Juan Planelles Lazaga

... 1 + nAvance
endif
oBmp:hBitmap = aBmp[ nIndex ]
oBmp:Refresh()
lWork := .f.

endif


return nil

Static Function Fuentes( uVal ) //Bold, lItalic, lUnderline, lStrikeOut, nAncho )
local oFont, nFont, oFont2, nMargend //, cTextForm, nCrLf, lFocus, cChars
local nLenFonts := Len( oGet:aFonts ...