FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Bug en splitter
Posts: 408
Joined: Sun Aug 13, 2006 05:38 AM
Bug en splitter
Posted: Wed Aug 27, 2008 08:41 PM
No dice el tamaño correcto

#INCLUDE "fivewin.CH"
#INCLUDE "splitter.CH"

function main
   local oWnd, oSpl
   define window oWnd
   @ 107, 74 SPLITTER oSpl HORIZONTAL SIZE 333,4 PIXEL OF oWnd
   activate window oWnd on init wqout( { oSpl:nWidth, oSpl:nHeight } )
return nil
Saludos

Quique
Posts: 408
Joined: Sun Aug 13, 2006 05:38 AM
Bug en splitter
Posted: Thu Aug 28, 2008 11:08 PM

Antonio ¿sabes como puedo corregir el error?

Saludos

Quique
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug en splitter
Posted: Fri Aug 29, 2008 08:01 AM
Quique,

Hazlo asi:
#INCLUDE "fivewin.CH" 
#INCLUDE "splitter.CH" 

function main 
   local oWnd, oSpl 
   define window oWnd 
   @ 107, 74 SPLITTER oSpl HORIZONTAL SIZE 333,4 PIXEL OF oWnd 
   activate window oWnd on init wqout( { WndWidth( oSpl:hWnd ), WndHeight( oSpl:hWnd ) } ) 
return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 408
Joined: Sun Aug 13, 2006 05:38 AM
Bug en splitter
Posted: Fri Aug 29, 2008 05:01 PM

Gracias, con eso funciona

Saludos

Quique

Continue the discussion