METHOD SelPrinter( cPrinter ) CLASS TPreview
local cOldPrinter := GetProfString( "windows", "device" , "" )
.....
SysRefresh()
// WriteProfString( "windows", "device", cPrinter )
WriteProfString( "windows", "device", cOldPrinter )
.....
METHOD Zoom( lMenu ) CLASS TPreview
...
if ::lZoom
....
::oMeta1:ZoomIn()
::oLvw:hide() // esconde el listview
else
.......
::oFactor:Set( 1 )
::oLvw:show() // enseña enseña el listview
endif
METHOD Zoom( lMenu ) CLASS TPreview
local hOldRes := GetResources()
SET RESOURCES TO ::cResFile
DEFAULT lMenu := .F.
::lZoom := ! ::lZoom
if IsWindowVisible( ::oLvw:hWnd )
::oLvw:Hide()
else
::oLvw:Show()
endif
...
Antonio Linares wrote:Aqui funciona bien. Es extraño que no te funcione ahi
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: Google [Bot] and 74 guests