FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Question about a Hotspot-area on pictures + new Alpha-Tutor.
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Question about a Hotspot-area on pictures + new Alpha-Tutor.
Posted: Wed Jun 04, 2008 06:16 PM
Hello,

I'm busy with graphic-testing.
Soon it is possible, to do very nice things with all the new options.
Here is a sample with a added browser on a Alpha-BMP with two buttons.
If you need a special Alphablended BMP-symbol, i can send it to you
or put it as a download in the forum.

A new tutorial for Photoshop ( based on Antonio's video )
with 11 pages in english / german is included in this toppic.
As well, i'm working on a collection of very nice alphablended BMP's,
you can use in your application.



I nice option would be, to define a 'Hot' - area on a picture,
to start a action. I don't know, if that is possible maybe
in the future.

complete new Photoshop - tutorial ( 11 pages ) in Engl./Ger.
download :



www.pflegeplus.com/fw_downloads/AlphaBMP.zip

Best regards

Uwe[/img]
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: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Question about a Hotspot-area on pictures + new Alpha-Tutor.
Posted: Thu Jun 05, 2008 07:21 AM

Uwe,

Nice examples! :-)

We will have mouse control as soon as we integrate AlphaBlending into Class TBitmap

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 782
Joined: Wed Dec 19, 2007 07:50 AM
Re: Question about a Action-area on pictures + new Alpha-Tut
Posted: Thu Jun 05, 2008 11:10 AM
ukoenig wrote:I nice option would be, to define a 'Hot' - area on a picture, to start a action. I don't know, if that is possible maybe
in the future.
Hi Uwe:

You can do it now:

1.- Extend Class TBitmap With Data aHotSpot
2.- Extend Class TBitmap With Method AddHotSpot
3.- Extend Class TBitmap With Method CheckHotSpot
4.- Override Method lButtonUp In Class TBitmap With Bmp_lButtonUp

You may take AddHotSpot, CheckHotSpot and lButtonUp methods from TSButton.prg

Regards.

Manuel Mercado

PD Antonio, would be usefull to add this feature to your TBitmap class.
manuelmercado at prodigy dot net dot mx
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Action-Aerea on Backgrounds
Posted: Thu Jun 05, 2008 11:13 AM
Thank you very much Antonio, Manuel.

Using the sample above, it is easy to explain, what i mean.



To create a photobook, i have to cover the selected aereas
with a button like < REDEFINE BUTTONBMP oBtn2 ID 110 OF oDlg >
The button has to be transparent or hidden,
or define a Hotspot-aerea.
As in my sample : the screen-picture has a switch ON/OFF-button
I cover this area with a transparent button.
When the user is connected to this aerea, at first he will see
a tooltip with global informations.
When he does a click on the screen-area ( covered with BUTTONBMP,
or as a Hotspot ),
he gets detail-informations.

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.

Continue the discussion