Search found 388 matches: nright

Return to advanced search

Re: Save dialog to Jpg

... local oRect:= oDlg:GetCliRect() If nType=1 oDlg:SaveAsImage( cFileJpg1, { oRect:nTop, oRect:nLeft, oRect:nbottom, oRect:nright-100 } ) else oDlg:SaveAsImage( cFileJpg2, { oRect:nTop, oRect:nLeft, oRect:nbottom, oRect:nright-100 } ) endif return nil[/img]
by Silvio.Falconi
Fri Nov 15, 2024 9:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Save dialog to Jpg RESOLVED
Replies: 3
Views: 136

Re: Save dialog to Jpg

... local cFileJpg2:= "TopTen_Lotto_Frequenti.jpg" If nType=1 oDlg:SaveAsImage( cFileJpg1, { 0, 0, oDlg:nbottom, oDlg:nright-100 } ) else oDlg:SaveAsImage( cFileJpg2, { 0, 0, oDlg:nbottom, oDlg:nright-100 } ) endif return nil Problems when the nType=1 save good https://i.postimg.cc/vHpzBfFV/Top-Ten-Lotto-Ritardatari.jpg ...
by Silvio.Falconi
Fri Nov 15, 2024 9:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Save dialog to Jpg RESOLVED
Replies: 3
Views: 136

Re: how to close downloaded files window in webview2

... >= 1.0; nTop *= GRP_CHARPIX_H; endif if nLeft >= 1.0; nLeft *= GRP_CHARPIX_W; endif if nBottom >= 1.0; nBottom *= GRP_CHARPIX_H; endif if nRight >= 1.0; nRight *= GRP_CHARPIX_W; endif endif ::CalcSize( @nTop, @nLeft, @nWidth, @nHeight, lRelPix, oWnd, @nBottom, @nRight ) */ ::nTop = ...
by russimicro
Mon Nov 11, 2024 3:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to close downloaded files window in webview2
Replies: 13
Views: 546

Re: ERROR. FWH 24_09 METROBUTTON-METROPANEL (solucion temporal)

... >= 1.0; nTop *= GRP_CHARPIX_H; endif if nLeft >= 1.0; nLeft *= GRP_CHARPIX_W; endif if nBottom >= 1.0; nBottom *= GRP_CHARPIX_H; endif if nRight >= 1.0; nRight *= GRP_CHARPIX_W; endif endif ::CalcSize( @nTop, @nLeft, @nWidth, @nHeight, lRelPix, oWnd, @nBottom, @nRight ) */ ::nTop = ...
by russimicro
Sat Nov 09, 2024 1:07 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ERROR. FWH 24_09 METROBUTTON-METROPANEL (solucion temporal)
Replies: 1
Views: 73

Re: Small RPreview

... one for exit and one for print how I can make ? If I use @ nTop + nMargineSuperiore,nLeft + nMargineSinistro PRINT TO oPrn IMAGE cFile ; SIZE nRight, nBottom CM ALIGN "T" and I have this result https://i.postimg.cc/v8NDg6Nd/4.jpg the image is not printed correctly ...
by Silvio.Falconi
Fri Oct 11, 2024 9:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Small RPreview
Replies: 4
Views: 297

Re: FWH64 : ERROR SE SALE DEL SISTEMA

... Len( cCaption ), Len( cTitle ) ) + 4 ; TITLE cTitle ; STYLE DS_MODALFRAME TRANSPARENT //BRUSH oBrush ENDIF oWait:cMsg := cCaption nWidth := oWait:nRight - oWait:nLeft ACTIVATE DIALOG oWait CENTER ; ON PAINT oWait:Say( 1, 0, xPadC( oWait:cMsg, nWidth ) ) ; NOWAIT SysRefresh() return (lVal) al cerrar ...
by CARLOS ATUNCAR
Tue Aug 20, 2024 2:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FWH64 : ERROR SE SALE DEL SISTEMA
Replies: 33
Views: 4357

Re: New FTDN April 2024 (FWH 24.04)

... en tiempo de ejecución. * Función RoundBox() nuevo undecimo parámetro nPenStyle, por defecto PS_SOLID. Sintaxis: RoundBox( hDC, nLeft, nTop, nRight, nBottom, ; nRound1, nRound2, nPenColor, nPenSize, ; nFillColor, nPenStyle ) * BtnBmp: Soporte de color Alfa. Soporte para fondos de color alfa. ...
by Antonio Linares
Wed May 01, 2024 7:04 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN April 2024 (FWH 24.04)
Replies: 1
Views: 2105

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: 1
Views: 2105

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

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

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

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

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

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

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: 868
Next

Return to advanced search