Search found 1473 matches: nwidth

Return to advanced search

usando listbox

tengo un dialogo con un listbox y necesito cambiar su tamaño de dibujado dinamicamente, he estado probando nleft, nwidth , ntop etc.. y ninguna forma de cambiar sus dimensiones parece funcionarme, el codigo que lo declara es este y luegoo no encuentro la forma de cambiar sus dimensiones, ...
by Peter616
Tue Jul 04, 2023 1:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: usando listbox
Replies: 3
Views: 249

PaintBorder of Btnbmp ( fwteam)

... to propose these changes to the fwteam #define WHITE_PEN 6 // add this on top METHOD PaintBorder() CLASS TBtnBmp local nAdjustBorder := 0 local nWidth, nAdj, oCli local nRound := If( ::lRound, ::nRound, 0 ) local hWhitePen, hGrayPen, hOldPen add these line 1752 //if ! ::lPressedif !   ::lMOver  ...
by Silvio.Falconi
Sat Jun 10, 2023 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PaintBorder of Btnbmp ( fwteam)
Replies: 1
Views: 151

Re: BtnBmp and oPopup

>FW_DrawImage( hDC, "c:\fwh\bitmaps\alphabmp\ichat.bmp", {::nHeight-30, ::nWidth-25, ::nHeight - 10, ::nWidth-5}, .t. ) for me it's no good perhaps... data hBmpPop on METHOD Paint() CLASS TBtnBmp if ::oPopup != nil if ::hBmpPop != 0        DrawBitmap( ...
by Silvio.Falconi
Wed Jun 07, 2023 8:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BtnBmp and oPopup
Replies: 4
Views: 396

Re: FOLDEREX ON PAINT -> TFolderEx() how ?

... ) ) ) )},, .T., 50,,;        .F.,, .F.,, "oFld" ) this i compare with Parameter in my CODE oTab_Left := TFolderEx() :New( 40 + nBB, 1, ( nWidth / 2 ) - 05, nHeight - 180 - nBB, oMain, ; aBitmaps, lPixel, lDesign, aPrompts, nFolderHeight, ; aHelps, nRound, bAction, bClrTabs, bClrText, ...
by Jimmy
Fri May 19, 2023 9:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FOLDEREX ON PAINT -> TFolderEx() how ?
Replies: 2
Views: 204

FOLDEREX ON PAINT -> TFolderEx() how ?

... Parameter of TFolderEx() :New() are ON PAINT TAB ON PAINT TEXT => ; [<oFolder> := ] TFoldereX():New( <nRow>, <nCol>, <nWidth>, <nHeight>,; <oWnd>, [\{<cbmps>\}], <.lPixel.>, <.lDesign.>, [\{<cPrompt>\}], ; <ntabheight>, [\{<cnHelpids>\}], ...
by Jimmy
Fri May 19, 2023 5:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FOLDEREX ON PAINT -> TFolderEx() how ?
Replies: 2
Views: 204

Re: New FTDN April/Abril 2023 (FWH 23.04)

... nulo, el formato se devuelve en este parámetro. * Nuevo: Nueva función FW_ImageToBlob( [npImage], [cType], [nJpgQuality], ; [lAlpha], [nClrBack], [nWidth], [nHeight] ) ; --> cBlob - 1. npImage: Opcional. hBitmap o puntero de imagen GDI+. Si es nulo, por defecto hBitmap desde el portapapeles, ...
by Antonio Linares
Thu May 04, 2023 6:37 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2023 (FWH 23.04)
Replies: 4
Views: 1762

also the error end on tbtnbmp

... I got the error is a simple btnbmp control that opens a popup menu https://i.postimg.cc/6TsL3c6w/mmmm.png @ oBrw:nBottom+2, oBrw:nWidth-20 BTNBMP aBtnBrow[3] ; FLAT .... ACTION ::ShowPopUp( { |oBtn| MenuContextual(oBtn,oBrw,oDbf,cIniUser,cSection,,,oDlg,aBtnBrow[4]) } ) Error ...
by Silvio.Falconi
Wed May 03, 2023 8:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: also the error end on tbtnbmp
Replies: 4
Views: 187

New FTDN April/Abril 2023 (FWH 23.04)

... and nFormat is nil, the format is returned in this parameter. * New: FW_ImageToBlob( [npImage], [cType], [nJpgQuality], ; [lAlpha], [nClrBack], [nWidth], [nHeight] ) ; --> cBlob - 1.npImage: Optional. hBitmap or GDI+ image pointer If nil, defaults to hBitmap from Clipboard, if available. - ...
by Antonio Linares
Tue May 02, 2023 7:08 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2023 (FWH 23.04)
Replies: 4
Views: 1762

printer class printimage

... 0 )   Called from: source\ut_preview.prg => PRNIMAGE( 409 ) I cal this method with oPrn:PrintImage( nRow,nCol,cImage,nWidth,nBottom,; lStretch, nAlpha, lTransp, lGray,; cUnits, cAlign) where is the error ?
by Silvio.Falconi
Tue Apr 18, 2023 10:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: printer class printimage
Replies: 7
Views: 627

Ayuda por favor con folder y listbox

... DIALOG 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 ( iif ( trabajard <> "S", ...
by jpcavagnaro
Wed Mar 29, 2023 12:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ayuda por favor con folder y listbox
Replies: 1
Views: 238

Re: Bad look btnbmp disable()

... oDlg:bPainted := < |hDC| oBtn:setsize(20,17.6) // this because the obtn is more big with png DRAWBORDER( hDC, oBtn:nLeft-2, oBtn:ntop-2,; oBtn:nWidth+2, oBtn:nHeight+2 , 0, 1, Rgb(195,195,185), .t. ) RETURN NIL > ACTIVATE DIALOG oDlg.... Result ( in my opinion it is better to see the bmp ...
by Silvio.Falconi
Thu Mar 09, 2023 9:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bad look btnbmp disable()
Replies: 9
Views: 723

Re: Brush on btnbmp with color

... because I'm old man , but here I see the border color allways black https://i.postimg.cc/CKC4YVFZ/k.jpg @ oBrw:nBottom+1, oBrw:nWidth-44.4 BTNBMP aBtnBrow[1] SIZE 20,20 PIXEL OF oDlg NOROUND 2007 aBtnBrow[1]:bClrGrad := { |lInvert| If( lInvert, aBru[ 2 ]:hBrush, aBru[ 1 ]:hBrush ...
by Silvio.Falconi
Fri Mar 03, 2023 11:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Brush on btnbmp with color
Replies: 8
Views: 688

Re: Problem Xbrowser Border

... and I resolved with oDlg:bPainted := < |hDC| DRAWBORDER( hDC, oBrw:nLeft-2, oBrw:ntop-2,; oBrw:nWidth+2, oBrw:nHeight+62 , 0, 1, Rgb(195,195,185), .t. ) RETURN NIL > why do we have to resort to these tricks , while the xbrowse class should ...
by Silvio.Falconi
Fri Mar 03, 2023 10:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem Xbrowser Border
Replies: 11
Views: 1026

GetImage with xImage

... run @ nRow, 440 XIMAGE oImage ; FILENAME IF(empty(cImmagine ),cDefaImage,cImmagine );// NOBORDER ; SIZE 350,174 ; OF oDlg ; UPDATE @ nRow, oDlg:nWidth-50 BTNBMP oBtnSel[6] FLAT SIZE 30, 24 OF oDlg PIXEL ; COLOR nRgb(238,236,219),nRgb(238,236,219) ; BITMAP ".\bitmaps\folder_add.png" ...
by Silvio.Falconi
Sat Feb 18, 2023 6:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GetImage with xImage
Replies: 1
Views: 202

Re: Resize TFolder() / TFolderEx() : Dialogs

Dear Jimmy,

Please try:

oTab:aDialogs[ ii ]:SetSize( nWidth, nHeight )
by Antonio Linares
Sat Feb 11, 2023 11:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resize TFolder() / TFolderEx() : Dialogs
Replies: 3
Views: 320
PreviousNext

Return to advanced search