Bug en splitter

Bug en splitter

Postby quique » Wed Aug 27, 2008 8:41 pm

No dice el tamaño correcto

Code: Select all  Expand view  RUN
#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
User avatar
quique
 
Posts: 408
Joined: Sun Aug 13, 2006 5:38 am

Postby quique » Thu Aug 28, 2008 11:08 pm

Antonio ¿sabes como puedo corregir el error?
Saludos
Quique
User avatar
quique
 
Posts: 408
Joined: Sun Aug 13, 2006 5:38 am

Postby Antonio Linares » Fri Aug 29, 2008 8:01 am

Quique,

Hazlo asi:
Code: Select all  Expand view  RUN
#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
User avatar
Antonio Linares
Site Admin
 
Posts: 42161
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby quique » Fri Aug 29, 2008 5:01 pm

Gracias, con eso funciona
Saludos
Quique
User avatar
quique
 
Posts: 408
Joined: Sun Aug 13, 2006 5:38 am


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 47 guests