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
Multiple views (Ruby)
6 posts
• Page 1 of 1
Multiple views (Ruby)
Hi Guys
The manual (page 156) mentions multiple views but doesn't explain how to use them. In the example below, how would I draw to the bottom view only?
As always any advice much appreciated.
Thanks in advance
Dave
The manual (page 156) mentions multiple views but doesn't explain how to use them. In the example below, how would I draw to the bottom view only?
As always any advice much appreciated.
Thanks in advance
Dave
-
DaveyBoy - Posts: 131
- Joined: Wed May 11, 2016 9:18 pm
- Location: Leeds UK
Re: Multiple views (Ruby)
Use the first parameter of draw to distinguish which view is requesting the draw, for example like this:
- Attachments
-
- ruby multi view.fsm
- (549 Bytes) Downloaded 956 times
- TheOm
- Posts: 103
- Joined: Tue Jan 28, 2014 7:35 pm
- Location: Germany
Re: Multiple views (Ruby)
Yes that works
Thanks TheOm
Thanks TheOm
-
DaveyBoy - Posts: 131
- Joined: Wed May 11, 2016 9:18 pm
- Location: Leeds UK
Re: Multiple views (Ruby)
Hmmmm now I have another issue:
The mouseover is still active in the top view... any way to stop this?
Thanks again in advance
The mouseover is still active in the top view... any way to stop this?
Thanks again in advance
-
DaveyBoy - Posts: 131
- Joined: Wed May 11, 2016 9:18 pm
- Location: Leeds UK
Re: Multiple views (Ruby)
It seems to be a bug. In the mouse-related methods the input ("i") object doesn't work. It always is index 0 by default and empty name (""). While in the draw method it is correctly indexed both by number and by name.
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
Re: Multiple views (Ruby)
Thanks KG
Seems this has been mentioned before, I was just about to give up when I found this thread:
http://www.dsprobotics.com/support/viewtopic.php?f=2&t=3518&hilit=multiple+view&start=10
So adapting Tronic's "Trigger View" workaround and changing the cursor all is good
It is a bit of a hack but it works!
Hope this will help someone else in the future until the bug is fixed
Thanks again KG
Seems this has been mentioned before, I was just about to give up when I found this thread:
http://www.dsprobotics.com/support/viewtopic.php?f=2&t=3518&hilit=multiple+view&start=10
So adapting Tronic's "Trigger View" workaround and changing the cursor all is good
It is a bit of a hack but it works!
Hope this will help someone else in the future until the bug is fixed
Thanks again KG
-
DaveyBoy - Posts: 131
- Joined: Wed May 11, 2016 9:18 pm
- Location: Leeds UK
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 70 guests