btnbmp or buttonbmp or rbtn ??

btnbmp or buttonbmp or rbtn ??

Postby Silvio.Falconi » Sun May 28, 2017 11:15 pm

I wish give to my button this effect (Shiny effect with shadow)

Image

wich class I must use ? and How ? ( small sample pls)
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7034
Joined: Thu Oct 18, 2012 7:17 pm

Re: btnbmp or buttonbmp or rbtn ??

Postby ukoenig » Mon May 29, 2017 8:02 am

Silvio,

as far as I know, there are NO shadow defines ( size and color ) on button-classes.
I use TTitle to create a extra button-style
Because there is a action only on the image-area, I found a solution to get a action
on the full TTitle-size.

a sample creating a < EXIT-button with shadow and 2 textcolors >
The EXIT-button is shown because of a empty folderpage with no sample.

The second image uses a non visible transparent image and covers the full TTitlesize.
That makes it possible to get a action on the full ttitle and not only a defined image.

Image

It is my EXIT-button to notify unused sections and undefined samples.

Image

regards
Uwe :D
Last edited by ukoenig on Mon May 29, 2017 11:52 am, edited 1 time in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: btnbmp or buttonbmp or rbtn ??

Postby Silvio.Falconi » Mon May 29, 2017 11:21 am

no sorry
the shadow is on center of the button where is the line with curve and it make to a button an effect as a shadow and the button seem Shiny no opaque
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7034
Joined: Thu Oct 18, 2012 7:17 pm

Re: btnbmp or buttonbmp or rbtn ??

Postby ukoenig » Mon May 29, 2017 11:31 am

Silvio,

with TTitle I can create a button using a full size image as background that looks the same
like Your screenshot. The button-shadow can be on any position You like.
I will test it with my sample-collector.

regards
Uwe
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: btnbmp or buttonbmp or rbtn ??

Postby Silvio.Falconi » Mon May 29, 2017 11:50 am

I must use a button class have color and in future the possibility to insert images
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7034
Joined: Thu Oct 18, 2012 7:17 pm

Re: btnbmp or buttonbmp or rbtn ??

Postby ukoenig » Mon May 29, 2017 11:54 am

Silvio,

I wish give to my button this effect (Shiny effect with shadow)


my test works creating a second button.
If needed I can include a second ( small image animated )

Image

...and in future the possibility to insert images


Image

regards
Uwe :D
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: btnbmp or buttonbmp or rbtn ??

Postby Silvio.Falconi » Mon May 29, 2017 3:34 pm

do you use btnbmp from my image ?
I not mean this
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7034
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 17 guests