FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour btnbmp or buttonbmp or rbtn ??
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
btnbmp or buttonbmp or rbtn ??
Posted: Sun May 28, 2017 11:15 PM
I wish give to my button this effect (Shiny effect with shadow)



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 March-April 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
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: btnbmp or buttonbmp or rbtn ??
Posted: Mon May 29, 2017 08: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.



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



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.
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: btnbmp or buttonbmp or rbtn ??
Posted: 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 March-April 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
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: btnbmp or buttonbmp or rbtn ??
Posted: 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.
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: btnbmp or buttonbmp or rbtn ??
Posted: 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 March-April 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
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: btnbmp or buttonbmp or rbtn ??
Posted: 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 )



...and in future the possibility to insert images




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.
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: btnbmp or buttonbmp or rbtn ??
Posted: Mon May 29, 2017 03: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 March-April 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

Continue the discussion