MViControl Posted September 16, 2010 Report Posted September 16, 2010 Hi all, I try to add a pict ring in my program, and I will resize it by code. but when I change the size biger than the image in the box, I found the image can not scale with the size changing. Are there any way to scale the image with the size zoom out/in? Thx Quote
Yair Posted September 16, 2010 Report Posted September 16, 2010 As far as I know, you can't set the picture ring to scale the images. That said, I haven't used one in a long time. One thing you can do is implement the "ring" yourself by displaying an array of picture controls (or several pictures in a single control) and detecting which one was clicked using mouse down events. There are different ways of scaling images, and you can see one here. Quote
MViControl Posted September 18, 2010 Author Report Posted September 18, 2010 As far as I know, you can't set the picture ring to scale the images. That said, I haven't used one in a long time. One thing you can do is implement the "ring" yourself by displaying an array of picture controls (or several pictures in a single control) and detecting which one was clicked using mouse down events. There are different ways of scaling images, and you can see one here. Thanks Yair, I had ever thought I can use Pict Ring directly, now I try to made a xcontrol to impliment the function. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.