Question about a Hotspot-area on pictures + new Alpha-Tutor.

Post Reply
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Question about a Hotspot-area on pictures + new Alpha-Tutor.

Post by ukoenig »

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.

Image

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 :

Image

www.pflegeplus.com/fw_downloads/AlphaBMP.zip

Best regards

Uwe[/img]
Last edited by ukoenig on Thu Jun 05, 2008 11:33 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
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Uwe,

Nice examples! :-)

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

Antonio Linares
www.fivetechsoft.com
User avatar
mmercado
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: Question about a Action-area on pictures + new Alpha-Tut

Post by mmercado »

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.
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Action-Aerea on Backgrounds

Post by ukoenig »

Thank you very much Antonio, Manuel.

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

Image

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.
Post Reply