Page 1 of 1

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

Posted: Wed Jun 04, 2008 6:16 pm
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]

Posted: Thu Jun 05, 2008 7:21 am
by Antonio Linares
Uwe,

Nice examples! :-)

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

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

Posted: Thu Jun 05, 2008 11:10 am
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.

Action-Aerea on Backgrounds

Posted: Thu Jun 05, 2008 11:13 am
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