Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Mouse selection with picture

For general discussion related FlowStone

Mouse selection with picture

Postby rustyou » Mon Feb 10, 2014 10:49 pm

Hello,


i would like a image who change when i clik with my mouse. For to have a second picture after the clik.

How shall we do it?

Thank you,
rustyou
 
Posts: 93
Joined: Sat Jan 04, 2014 10:55 am
Location: France

Re: Mouse selection with picture

Postby Xtinct » Mon Feb 10, 2014 11:14 pm

Toggle switch loads images for on / off
Xtinct
 
Posts: 106
Joined: Fri Feb 11, 2011 12:06 am

Re: Mouse selection with picture

Postby rustyou » Tue Feb 11, 2014 10:09 pm

Hi,

Yes, but i want cliked on the picture for to see a second picture..... ?

without seeing switch... (only picture)
rustyou
 
Posts: 93
Joined: Sat Jan 04, 2014 10:55 am
Location: France

Re: Mouse selection with picture

Postby RJHollins » Tue Feb 11, 2014 10:23 pm

rustyou wrote:Hi,

Yes, but i want cliked on the picture for to see a second picture..... ?

without seeing switch... (only picture)

It's a neat trick, but what you can do is place a switch in with the picture ... expand the 'mouse area' to include the full pix if you like ... then, the trick ... HIDE the switch or remove the switch graphics.
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Mouse selection with picture

Postby rustyou » Tue Feb 11, 2014 10:36 pm

Ok,

Possible to have an exemple.. ?

Thank you,
rustyou
 
Posts: 93
Joined: Sat Jan 04, 2014 10:55 am
Location: France

Re: Mouse selection with picture

Postby Jay » Wed Feb 12, 2014 3:43 am

here you go! load your images with the modules properties panel

2pic.fsm
(167.43 KiB) Downloaded 832 times


regards
Jay
 
Posts: 276
Joined: Tue Jul 13, 2010 5:42 pm

Re: Mouse selection with picture

Postby rustyou » Wed Feb 12, 2014 7:13 pm

Hi :)

Yes it's good, but it's possible to charge different size for the picture ?

The first small... with a size define and the second big with a other size define ??



Thank you,
rustyou
 
Posts: 93
Joined: Sat Jan 04, 2014 10:55 am
Location: France

Re: Mouse selection with picture

Postby billv » Wed Feb 12, 2014 10:42 pm

Yeh..you got it...just define the bitmap size.
Invisible switch.fsm
(5.95 KiB) Downloaded 807 times
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: Mouse selection with picture

Postby RJHollins » Thu Feb 13, 2014 12:17 am

some good examples guys ...

billv ... your example is maintaining the same mouse 'active' area, rathing than changing with the bitmap size.
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Mouse selection with picture

Postby billv » Thu Feb 13, 2014 3:33 am

RJHollins wrote:billv ... your example is maintaining the same mouse 'active' area, rathing than changing with the bitmap size.

Good point..... ;) ...he might prefer it like that..
If that behaviour is required, he can just make another switch, re-size it, then switch it
same time as the the bitmaps.
Invisible switch_alt.fsm
(6 KiB) Downloaded 834 times
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Next

Return to General

Who is online

Users browsing this forum: No registered users and 71 guests