Search found 1473 matches: nwidth

Return to advanced search

Re: xbrowse Border

... class I propose this solution for displaying the border in the presence of vertical scrolling if ::lDrawBorder // ::Box( 0, 0, ::nHeight - 1, ::nWidth - 1, IfNil( ::nClrBorder, ::hColPen ) ) ::Box( 0, 0, ::nHeight - 1, ::BrwWidth(), IfNil( ::nClrBorder, ::hColPen ) ) endif https://i.postimg.cc/vHytyBsS/ok.png ...
by Silvio.Falconi
Mon Nov 13, 2023 8:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse Border
Replies: 1
Views: 280

New FTDN October/Octubre 2023 (FWH 23.10)

... Select(), it is equivalenf of doing oItem:oTree:Select( oItem ), so now you can simply do oItem:Select() * Enhancement: DEFINE WINDOW ... SIZE nWidth, nHeight is supported. * New: samples\winexpl.prg shows how to use EnumChildWindows() * Enhancement: XBrowse: now json file name can be specified ...
by Antonio Linares
Thu Nov 02, 2023 9:53 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octubre 2023 (FWH 23.10)
Replies: 1
Views: 3909

Re: IMPRESION ARCHIVOS PDF

As of now the FWPDF class does not support the method SetSize( nWidth, nHeight ) This class supports only SetPage( nPageType ), same as TPrinter class. The permitted page sizes are:   { {  DMPAPER_LETTER,      HPDF_PAGE_SIZE_LETTER, ...
by nageswaragunupudi
Wed Oct 11, 2023 4:10 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: IMPRESION ARCHIVOS PDF
Replies: 27
Views: 1613

Re: XBROWSE NOT RESIZE

"SIZE " clause woks only when we create xbrowse from code, not when we create XBROWSE from resource, because RC file restricts the size of the control.

I have not yet tested it but try:
After redefining the xbrwose, set
oBrw:nWidth := ...
oBrw:nHeight := ...
by nageswaragunupudi
Mon Oct 09, 2023 2:13 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE NOT RESIZE
Replies: 1
Views: 254

CONTROLAR CLICK SOBRE COLUMNA EN XBROWSE

... := "Est" oBrw:aCols[1]:nHeadStrAlign := AL_LEFT //LEFT oBrw:aCols[1]:bBmpData := { || iif( cTab_Art:opcion=.t., 1, 2) } oBrw:aCols[1]:nWidth := 20 oBrw:aCols[2]:cHeader := "Código" oBrw:aCols[2]:bStrData := { || cTab_Art:cod_art } oBrw:aCols[2]:nHeadStrAlign := AL_CENTER ...
by kpidata
Fri Sep 01, 2023 7:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CONTROLAR CLICK SOBRE COLUMNA EN XBROWSE
Replies: 1
Views: 331

evitar que se active columna con xbrowse al dar un click

... := "Est" oBrw:aCols[1]:nHeadStrAlign := AL_LEFT //LEFT oBrw:aCols[1]:bBmpData := { || iif( cTab_Art:opcion=.t., 1, 2) } oBrw:aCols[1]:nWidth := 20 oBrw:aCols[2]:cHeader := "Código" oBrw:aCols[2]:bStrData := { || cTab_Art:cod_art } oBrw:aCols[2]:nHeadStrAlign := AL_CENTER ...
by kpidata
Fri Sep 01, 2023 7:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Inhabilitar columna en xBrowse - Disable column in xBrowse
Replies: 8
Views: 1077

error TXBROWSE:CARGOS

... princfac CENTERED nowait ON INIT ( princfac:Move( 0, 0 ) ) //, oRich:LoadRtf( xobserva ), oRich:PostMsg( WM_KEYDOWN, VK_HOME, 0 )) oWndChild:nWidth := princfac:nWidth + 7 oWndChild:nHeight := princfac:nHeight + 32 ACTIVATE WINDOW oWndChild on init ( onrocli:setfocus() )
by jpcavagnaro
Wed Aug 30, 2023 12:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: error TXBROWSE:CARGOS
Replies: 3
Views: 282

Re: como refrescar un listbox

Gracias por responder, no me estaba funcionando el timer, lo declare así: ACTIVATE DIALOG oDlg ON INIT ( oDlg:SetPos( 0, 0 ), oDlg:nWidth := GetSysMetrics( 0 ), oDlg:nHeight := GetSysMetrics( 1 ), BuildTimer( oDlg, obrow )) function BuildTimer( oDlg, wobrow ) local oTmr DEFINE TIMER oTmr ...
by jpcavagnaro
Tue Aug 15, 2023 9:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: como refrescar un listbox
Replies: 2
Views: 235

Re: Consulta sobre centrar un dialogo.

... los registros oBrw:lContrastClr := .f. // quitar barra horizontal oBrw:lHScroll := .F. oBrw:aCols[ 4 ]:cDataType := "F" oBrw:aCols[ 2 ]:nWidth := 20 oBrw:bKeyDown:={|nKey,nFlag|iif(veo(@nApu,@oBrw,aBotones,nKey),eval(aBotones[nApu,4]),NIL)} oBrw:bLDblClick := { |nRow,nCol,nKeyFlags|/*EditCorrijo(.f.),*/oBrw:Refresh()} ...
by José Camilo
Tue Aug 01, 2023 1:51 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta sobre centrar un dialogo.
Replies: 9
Views: 437

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: 437

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: 437

Re: Desaparecen controles en Folder - Ayuda por favor

... definitivo. Los controles que se quedaban fuera del tamaño original no se pintaban. Me costó mucho entender que no siempre el folder actualizaba nWidth y nHeight, aunque si actualizaba nRight y nBottom. Cambié el tamaño original ( a un tamaó muy grande 2000 x 2000 ) y entonces SI se "pintaban" ...
by JESUS MARIN
Tue Jul 18, 2023 5:53 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Desaparecen controles en Folder - SOLUCIONADO
Replies: 65
Views: 2363

Re: Mark field as required

Dear Marc, I think Cristobal means this way: @ nRow, nCol GET aGets[ 1 ] VAR aData[ 1, 2 ] ; PICTURE aData[ 1, 3 ] SIZE nWidth - nCol * 2, 15 PIXEL OF oDlg ; COLOR nClrTxt, CLR_WHITE CUEBANNER "REQUIRED" BOTTOMBORDER ; INFIELD INFONT oFontI INCLRTXT CLR_GRAY ; INCLRBORDER ...
by Marc Venken
Thu Jul 06, 2023 11:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mark field as required
Replies: 23
Views: 1779

Re: Mark field as required

Dear Marc, I think Cristobal means this way: @ nRow, nCol GET aGets[ 1 ] VAR aData[ 1, 2 ] ; PICTURE aData[ 1, 3 ] SIZE nWidth - nCol * 2, 15 PIXEL OF oDlg ; COLOR nClrTxt, CLR_WHITE CUEBANNER "REQUIRED" BOTTOMBORDER ; INFIELD INFONT oFontI INCLRTXT CLR_GRAY ; INCLRBORDER ...
by Antonio Linares
Thu Jul 06, 2023 11:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mark field as required
Replies: 23
Views: 1779

Re: Mark field as required

... get a syntax error at compiling This is from the sample Subscript0.prg @ nRow, nCol GET aGets[ 1 ] VAR aData[ 1, 2 ] ; PICTURE aData[ 1, 3 ] SIZE nWidth - nCol * 2, 15 PIXEL OF oDlg ; COLOR nClrTxt, CLR_WHITE CUEBANNER aData[ 1, 1 ] BOTTOMBORDER ; INFIELD INFONT oFontI INCLRTXT CLR_GRAY ; INCLRBORDER ...
by Marc Venken
Thu Jul 06, 2023 7:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mark field as required
Replies: 23
Views: 1779
PreviousNext

Return to advanced search