Search found 381 matches: nright

Return to advanced search

New FTDN April 2024 (FWH 24.04)

... can be toggled during runtime also. * function RoundBox() new 11th parameter nPenStyle, default PS_SOLID Syntax: RoundBox( hDC, nLeft, nTop, nRight, nBottom, ; nRound1, nRound2, nPenColor, nPenSize, ; nFillColor, nPenStyle ) * BtnBmp: Alpha Color support Support for alpha color backgrounds. ...
by Antonio Linares
Wed Apr 24, 2024 7:14 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April 2024 (FWH 24.04)
Replies: 0
Views: 44

Re: Another for Btnbmp

... Otto local hPen, oCli := ::GetCliRect() hPen = CreatePen( PS_SOLID, 1, nRGB( 255, 0, 0 ) ) WndBoxClr( ::GetDC(), 1, 1, oCli:nBottom - 2, oCli:nRight - 2, hPen ) DeleteObject( hPen )
by Otto
Tue Mar 26, 2024 12:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 4962

Re: GROUPBOX

... ]; [ TRANSPARENT ] <nTop> , <nLeft> To specify the top and left coordinates. <oGroup> The variable to containt the object. <nRight>, <nBottom> To specify the right and bottom coordinates. <cLabel> The caption of the group. <oWnd> The window or dialogbox ...
by TimStone
Tue Feb 27, 2024 7:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GROUPBOX
Replies: 3
Views: 178

Re: nYoffset and nXoffset

I do not see that method box supports: nXoffset or nYottset. Look into printer.prg. METHOD Box( nRow, nCol, nBottom, nRight, oPen ) INLINE ; Rectangle( ::hDCOut, nRow, nCol, nBottom, nRight,; If( oPen != nil, oPen:hPen, 0 ) ) it's not the problem of oPrn:Box, but I think you have ...
by Silvio.Falconi
Mon Jan 15, 2024 9:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: nYoffset and nXoffset
Replies: 11
Views: 832

Re: nYoffset and nXoffset

I do not see that method box supports: nXoffset or nYottset.
Look into printer.prg.
METHOD Box( nRow, nCol, nBottom, nRight, oPen ) INLINE ;
Rectangle( ::hDCOut, nRow, nCol, nBottom, nRight,;
If( oPen != nil, oPen:hPen, 0 ) )
by Otto
Mon Jan 15, 2024 9:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: nYoffset and nXoffset
Replies: 11
Views: 832

Re: Create a Panel width a text

... Please look for DT_CALCRECT in FWH *.prg source code for code examples yes, I allredy found DrawTextEx( ::hDC, cMessage , {nTop,nLeft,nBottom,nRight} ) but when I have the new cMessage ( edited) I must modify 3 controls on line 1. the TaskPanel 2. the first panel ( shadow) 3. the second Panel ...
by Silvio.Falconi
Fri Jan 05, 2024 10:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 3192

Re: Animaciones en dialogos

Hola, Probablemente se pueda conseguir esos efectos modificando los nTop, nLeft, nBottom y nRight del dialogo combinado con las iteracciones y los sleeps necesarios En lenguaje harbour con fwh consigueme un dialogo que se mueva desde la parte inferior de la pantalla ...
by paquitohm
Wed Dec 27, 2023 5:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Animaciones en dialogos
Replies: 2
Views: 389

Re: Definir font richedit5

... "Desvio", 9, 9, 30, 140 ) sin definir en el programa, lo que hice fue definir: Function RichEdit5( cText, cTitle, nTop, nLeft, nBottom, nRight ) local oFont, oDlg local hDLL local uTemp := If( ! Empty( cText ), cText, '' ) local lRich := .F., lGTF := .F., lOk := .F. publ oMemo DEFAULT ...
by jpcavagnaro
Tue Dec 26, 2023 11:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Definir font richedit5
Replies: 3
Views: 603

Re: Desaparecen controles en Folder - Ayuda por favor

... 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" los controles. Lo dicho, tal ...
by JESUS MARIN
Tue Jul 18, 2023 5:53 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Desaparecen controles en Folder - SOLUCIONADO
Replies: 65
Views: 2360

add items on ScrollPanels

... the test I made add the items the second oitem is too big from first why ? the oitem right must be opanel:nright-50 why is more big ? the test  #include"fivewin.ch"Function  Test()    local oDlg    local nRow    local aBtnCalc:=array(9)  ...
by Silvio.Falconi
Thu Jun 08, 2023 9:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: add items on ScrollPanels
Replies: 2
Views: 165

Re: Numeric alignment with oPrn:SayText( )

... { 30, 0, h, w }, "T", oSmal ) Parameters: 1. cText. ANSI/Unicode single or multi-line text 2. aRect : { nTop, nLeft, nBottom, nRight } in pixels Defaults to ClientRect All co-ordinates are relative to Client Rect. Coordinates: nil --> default to the border >= 1 --> ...
by Marc Venken
Wed May 17, 2023 10:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Numeric alignment with oPrn:SayText( )
Replies: 8
Views: 535

Re: printer class printimage

... nil  Sorry Nages I need to print an Image with Border or not with Border and I have the x,y and sizes on cm I made: I have nTop,nLeft,nRight,nBottom on cm meausure nTop:= 0.10 nLeft := 0.50 nRight:= 1 nBottom:=1 Function PrintImage(nTop,nLeft,nRight,nBottom,cFile,oPrn)    local ...
by Silvio.Falconi
Thu Apr 20, 2023 10:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: printer class printimage
Replies: 7
Views: 627

Richedit5 controlar salida sin guardar

... controlar si modificaron el texto y salieron por la X sin guardar, se puede? Static Function RichEdit5( cText, cTitle, nTop, nLeft, nBottom, nRight ) local oFont, oDlg, oMemo local hDLL local uTemp := If( ! Empty( cText ), cText, '' ) local lRich := .F., lGTF := .F., lOk := .F. DEFAULT nTop ...
by jpcavagnaro
Tue Mar 21, 2023 3:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Richedit5 controlar salida sin guardar
Replies: 0
Views: 169

Re: WBrowse - color fondo cabecera y Congelar columnas- consulta

... de columna de ordenamiento actual (WBrowse.prg) ..... if ! lTree if nRowPos == 0 if ! IsAppThemed() WndBox( hDC, nTop - 1, nLeft - 1, nBottom, nRight ) WndBoxRaised( hDC, nTop, nLeft, nBottom - 1, nRight - 1 ) ---> José Concha, desde aquí mí código <--- if n == nColuAct --> (si es ...
by José
Tue Mar 21, 2023 2:33 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: WBrowse - color fondo cabecera y Congelar columnas- consulta
Replies: 6
Views: 618

Scroll of Panel not at the same Height of Xbrowse

... I must set the scroll to have the same height of the xbrowse ? I made oDlg:bResized := <|| local oRect := oDlg:GetCliRect() oBar:nWidth:= oRect:nRight oBrw:nWidth:= oRect:nRight-290 oBrw:nHeight:= oRect:nBottom-45 oPanel:nTop := oRect:ntop +40 oPanel:nLeft := oRect:nleft+5 oPanel:nBottom := ...
by Silvio.Falconi
Wed Jan 11, 2023 10:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Scroll of Panel not at the same Height of Xbrowse
Replies: 2
Views: 301
Next

Return to advanced search