Un peque帽o aporte para FWH 8.09, Se trata de el Font en Redefine de la Class TFolder, Espero les sirva, y si a煤n no existe en las versiones posteriores, espero que lo a帽adan.
Primero en Class TFolder
En Method ReDefine, el 煤ltimo par谩metro es <oFont>.
Luego en METHOD ReDefine
Primero en Class TFolder
CLASS TFolder FROM TControl
聽 聽CLASSDATA lRegistered AS LOGICAL
聽 聽DATA 聽 aPrompts, aDialogs
聽 聽DATA 聽 nOption, nTabSize, nFdHeight
聽 聽DATA 聽 oFont2
聽 聽DATA 聽 aEnable
聽 聽DATA 聽 lAllWidth AS LOGICAL INIT .t.
聽 聽DATA 聽 lWin95Look AS LOGICAL
聽 聽DATA 聽 oImageList
聽 聽CLASSDATA aProperties ;
聽 聽 聽 INIT { "aPrompts", "cVarName", "nClrText",;
聽 聽 聽 聽 聽 聽 聽"nClrPane", "nAlign", "nTop", "nLeft",;
聽 聽 聽 聽 聽 聽 聽"nWidth", "nHeight", "nOption", "Cargo" }
聽 聽METHOD New( nTop, nLeft, aPrompts, aDialogs, oWnd, nOption, nClrFore,;
聽 聽 聽 聽 聽 聽 聽 聽nClrBack, lPixel, lDesign, nWidth, nHeight,;
聽 聽 聽 聽 聽 聽 聽 聽cMsg, lAllWidth, oFont ) CONSTRUCTOR
聽 聽METHOD ReDefine( nId, aPrompts, aDialogs, oWnd, nOption, nClrFore,;
聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 nClrBack, bChange, lAllWidth,oFont ) CONSTRUCTOREn Method ReDefine, el 煤ltimo par谩metro es <oFont>.
Luego en METHOD ReDefine
METHOD ReDefine( nId, aPrompts, aDialogs, oWnd, nOption, ;
聽 聽 聽 聽 聽 聽 聽 聽 聽nClrFore, nClrBack, bChange, lAllWidth,oFont ) CLASS TFolder
聽 聽::oFont2 聽 聽 = ::SetFont( oFont ) //TFont():New( GetSysFont(), 0, -9,, .t. ) ->Aqu铆 hay un cambio
聽 聽::bChange 聽 聽= bChange
聽 聽::nClrPane 聽 = GetSysColor( COLOR_BTNFACE )
聽 聽::lAllWidth 聽= lAllWidth
聽 聽::nFdHeight 聽= If( LargeFonts(), 25 , 22 )
聽 聽::lWin95Look = GetVersion()[ 1 ] > 3 .or. GetVersion()[ 2 ] > 51 .or. ;
聽 聽 聽 聽 聽 聽 聽 聽 聽 IsWinNT()
聽 聽::Register()
*C贸digo Nuevo
聽 聽if oFont != nil
聽 聽 聽 ::SetFont( oFont )
聽 聽elseif oWnd != nil .and. oWnd:oFont != nil
聽 聽 聽 ::SetFont( oWnd:oFont )
聽 聽else
聽 聽 聽 ::GetFont()
聽 聽endif
* Fin C贸digo NuevoQuiero hacer facturaci贸n electr贸nica...
Leon Valenzuela.
Santiago - Chile.
Leon Valenzuela.
Santiago - Chile.