New Hotspot-editor Release 1.1 ( Preview )

New Hotspot-editor Release 1.1 ( Preview )

Postby ukoenig » Tue Aug 09, 2011 9:26 pm

Hello,

tomorrow I will include the Download-link of my new Hotspot-editor.
You can define any Images for Windows and Dialog.
The Dialog-size can be defined from the Mainwindow.

Usage :

Click Top / Left and Bottom / Right on a Window or Dialog-area.
Clicking more than twice, will start with Top / left again.
That's all.
The Hotspot-area can be tested straight away with moving the Mouse over the defined Area.
The Edit-button shows the complete Source for Windows and Dialog with the defined Hotspot-areas.
Instead of the Messages, You can define any Action.

With the Tool it is very easy, to create a Visual-desktop without any Button.

Image

Best Regards
Uwe :lol:
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: New Hotspot-editor Release 1.1 ( Preview )

Postby Daniel Garcia-Gil » Tue Aug 09, 2011 9:49 pm

Hello Uwe

Try a test with a TTitle instead Dialog ;-)
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Re: New Hotspot-editor Release 1.1 ( Preview )

Postby ukoenig » Tue Aug 09, 2011 11:26 pm

Daniel,

is that,what You mean ?

Image

Best 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: New Hotspot-editor Release 1.1 ( Preview )

Postby Daniel Garcia-Gil » Tue Aug 09, 2011 11:51 pm

Uwe

Yes, add shadow ;-)
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Re: New Hotspot-editor Release 1.1 ( Preview )

Postby ukoenig » Wed Aug 10, 2011 9:13 am

Daniel,

works fine now on both Window and Dialog.

Added a Logo, Shaddow and BtnBmp ( Exit )
A Calculation of the Position : the Message is shown normally on Bottom / Right of the Hotspot.
On Hotspots are defined on Bottom / Right of a Window or Dialog,
the Tooltip will change the Position to Top / Left of the Hotspot.

Image

Because the Hotspot is defined on Windows Right :

Image

Normally behavior : the Tooltip closes after leaving the Hotspotarea.
Now optional, I can force the Tooltip to stay open on Screen, to use the Logo and Button for Action.

Image

Best Regards
Uwe :lol:
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: New Hotspot-editor Release 1.1 ( Preview )

Postby ukoenig » Thu Aug 11, 2011 5:21 pm

The Painter creates a single Hotspot.
You can use the created Single Hotspots and add them ( multiple ) to the Output-Function.
Just 1 VTitle displays different Messages.
The Download will include a Prg calls Multiple.prg as a Sample.
The Tool creats a working PRG and EXE like my other Tools.

Displaying multiple Hotspots.
The Function is called after the 2. Mouseclick on Screen ( Top/Left/Bottom/Right -Info is completed ) :

New : complete Source-line to add a single Hotspot to Multiselection :

Image

Code: Select all  Expand view

FUNCTION T_DISPLAY1(nRow, nCol)

IF nRow >= 239 .and. nRow <= 364 .and. nCol >= 241 .and. nCol <= 366
    IF lMessage1 = .F.
        lMessage1 := .T.
        SHOW_MSG1(239, 364, 241, 366, ;
               "HeadLine Hotspot 1", ;
               "Text 1 Hotspot 1", ;
               "Text 2 Hotspot 1", ;
               "Text 3 Hotspot 1", ;
               "Text 4 Hotspot 1" )
    ENDIF
ELSEIF nRow >= 321 .and. nRow <= 431 .and. nCol >= 741 .and. nCol <= 847
    IF lMessage1 = .F.
        lMessage1 := .T.
        SHOW_MSG1(321, 431, 741, 847, ;
               "HeadLine Hotspot 2", ;
               "Text 1 Hotspot 2", ;
               "Text 2 Hotspot 2", ;
               "Text 3 Hotspot 2", ;
               "Text 4 Hotspot 2" )      
    ENDIF
ELSEIF  lMessage1 = .T.
    // NIL = Message stays on Screen
    // Autoclose
    oBar1:End()
    lMessage1 := .F.
ENDIF

RETURN ( NIL )
 


Best Regards
Uwe :lol:
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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 21 guests