07-06-2012 08:55 AM
Hi,
I am trying to implement Graph palette like control for my application.
Graph palette has 3 controls - cursor, zoom and hand tool. Cool thing is the zoom control. When you click on that - a picture menu(like, picture ring control) pops up. How can I implement a control like this?
Thanks,
Ritesh
07-06-2012 08:56 AM
07-06-2012 09:10 AM
Hi Gerd,
maybe, if you look at the graph palette it'll make more sense.
The palellte looks like this
And when you select the zoom control, it looks like this
07-06-2012 09:14 AM - edited 07-06-2012 09:15 AM
07-06-2012 09:33 AM
Yes, I have already implemented that part.
In the picture control, the control shows the currently selected picture.
But in the palette, the control always displays the zoom button
Seems like the palette is using a boolen button for zoom, and somehow making the picture ring control menu visible when you click on it.
07-06-2012 09:41 AM - edited 07-06-2012 09:42 AM
Hi Ritesh,
is it that bad to show the current state of the zoom mode selection?
If you want to simulate the graph palette in all and every feature, I would suggest to use (customized) boolean buttons. When the user clicks on "zoom" you open a small window (positioned above "zoom") showing another boolean buttons!
Maybe someone else will have a more simple idea...
Btw. you could have explained your actual point in this question a lot earlier...
07-06-2012 10:16 AM
Hi GerdW,
Even though it is not necessary to show the "zoom" pic on the control, I really like the way it is implemented in the palette. So I am just curious to know how it can be implemented as it looks really nice and slick.
Thanks,
Ritesh
08-27-2012 08:57 AM
Hi there,
I created an XControl which has the functionallity you describe.
I showed the functionallity in a gif image:
Here is the link:
You can change the visual appearance by replacing the image of each element (Swipe data, Scale Box, etc.)
Let me know what you think of it and wether or not you want some improvements.