Search found 17 matches: lcentered

Return to advanced search

New FTDN April 2015 (FWH 15.04)

... not any more necessary to define bar and buttons in ON INIT clause. sample: barondlg.prg * Enhancement: dialog.prg: Data or codeblocks assigned to lCentered, lCenterInWnd, lModal, bLClicked, bRClicked, bWhen, bValid, bInit, bPainted are used by Activate() method if not overriden in the ACTIVATE ...
by Antonio Linares
Sat Apr 25, 2015 7:44 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April 2015 (FWH 15.04)
Replies: 6
Views: 3594

Re: Resource Dialogs change with PC's

... .t. ) // ntop,nleft,nbottom,nright end case next // aRect = GetWndRect( ::hWnd ) ::Move( ntop,nleft,::nWidth*rsl0, ::nHeight*rsl1, .T. ) if ::lCentered WndCenter( ::hWnd ) else if Empty( ::cResName ) ::Move( ::nTop, ::nLeft ) endif endif return in prg: ACTIVATE DIALOG odlg ON INIT (odlg:autoresize())
by ShumingWang
Wed Apr 30, 2014 3:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resource Dialogs change with PC's
Replies: 6
Views: 1468

Re: Dialogos NoWait

Alfonso

pasas el codeblock no el "eval" de ellos, la clase se encarga internamente de evaluarlos

oDlg:Activate( , , ,lCentered, bValid, lSel, bInit )
by Daniel Garcia-Gil
Thu Mar 31, 2011 7:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Dialogos NoWait
Replies: 4
Views: 820

Re: Dialogos NoWait

... bValid:={|| (NoEscape() .AND. CierraCli(dCli,dAge,dBco,dGpo,dFpg,oBrw)) } lCentered:=.t. oDlg:Activate( , , ,lCentered,EVAL(bValid),lSel,EVAL(bInit) ) Gracias de antemano.
by txon
Thu Mar 31, 2011 7:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Dialogos NoWait
Replies: 4
Views: 820

Re: Deshabilitar botón

El botón HELP (?) se que se quita así: oDlg:lHelpIcon:=.F.

La clase DIALOG tiene ademas estas otras datas: lResize16, lCentered, lModal, lModify

Aunque he probado esto y funciona: DEFINE WINDOW soWnd TITLE "..." MDI ICON soIco STYLE 255 quita el botón [X].
by JmGarcia
Wed Oct 20, 2010 3:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Deshabilitar botón
Replies: 9
Views: 1096

Re: FWH/xHarbour Menus

... CLASS TDialog FROM TWindow CLASSDATA lRegistered AS LOGICAL DATA cResName, cResData DATA hResources DATA lCentered, lModal, lModify DATA bStart DATA lHelpIcon // Windows 95 help icon pressed DATA lResize16 // resize 32 bits resources to look like 16 bits ...
by E. Bartzokas
Mon May 25, 2009 3:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH/xHarbour Menus
Replies: 20
Views: 7758

Re: HOLA

... Len( oWnd:aDialogs ) Auto800( oWnd:aDialogs[nContador], .F. ) EndFor EndIf EndIf EndIf If lRepaint If( ( "DIALOG" $ oWnd:Classname() ) .and. oWnd:lCentered, WndCenter( oWnd:hWnd ) , Nil ) oWnd:Show() EndIf EndIf Return Nil ////////////////////////////////// Una vez que incluyas esta función en ...
by Manuel Valdenebro
Thu Nov 20, 2008 6:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: oTop, oLeft, oBottom, oRight, oClient para redimensionar ??
Replies: 19
Views: 4080

... 0, 0, nBmpWidth( hBmp ), nBmpHeight( hBmp ), SRCCOPY ) SelectObject( hDCMem, hOldBmp ) DeleteDC( hDCMem ) */ ::Say( ::nHeight / 4 - 2,; If( ::lCentered, ( ::nWidth / 2 ) - ( GetTextWidth( ::hDC,; If( Empty( ::cMsg ), ::cMsgDef, ::cMsg ),; ::oWnd:oFont:hFont ) / 2 ), 4 ), If( Empty( ::cMsg ...
by FranciscoA
Wed Oct 15, 2008 12:09 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: No encuentro las mejoras hechas a xbrowse por franciscoA ??
Replies: 17
Views: 4452

... DATA oTimer DATA lScroll, lHorizontal, nSpeed, lWrap // nSpeed: 0 to 100 DATA lBlink, lView METHOD New( nRow, nCol, bText, oWnd, cPicture, oFont,; lCentered, lRight, lBottom, lBorder, lPixels, nClrText, nClrBack,; nWidth, nHeight, cScroll, nSpeed, lWrap, lBlink,; lDesign, lUpdate, lShaded, lBox, ...
by karinha
Tue Sep 23, 2008 7:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Para Karinha
Replies: 17
Views: 3680

Re: Resolución de Pantalla

... tengo. Muchas gracias Manuel, Busca: If lRepaint oWnd:Show() EndIf y sustitúyelo por: If lRepaint If( ( "DIALOG" $ oWnd:Classname() ) .and. oWnd:lCentered, WndCenter( oWnd:hWnd ) , Nil ) oWnd:Show() EndIf creo que ahora debería centrar los DIALOG (el nativo de FiveWin TDIALOG, y los propios tipo ...
by FiveWiDi
Wed Feb 27, 2008 12:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Resolución de Pantalla
Replies: 17
Views: 4994

... .t. ) // ntop,nleft,nbottom,nright end case next aRect = GetWndRect( ::hWnd ) ::Move( ntop,nleft,::nWidth*rsl0, ::nHeight*rsl1, .T. ) if ::lCentered WndCenter( ::hWnd ) else if Empty( ::cResName ) ::Move( ::nTop, ::nLeft ) endif endif return Shuming Wang
by ShumingWang
Fri Dec 21, 2007 12:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: regardless screen resolution
Replies: 5
Views: 1335

... estas líneas, no sería posible crear una cláusula AUTOWIDTH para los SAY? Algo así como: "METHOD New( nRow, nCol, bText, oWnd, cPicture, oFont,; lCentered, lRight, lBorder, lPixels, nClrText, nClrBack,; nWidth, nHeight, lDesign, lUpdate, lShaded, lBox, lRaised, lAutoWidth ) CLASS TSay .../... ...
by FiveWiDi
Sat Oct 06, 2007 9:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ComboBox mas amcho que el definido....
Replies: 10
Views: 1754

... (aRect[3] - aRect[1])*rsl1, .t. ) end next aRect = GetWndRect( ::hWnd ) ::Move( ntop,nleft,::nWidth*rsl0, ::nHeight*rsl1, .T. ) if ::lCentered WndCenter( ::hWnd ) else if Empty( ::cResName ) ::Move( ::nTop, ::nLeft ) endif endif return 2. on app activate dialog mydialog on init mydialog:autoresize() ...
by ShumingWang
Wed Jun 27, 2007 1:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Catering for Different User Screen Resolutions
Replies: 3
Views: 1136

... (aRect[3] - aRect[1])*rsl1, .t. ) end next aRect = GetWndRect( ::hWnd ) ::Move( ntop,nleft,::nWidth*rsl0, ::nHeight*rsl1, .T. ) if ::lCentered WndCenter( ::hWnd ) else if Empty( ::cResName ) ::Move( ::nTop, ::nLeft ) endif endif return In you app define dialog odlg redefine controls ...
by ShumingWang
Tue Apr 17, 2007 6:36 am
 
Forum: FiveWin for CA-Clipper
Topic: Change size to dialog during execution program
Replies: 4
Views: 2020

... TDIAG OF TDIALOG CLASSDATA lRegistered AS LOGICAL DATA lSomb AS LOGICAL INIT .F. DATA hFond,hPen,nDif METHOD Activate( bClicked, bMoved, bPainted, lCentered, bValid, lModal, bInit, bRClicked, bWhen, nClrShadow ) METHOD Initiate( hWndFocus, hWnd ) METHOD Paint() METHOD StartPaint() METHOD PintSombra() ...
by manuramos
Mon Apr 24, 2006 6:37 pm
 
Forum: FiveWin para CA-Clipper
Topic: Para Manu Ramos (diálogo con sombra)
Replies: 1
Views: 1018
Next

Return to advanced search