FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour New Hotspot-editor Release 1.1 ( Preview )
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
New Hotspot-editor Release 1.1 ( Preview )
Posted: Tue Aug 09, 2011 09: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.



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.
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: New Hotspot-editor Release 1.1 ( Preview )
Posted: Tue Aug 09, 2011 09:49 PM

Hello Uwe

Try a test with a TTitle instead Dialog ;-)

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: New Hotspot-editor Release 1.1 ( Preview )
Posted: Tue Aug 09, 2011 11:26 PM
Daniel,

is that,what You mean ?



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.
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: New Hotspot-editor Release 1.1 ( Preview )
Posted: Tue Aug 09, 2011 11:51 PM

Uwe

Yes, add shadow ;-)

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: New Hotspot-editor Release 1.1 ( Preview )
Posted: Wed Aug 10, 2011 09: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.



Because the Hotspot is defined on Windows Right :



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.



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.
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: New Hotspot-editor Release 1.1 ( Preview )
Posted: Thu Aug 11, 2011 05: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 :



Code (fw): Select all Collapse
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 :-)
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