Search found 1124 matches

by Silvio.Falconi
Thu Jan 09, 2025 9:48 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Btnbmp with a line
Replies: 4
Views: 66

Re: Btnbmp with a line

Antonio Linares wrote: Thu Jan 09, 2025 1:42 pm You may use a TPanel object and paint what you need...
Resolved
although maybe I should calculate the length of the caption
oImage:bpainted:= { |hDC| MyLine(hDC,{oImage:nBottom - 50, 1,oImage:nWidth,147 },RGB(195,195,185),RGB(195,195,185)) }


Image
by Silvio.Falconi
Thu Jan 09, 2025 9:16 pm
Forum: FiveWin for Harbour/xHarbour
Topic: BTNBMP image
Replies: 0
Views: 21

BTNBMP image

I need to insert an image into a btnbmp obj that has a prompt, I would like the image to start from 0.0 and end just before the caption
I tried with adjust the image is inserted as I want but after the caption it is not underneath and you can't see it well
the images i use are not the same size ...
by Silvio.Falconi
Thu Jan 09, 2025 1:35 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Btnbmp with a line
Replies: 4
Views: 66

Re: Btnbmp with a line

Antonio Linares wrote: Thu Jan 09, 2025 1:14 pm Dear Silvio,

1. You can modify the Class TBtnBmp source code

2. You may try to use oBtnBmp:bPainted
I was inclined to go with the second option but
the problem is that if the text is bigger you should make the image smaller to give more prominence to the text
by Silvio.Falconi
Thu Jan 09, 2025 12:44 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Btnbmp with a line
Replies: 4
Views: 66

Btnbmp with a line

is it possible to create a dividing line between the image and the text in a btnbmp?

example

https://i.postimg.cc/DwYGn8n9/btnbmp.png


if there is no image the text must be in the center without the line

https://i.postimg.cc/5N4Qzw0c/g.png

I saw that if I upload an image on a white ...
by Silvio.Falconi
Tue Jan 07, 2025 7:23 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse autosort
Replies: 2
Views: 109

Re: xbrowse autosort

Marc,
I tried with

Code: Select all | Expand

WITH OBJECT oBrw
         :AddBitmap( { "SOR_TUP","SOR_TDW" } )

 WITH OBJECT  oBrw:aCols[1]
          :nHeadBmpNo := 1
                  :nHeadBmpAlign := AL_LEFT
                 END
Image

and not run k
by Silvio.Falconi
Tue Jan 07, 2025 11:15 am
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse autosort
Replies: 2
Views: 109

xbrowse autosort

WITH OBJECT oBrwSubCat
:AddBitmap( { "SOR_TUP","SOR_TDW" } )

this insert the bitmap on the right I think on default

How insert bitmaps at left before the title of column ?
by Silvio.Falconi
Tue Jan 07, 2025 9:15 am
Forum: FiveWin for Harbour/xHarbour
Topic: Touchscreen interface
Replies: 0
Views: 104

Touchscreen interface

I created a test dialog using these measurements

local nHt := Int( ScreenHeight() + 100 )
local nWd := Int( ScreenWidth() )

but does this work for all resolutions?

that is, if I run the test on a 10" laptop do I have the same configuration?

in this dialog i have a lot of btnbmp controls, how ...
by Silvio.Falconi
Fri Jan 03, 2025 7:34 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using Tget and Cuebanner
Replies: 24
Views: 617

Re: Using Tget and Cuebanner

Antonio Linares wrote:Dear Silvio,

Great! :-)

many thanks!
sent to you with pngs
by Silvio.Falconi
Fri Jan 03, 2025 2:01 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using Tget and Cuebanner
Replies: 24
Views: 617

Re: Using Tget and Cuebanner

Original

https://i.postimg.cc/8C01J3Ps/1.png

Made by me

https://i.postimg.cc/5t6JV3qJ/io.png

I'll Publish source code on afternoon

It 's a Resizable dialog As on original dialog of that italian Application


the source and pngs are on GitHub https://github.com/Falconisilvio/Customer ...
by Silvio.Falconi
Fri Jan 03, 2025 9:25 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using Tget and Cuebanner
Replies: 24
Views: 617

Re: Using Tget and Cuebanner

>There where some Gets with a + and - sign inside.
where ?
there are on xbrowse I think
by Silvio.Falconi
Thu Jan 02, 2025 6:20 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using Tget and Cuebanner
Replies: 24
Views: 617

Re: Using Tget and Cuebanner

this afternoon I made this like your image

Image

If you like it can continue to make it
by Silvio.Falconi
Thu Jan 02, 2025 12:27 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using Tget and Cuebanner
Replies: 24
Views: 617

Re: Using Tget and Cuebanner

Silvio,

This last picture is not from FWin forum, but a Software from Pictures of the NET.

Its just to have a idea. I did see some nice design from you, but when I come to one of them I will show you.

In fact, is you have 1 or 2 gets (only the code) where a lot of stuff in going on like ...
by Silvio.Falconi
Thu Jan 02, 2025 11:25 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using Tget and Cuebanner
Replies: 24
Views: 617

Re: Using Tget and Cuebanner

Antonio,

I think like this is nice. Bright and nice Icons.

I was playing with Cuebanner and the Infield code, but most likely the Normal Tget have more options in designing.

I will have to look fore some sample prg's where the Tget options are used for bitmap, colors and designing method/data ...
by Silvio.Falconi
Wed Jan 01, 2025 7:02 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using Tget and Cuebanner
Replies: 24
Views: 617

Re: Using Tget and Cuebanner

for a long time since I use harbour instead of clipper I have always used the source screenshots @x,y because the RC eats up a lot of memory, using the rc file only for the images.

I arrived at a personal technique using simply nRow:=10, ncol=5 and nLine spacing =30 obviously nLine spacing changes ...
by Silvio.Falconi
Tue Dec 17, 2024 8:23 am
Forum: FiveWin for Harbour/xHarbour
Topic: change buttonbar button
Replies: 1
Views: 200

Re: change buttonbar button - RESOLVED -

RESOLVED

DEFINE BUTTON aBtnBar[5] OF oBar PROMPT "Stampa" RESOURCE "PRN_REC" ;
ACTION PopupMenu():Activate( aBtnBar[5]:nTop + aBtnBar[5]:nHeight, aBtnBar[5]:nLeft, oDlg )