Search found 69 matches: path1

Return to advanced search

Re: How to fill a xBrowse-cell with a real image-BRUSH ?

I got it working now
format change and the image adjusted to cellsize

hBmp = ReadBitmap( 0, c_path1 + cData )
hBrush = CreatePatternBrush( hBmp )


Image

regards
Uwe
by ukoenig
Sat Jul 17, 2021 5:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to fill a xBrowse-cell with a real image-BRUSH ?
Replies: 4
Views: 676

Re: XBROWSE: Color of the record selector triangle

Günther, How can i change the color of the triangle? just use Your own selector-image //New Method SetRecSelBmp( uNew ) // Changing or omitting bitmap //If uNew is 0, no bitmap is displayed on record selector //If uNew is NIL, standard FWRArrow() bitmap is displayed //If uNew is imagefile or resourc...
by ukoenig
Wed Jul 29, 2020 11:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE: Color of the record selector triangle
Replies: 2
Views: 390

Re: Show an gdi trasparency

Try this ( NO border ) c_path := cFilePath(GetModuleFileName( GetInstance() ) ) c_path1 := c_Path + "IMAGES\" FUNCTION DRAWIMAGE( oWnd ) LOCAL oGraphics1 := Graphics():New( oWnd:hDC ) LOCAL oGraphics2 := Graphics():New( oWnd:hDC ) LOCAL oImage1 := GDIBmp():new( c_path1 + "Logo.png&quo...
by ukoenig
Thu Oct 17, 2019 2:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Show an gdi trasparency
Replies: 5
Views: 693

Re: @Uwe Install program for mod harbour

Hello Otto, the next release will include many improvements like a complete user defined visual-design :D Also I do not see the msginfos with the text what next to do. < what to do next > is defined inside the tooltip and show as message at the end of the buttonlist on button-action. it seems ...
by ukoenig
Sat Oct 05, 2019 8:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: @Uwe Install program for mod harbour
Replies: 20
Views: 3707

Re: A possible adjustment of a GET-action bmp ?

Silvio, I round the soluzione on last Summer but when you use resources not run a RESOURCE-test color and transparent my solution works as well it looks perfect now It 's good if It Is changed from linares maybe Antonio can check it it is just a little change http://www.pflegeplus.com/IM...
by ukoenig
Sat Oct 05, 2019 7:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A possible adjustment of a GET-action bmp ?
Replies: 6
Views: 942

A possible adjustment of a GET-action bmp ?

Hello, is it possible to make a little hight-adjustment of the imagesize close to the top using a GET with action ? With a background-color it doesn't look very nice. I'm using it for a color-selection. in METHOD CreateButton() CLASS TGet I noticed everywhere < ::nHeight - 4 > http://www&#...
by ukoenig
Thu Oct 03, 2019 6:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A possible adjustment of a GET-action bmp ?
Replies: 6
Views: 942

Re: Background color of TSay

Günther, my test @ 22, 20 SAY oCSay[1] PROMPT "Window" SIZE 28,12 FONT oFontSys PIXEL oCSay[1]:SetColor( 0, 255 ) // original @ 20, 50 GET oCGet[1] VAR cGet[1] SIZE 80, 18 OF oDlg2 COLOR 0, nWColorB UPDATE ; BITMAP c_Path1 + "Help.bmp" PIXEL ; ACTION ( nWColorB := ChooseColor( nW...
by ukoenig
Wed Oct 02, 2019 1:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Background color of TSay
Replies: 5
Views: 642

Re: A problem using xImage METHOD < Save and Paste >

I used it otherwise the painting is not included 1) Try "SaveAsViewed" and save as bmp file. The same usage but with a quality-difference // xImage DEFINE BUTTON OF oDlg:oBar PROMPT "Save xImage" CENTER ; ACTION ( oImage1:Save( .T., c_path1 + "EXPORT\" + "SAVED1.JP...
by ukoenig
Wed Sep 25, 2019 7:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A problem saving linecolors ( new image ) with xImage
Replies: 2
Views: 607

Re: Help for a XBrowse

Armando, In an Xbrowse I usually do the following for a logical field WITH OBJECT :aCols[09] :SetCheck( { "SI16","NO16" } ) END but what should I do for a decimal field ? I don't know exactly what You need just a sample ( any fieldtype ) // numeric :aCols[ 4 ]:nEditType := EDIT_B...
by ukoenig
Sun Sep 15, 2019 8:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help for a XBrowse (SOLVED THANKS UKOENIG)
Replies: 6
Views: 847

Re: Any tests drawing text with GDIPLUS ?

Christobal, thank You very much I remember :roll: I tested using a brushed font but that doesn't work ( just a idea ) aPalBmp := oWnd:ReadImage( c_Path1 + "Blustone.bmp", nil, .t. ) pBrush := GDIP_IMAGEBRUSH( aPalBmp[ 1 ] ) oGraphics:DrawText( nTop + ( nWidth / 2 ) - 15, nLeft + ( nWidth /...
by ukoenig
Sat Sep 14, 2019 12:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Any tests drawing text with GDIPLUS ?
Replies: 7
Views: 1541

Re: METRO with visible taskbar ?

Antonio, no changes needed, just a window adjustment ( NO window maximized ) If the slider is needed, just 1 line has to be changed METHOD Paint() CLASS TMetroPanel oRect:nTop := oRect:nBottom - SCRLB_HEIGHT adjusted to oRect:nTop := oRect:nBottom - SCRLB_HEIGHT - 40 The defined mainwindow DEFINE W...
by MarioG
Wed Jul 24, 2019 12:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: METRO with visible taskbar ?
Replies: 5
Views: 1355

Re: trasparent bitmap on xbrowse

I tested a solution that works in all directions The problem is not with bitmaps. The problem is with the painting of XBrowse. When we navigate to the cell with arrow-keys with go-up, go-down or go-left, the gap is not visible. But when we navigate to the cell with go-right or with a mouse click, th...
by ukoenig
Tue Jun 11, 2019 11:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: trasparent bitmap on xbrowse
Replies: 7
Views: 880

Re: Selecting numbers

Silvio, calculated button-position from get : @ 380, 570 GET oGet VAR cGet SIZE 130, 50 PIXEL OF oDlg // button adjusted to get size and position // the button-height should be close to the get-hight // otherwise the arrow will be stretched to much @ oGet:nTop +1, oGet:nRight BTNBMP oBtn OF oDlg ; S...
by ukoenig
Fri May 24, 2019 9:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Selecting numbers
Replies: 11
Views: 1091

Re: How to use GDIPLUS -> NewGradientBrush ?

We can define brushes for color and gradient CLASS Brush DATA hBrush METHOD NewSolidBrush METHOD NewGradientBrush how to define something like METHOD NewImageBrush :?: ------------ http://www.pflegeplus.com/IMAGES/GDI1.jpg The Bmp-brush is shown as a resized image not tiled Image-tes...
by ukoenig
Sun Apr 07, 2019 1:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to use GDIPLUS -> NewGradientBrush ?
Replies: 11
Views: 1760

Re: XBrowse - adding cellimages from DBF or array

Marc, I added the test but with different results 1. No resize of small images only images > cellsize are resized. 2. A visible celltext adding :lBmpStretch := .t. fills the cellarea but doesn't keep the aspect ratio http://www.pflegeplus.com/IMAGES/XbrwImage2.jpg WITH OBJECT oBrw...
by ukoenig
Wed Mar 13, 2019 4:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse - adding cellimages from DBF or array
Replies: 2
Views: 727
Next

Return to advanced search