Search found 19 matches: wndwidth

Return to advanced search

Re: Consulta sobre centrar un dialogo.

... cGrad := PadR( GradStr( BrwGrad( oBrw ) ), 128 ) ACTIVATE DIALOG oDlg on INIT (BtnBarNew( oBrw, @oDlg, aBotones),oDlg:Move( oDlg:nTop, ( WndWidth( GetDesktopWindow() ) / 2 ) - ( oDlg:nWidth / 2 ), oDlg:nWidth, oDlg:nHeight, .T. )) // ACTIVATE DIALOG oDlg on INIT (BtnBarNew( oBrw, @oDlg, ...
by José Camilo
Tue Aug 01, 2023 1:51 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta sobre centrar un dialogo.
Replies: 9
Views: 433

Re: Consulta sobre centrar un dialogo.

Prueba asi:

oDlg:Move( 50, ( WndWidth( GetDesktopWindow() ) / 2 ) - ( oDlg:nWidth / 2 ), oDlg:nWidth, oDlg:nHeight, .T. )

y dime si el diálogo se posiciona hacia lo alto de la pantalla, gracias
by Antonio Linares
Mon Jul 31, 2023 4:50 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta sobre centrar un dialogo.
Replies: 9
Views: 433

Re: Consulta sobre centrar un dialogo.

Estimado José,

Prueba así:

oDlg:Move( oDlg:nTop, ( WndWidth( GetDesktopWindow() ) / 2 ) - ( oDlg:nWidth / 2 ), oDlg:nWidth, oDlg:nHeight, .T. )
by Antonio Linares
Sun Jul 30, 2023 9:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta sobre centrar un dialogo.
Replies: 9
Views: 433

xBrowse error on ADS (SOLVED!)

... .\source\classes\XBROWSE.PRG => TXBROWSE:HANDLEEVENT( 14651 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3337 ) Called from: => WNDWIDTH( 0 ) Called from: .\source\classes\CONTROL.PRG => (b)TCONTROL:TCONTROL( 179 ) Called from: => TXBROWSE:_NWIDTH( 0 ) Called from: .\source\classes\XBROWSE.PRG ...
by ryugarai27
Fri Aug 31, 2018 9:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse error on ADS (SOLVED!)
Replies: 12
Views: 2729

Re: Ayuda DLL

Antonio buenos dias, gracias por la ayuda Agrego la VM.LIB (xharbour), y me manda estos errorres :( :( Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex)...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6329

Re: problema con xbrowser

... .\source\classes\XBROWSE.PRG => TXBROWSE:HANDLEEVENT( 12667 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3355 ) Called from: => WNDWIDTH( 0 ) Called from: .\source\classes\CONTROL.PRG => (b)TCONTROL( 181 ) Called from: .\source\classes\CONTROL.PRG => TXBROWSE:_NWIDTH( 0 ...
by mastintin
Thu Apr 30, 2015 1:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con xbrowser
Replies: 17
Views: 4897

Re: recompilar fiveh.lib

Implementa esta funcion:

function GetCoors( hWnd )

return { WndTop( hWnd ), WndLeft( hWnd ), WndBottom( hWnd ), WndWidth( hWnd ) - WndLeft( hWnd ) }
by Antonio Linares
Mon Sep 24, 2012 12:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: recompilar fiveh.lib
Replies: 47
Views: 15035

Re: Pantalla ampliada

Pienso que la solucion sería que guardaras en lugar de pixeles, porcentajes de la resolucion, usando la regla de 3, p.e. resolucion := WndWidth(  GetDesktopWindow()  )AnchoColumna1 := ( AnchoPixeles * 100 ) / resolucion  Luego al crear el Browse haces ...
by Bayron
Sun Jul 01, 2012 2:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pantalla ampliada
Replies: 1
Views: 580

Dialog Coordinates

... and Dialog Coordinates???? I built a separate .prg file using a window, I obtained the size of it by using WndHeight( GetDesktopWindow() ), WndWidth( GetDesktopWindow() ) I calculated the coordinates using oWnd:nHeight and oWnd:nWidth, all the controls were placed and sized logically using ...
by Bayron
Sun Sep 18, 2011 3:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dialog Coordinates
Replies: 14
Views: 4461

Bitmap en Linea con gradient (Txbrowse)

... hDC, aRect[ 1 ] - 2, aRect[ 2 ] - 3, aRect[ 3 ] + 1, aRect[ 4 ] + 5, aGrad, .T. ) SetBkMode( hDC, 1 ) RoundBox( hDC, 2, aRect[ 1 ] - 1, WndWidth( oCol:oBrw:hWnd ) - 22, aRect[ 3 ] + 1, 2, 2,; RGB( 235, 244, 253 ), 1 ) RoundBox( hDC, 1, aRect[ 1 ] - 2, WndWidth( oCol:oBrw:hWnd ) - 21, ...
by FranciscoA
Mon Aug 02, 2010 7:48 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Bitmap en Linea con gradient (Txbrowse)
Replies: 0
Views: 310

TO NAGES Also Windows Seven Error Bitmap on Xbrowse

... 3 ] + 1, aRect[ 4 ] + 5,; { { 1, RGB( 220, 235, 252 ), RGB( 193, 219, 252 ) } }, .T. ) SetBkMode( hDC, 1 ) RoundBox( hDC, 2, aRect[ 1 ] - 1, WndWidth( oCol:oBrw:hWnd ) - 22, aRect[ 3 ] + 1, 2, 2,; RGB( 235, 244, 253 ), 1 ) RoundBox( hDC, 1, aRect[ 1 ] - 2, WndWidth( oCol:oBrw:hWnd ) - 21, ...
by MdaSolution
Sun Jul 04, 2010 5:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TO NAGES Also Windows Seven Error Bitmap on Xbrowse
Replies: 11
Views: 2240

Re: TO ANTONIO Windows Seven Xbrowse Colores

... 2, aRect[ 2 ] - 3, aRect[ 3 ] + 1, aRect[ 4 ] + 5,; { { 1, RGB( 220, 235, 252 ), RGB( 193, 219, 252 ) } }, .T. ) RoundBox( hDC, 2, aRect[ 1 ] - 1, WndWidth( oCol:oBrw:hWnd ) - 22, aRect[ 3 ] + 1, 2, 2,; RGB( 235, 244, 253 ), 1 ) RoundBox( hDC, 1, aRect[ 1 ] - 2, WndWidth( oCol:oBrw:hWnd ) - 21, ...
by MdaSolution
Thu Apr 08, 2010 11:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TO ANTONIO Windows Seven Xbrowse Colores
Replies: 10
Views: 2919

Re: Ayuda sobre xBrowse/Windows 7

... 2, aRect[ 2 ] - 3, aRect[ 3 ] + 1, aRect[ 4 ] + 5,; { { 1, RGB( 220, 235, 252 ), RGB( 193, 219, 252 ) } }, .T. ) RoundBox( hDC, 2, aRect[ 1 ] - 1, WndWidth( oCol:oBrw:hWnd ) - 22, aRect[ 3 ] + 1, 2, 2,; RGB( 235, 244, 253 ), 1 ) RoundBox( hDC, 1, aRect[ 1 ] - 2, WndWidth( oCol:oBrw:hWnd ) - 21, ...
by jll-fwh
Thu Feb 25, 2010 12:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda sobre xBrowse/Windows 7
Replies: 22
Views: 6439

Antonio: Defecto en Gradient en Windows 7

... 2, aRect[ 2 ] - 3, aRect[ 3 ] + 1, aRect[ 4 ] + 5,; { { 1, RGB( 220, 235, 252 ), RGB( 193, 219, 252 ) } }, .T. ) RoundBox( hDC, 2, aRect[ 1 ] - 1, WndWidth( oCol:oBrw:hWnd ) - 22, aRect[ 3 ] + 1, 2, 2,; RGB( 235, 244, 253 ), 1 ) RoundBox( hDC, 1, aRect[ 1 ] - 2, WndWidth( oCol:oBrw:hWnd ) - 21, ...
by jll-fwh
Tue Feb 23, 2010 12:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Antonio: Defecto en Gradient en Windows 7
Replies: 4
Views: 815

Re: Sobre Gestores de B.D

... 2, aRect[ 2 ] - 3, aRect[ 3 ] + 1, aRect[ 4 ] + 5,; { { 1, RGB( 220, 235, 252 ), RGB( 193, 219, 252 ) } }, .T. ) RoundBox( hDC, 2, aRect[ 1 ] - 1, WndWidth( oCol:oBrw:hWnd ) - 22, aRect[ 3 ] + 1, 2, 2,; RGB( 235, 244, 253 ), 1 ) RoundBox( hDC, 1, aRect[ 1 ] - 2, WndWidth( oCol:oBrw:hWnd ) - 21, ...
by jll-fwh
Mon Feb 22, 2010 8:24 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Sobre Gestores de B.D
Replies: 3
Views: 836
Next

Return to advanced search