FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Porque no me coge la fuente
Posts: 174
Joined: Wed Nov 29, 2017 11:42 AM
Porque no me coge la fuente
Posted: Fri Dec 22, 2017 01:15 AM
Code (fw): Select all Collapse
//...
   DEFINE FONT oFont1 NAME "Calibri" SIZE 0, -16
   DEFINE WINDOW oWnd FROM 1, 1 TO 800, 1450 PIXEL
//...

WITH OBJECT TExplorerBar():New( 0, 0, 250, 730, oWnd )
:SetFont( oFont1 )
:AddPanel( "Fitxers", "MenuFitxers" )
:AddPanel( "Assentaments", "MenuAssentaments" )
:Refresh()   //No hace nada
END WITH

   ACTIVATE WINDOW oWnd CENTERED


Me coge la imagen, el texto, pero el tipo de letra no se corresponde a oFont1

Que hago mal???


Gracias.
Un Saludo,

Xevi.



Aprendiz de la vida!!!
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Porque no me coge la fuente
Posted: Fri Dec 22, 2017 04:44 AM
Prueba asi:

Code (fw): Select all Collapse
WITH OBJECT TExplorerBar():New( 0, 0, 250, 730, oWnd )
   :AddPanel( "Fitxers", "MenuFitxers" ):SetFont( oFont1 )
   :AddPanel( "Assentaments", "MenuAssentaments" ):SetFont( oFont1 )
END WITH
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion