Search found 10 matches: nfactorwitdh

Return to advanced search

Re: FUNCTION DISPLAY 3.0 DISPONIBLE !!

... altera essa linha, como mostra agora ... .. . If lRepaint // referencia oWnd:Hide() // referencia EndIf // referencia If nFactorHeight > 1 .or. nFactorWitdh > 1 // talvez esta linha tambem, não lembro
by Sistem
Mon Aug 05, 2019 8:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FUNCTION DISPLAY 3.0 DISPONIBLE !!
Replies: 36
Views: 9729

Re: Possible to calc. Right/Bottom Btn-Pos on diff. Dlg-Sizes ?

... odlg5:move(10,10,700,400) odlg5:refresh() * coord. of the new dialog nWidth := odlg5:nWidth nHeight := odlg5:nHeight * calculate the factor : nFactorWitdh := nWidth / nOriWidth nFactorHeight := nHeight / nOriHeight msgalert("FATOR HEIGHT: "+str(nFactorHeight,10,2)+CRLF+"FATOR ...
by WilliamAdami
Mon Aug 09, 2010 9:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to calc. Right/Bottom Btn-Pos on diff. Dlg-Sizes ?
Replies: 17
Views: 5634

Re: Possible to calc. Right/Bottom Btn-Pos on diff. Dlg-Sizes ?

... GETS, SAYS, ETC ...) are displayed proportionately equal. The function calculates the factor of height adjustment (nFactorHeight) and width (nFactorWitdh) to calculate the position of the controls after resizing. I hope it helps. William Adami
by WilliamAdami
Mon Aug 09, 2010 1:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to calc. Right/Bottom Btn-Pos on diff. Dlg-Sizes ?
Replies: 17
Views: 5634

Re: Resolución de Pantalla

... // redimension automatica campos wBrowse ElseIF oWnd:Classname() == "TWBROWSE" FOR nSize=1 TO LEN (oWnd:aColSizes) oWnd:AcolSizes[nSize] *= nFactorWitdh NEXT Aunque estoy trabajando con un sistema híbrido (el tuyo y el mio) y en este caso, como en el REDEFINE del BROWSE aparecen los SIZE, ...
by FiveWiDi
Thu Feb 28, 2008 10:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Resolución de Pantalla
Replies: 17
Views: 4994

Re: Resolución de Pantalla

ElseIF oWnd:Classname() == "TWBROWSE" AEval( oWnd:aColSizes, { | eCol | eCol = (eCol * nFactorWitdh) } ) Este nuevo condicional no lo he probado, creo que debería funcionar al menos para los TWBROSE. Carlos, En primer lugar, muchas gracias por tu ayuda. Al final, ha ...
by Manuel Valdenebro
Thu Feb 28, 2008 7:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Resolución de Pantalla
Replies: 17
Views: 4994

Re: Resolución de Pantalla

... oWnd:aDialogs[nContador], nResolution, .F. ) EndFor EndIf ElseIF oWnd:Classname() == "TWBROWSE" AEval( oWnd:aColSizes, { | eCol | eCol = (eCol * nFactorWitdh) } ) Else If ValType( oWnd:aControls ) = "A" For nContador := 1 To Len( oWnd:aControls ) AutResiz( lAutoresize, nWhatSize, oWnd:aControls[nContador], ...
by FiveWiDi
Thu Feb 28, 2008 12:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Resolución de Pantalla
Replies: 17
Views: 4994

Re: Resolución de Pantalla

... el valor de nWhatSize=1,2,3,4,5,6,7,.... Local nWidth, nHeight // Son la relación entre la resolución de pantalla y la resolución de diseño. Local nFactorWitdh, nFactorHeight Local nContador DEFAULT lRepaint := .T. nOriWidth := 0 nOriHeight := 0 nWidth := 0 nHeight := 0 nContador := 0 If ABS(nResolution) ...
by FiveWiDi
Tue Feb 26, 2008 1:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Resolución de Pantalla
Replies: 17
Views: 4994

Redimensionar Ventanas, diálogos y controles.

... el valor de nWhatSize=1,2,3,4,5,6,7,.... Local nWidth, nHeight // Son la relación entre la resolución de pantalla y la resolución de diseño. Local nFactorWitdh, nFactorHeight Local nContador DEFAULT lRepaint := .T. nOriWidth := 0 nOriHeight := 0 nWidth := 0 nHeight := 0 nContador := 0 If ABS(nResolution) ...
by FiveWiDi
Mon Apr 16, 2007 5:41 pm
 
Forum: FiveWin para CA-Clipper
Topic: ¿Como cambiar tamaño de un dialogo en tiempo de ejecucion?
Replies: 4
Views: 1746

AutResiz()

... el valor de nWhatSize=1,2,3,4,5,6,7,.... Local nWidth, nHeight // Son la relación entre la resolución de pantalla y la resolución de diseño. Local nFactorWitdh, nFactorHeight Local nContador DEFAULT lRepaint := .T. nOriWidth := 0 nOriHeight := 0 nWidth := 0 nHeight := 0 nContador := 0 If ABS(nResolution) ...
by FiveWiDi
Tue Nov 28, 2006 9:19 am
 
Forum: Utilities / Utilidades
Topic: AutResiz()
Replies: 0
Views: 2377

Re: redimensionar dialogos...

... // Resolución actual de la pantalla. Local nWidth, nHeight // Son la relación entre la resolución de pantalla y la resolución de diseño. Local nFactorWitdh, nFactorHeight Local nContador DEFAULT lRepaint := .T. nOriWidth := 0 nOriHeight := 0 nWidth := 0 nHeight := 0 nContador := 0 If nResolution ...
by FiveWiDi
Wed Nov 16, 2005 3:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: redimensionar dialogos...
Replies: 10
Views: 2659

Return to advanced search