Search found 270 matches: setfont

Return to advanced search

Re: como saber si un objeto tomó el :end() o no ??

... para controlar su duracion. Define Dialog oDlg resource "AD_Empresa" title 'Registro de Datos de la Empresa' oDlg:lHelpIcon:=.f. oDlg:SetFont(oFontDlg) // aqui activo dos Timers: el _oTimerTabla1 es el tiempo que tiene el usuario para estar dentro del formulario // se configura en ...
by JoseAlvarez
Wed Mar 08, 2017 11:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: como saber si un objeto tomó el :end() o no ??
Replies: 10
Views: 1336

change a font on line

... 19 ; PICTURE "99" SPINNER MIN 6 MAX 99 ; MESSAGE "Changes the font size of the selection" oFonts:bChange := { || WndChild(): SetFont ( oFonts:varget() ), ; WndChild():SetFocus() } the WndChild() function return the oControl SAY active ( lactive) on dialog it make error because ...
by Silvio.Falconi
Wed Feb 08, 2017 11:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: change a font on line
Replies: 3
Views: 908

Re: Dialog Color / Gradient

...     ;       TITLE cTITLE                      ;       REDEFINE SAY oSay6  ID 110 of oDlg UPDATE      // what report does       oSay6:SetFont( oFontB )       oSay6:SetColor( nRgb(7,7,224))  //blue       REDEFINE SAY oSay1  ID 131 of oDlg UPDATE      // low  ...
by Rick Lipkin
Wed Jan 11, 2017 7:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dialog Color / Gradient
Replies: 20
Views: 5938

Re: FWH 16.11 Texured Fonts

... a EMPTY string otherwise START is displayed COLOR aVal[8], CLR_BLUE oMetro:lDesignMode := .F. oMetro:nMetroTop = 160 oMetro:nMetroRows := 8 oMetro:SetFont( oFontLarge ) // Title IF nScreenW < 1600 oMetro:nMetroMargin := 200 oMetro:nBtnSize = 140 ELSE oMetro:nMetroMargin := 220 oMetro:nBtnSize ...
by ukoenig
Thu Dec 01, 2016 8:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 16.11 Texured Fonts
Replies: 8
Views: 1825

Re: Problem with font

... program either by oFont:End() or RELEASE FONT oFont. 2) Wherever we want to use that font, we should either assign the font in the COMMAND or oObj:SetFont( oFont ). Do not assign the font directly to any control/dialog or window.
by nageswaragunupudi
Mon Jun 13, 2016 4:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with font
Replies: 13
Views: 3011

Re: resize a get field on GotFocus

... 2nd codeblock is working. oGetKonto5:nWidth := 55 Thanks in advance Otto oGetKonto5:bLostFocus = { || oGetKonto5:SetSize( 55, 32 ),; oGetKonto5:SetFont(oFont ),; oGetKonto5:nClrText( CLR_OLIVE ),; oGetKonto5:paint() } oGetKonto5:bLostFocus = { || oGetKonto5:nWidth := 55,; oGetKonto5:nHeight ...
by Otto
Mon May 02, 2016 1:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: resize a get field on GotFocus
Replies: 8
Views: 1047

Re: resize a get field on GotFocus

Otto, oGetKonto7:bGotFocus = { || oGetKonto7:Resize( 0, 200, 50 ), ; oGetKonto7:SetFont(Setup():oFntMetroFLATBTN ) ,; oGetKonto7:nClrText( CLR_BLACK ),oGetKonto7:paint() } oGetKonto7:bGotFocus = { || oGetKonto7:nWidth := 200, oGetKonto7:nHeight := 50, ; oGetKonto7:SetFont(Setup():oFntMetroFLATBTN ...
by ukoenig
Sun May 01, 2016 5:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: resize a get field on GotFocus
Replies: 8
Views: 1047

resize a get field on GotFocus

... oGetKonto7:Resize( 0, 200, 50 ) But this does not work. Best regards, Otto oGetKonto7:bGotFocus = { || oGetKonto7:Resize( 0, 200, 50 ), oGetKonto7:SetFont(Setup():oFntMetroFLATBTN ) ,oGetKonto7:nClrText( CLR_BLACK ),oGetKonto7:paint() }
by Otto
Sun May 01, 2016 5:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: resize a get field on GotFocus
Replies: 8
Views: 1047

Re: Como Capturar el tipo de letra del sistema

Hola a todos, He probado a incluir la cláusula DS_SHELLFONT en los diálogos dentro editor de recursos en vez de DS_SETFONT y he comprobado que con esta cláusula sí que se escala correctamente los diálogos wn Windws 10 en el caso de tener un escalado de fuentes personalizado. Os dejo una imagen de do...
by José Luis Sánchez
Thu Apr 28, 2016 2:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como Capturar el tipo de letra del sistema
Replies: 13
Views: 2507

Re: XBrowse 16.04 : RecordSelector

... oBrw:nRecSelColor := aVal[107] // selector-col background oBrw:lHScroll := .T. oBrw:lVScroll := .T. oBrw:lFooter := .T. oBrw:nRowHeight := 25 oBrw:SetFont( oFontSys ) oBrw:Refresh() RETURN NIL ---------------------- regards Uwe :?:
by ukoenig
Wed Apr 27, 2016 3:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse 16.04 : RecordSelector
Replies: 8
Views: 2184

Re: New FWH 16.03

... REDEFINE XBROWSE oBrw2 ID 130 OF oDlg1 ; COLUMNS { 1 } ; HEADERS {"Zeit"} ; ARRAY aZeit LINES CELL XBRW_STYLE( oBrw2 ) oBrw2:SetFont( oFontSys ) oBrw2:lFooter := .F. oBrw2:lHScroll := .F. oBrw2:lVScroll := .F. oBrw2:lRecordSelector := .F. oBrw2:lDrawBorder := .T. // new !!! ...
by ukoenig
Fri Apr 01, 2016 2:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 16.03
Replies: 10
Views: 1896

Re: A xBrowse-problem using public defined fonts ?

oCol: .... fonts are to be simply assigned.

eg: oCol:xxxfont := oMyFont

We need to release the font after done with.

This is the thumb-rule:
For controls use oCtrl:SetFont( oFont )
for other classes, use oObj:oFont := oMyFont
by nageswaragunupudi
Sun Jan 17, 2016 3:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A xBrowse-problem using public defined fonts ?
Replies: 6
Views: 805

Re: A xBrowse-problem using public defined fonts ?

I had also the problem! ::setfont() is the solution! :D
Uwe, how do you assign the font with setfont() to oCol:oHeaderfont??
by byte-one
Sat Jan 16, 2016 10:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A xBrowse-problem using public defined fonts ?
Replies: 6
Views: 805

Re: A xBrowse-problem using public defined fonts ?

We should not assigned to control the font like this:

oCtrl:oFont := oNewFont

so it is correct

oCtrl:SetFont( oNewFont )
by cnavarro
Fri Jan 15, 2016 4:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A xBrowse-problem using public defined fonts ?
Replies: 6
Views: 805

Re: A xBrowse-problem using public defined fonts ?

Uwe

You are tried? oBrw:SetFont( oSysFont1 )
by cnavarro
Fri Jan 15, 2016 4:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A xBrowse-problem using public defined fonts ?
Replies: 6
Views: 805
PreviousNext

Return to advanced search