Profile Picture

Pan and Zoom Control buttons

Posted By Jason Irby 10 Years Ago
Author
Message
Jason Irby
Posted 10 Years Ago
View Quick Profile
Forum Member

Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 59, Visits: 77

On the pan and zoom control (ver. 10.6.23.12) the +,- zoom button images have a black border.
My boss doesn't like that.  Is there an easy way to turn that off?

Thanks in advance,
Jason



Nevron Support
Posted 10 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
Hi,
You can change the images of the zoom in and zoom out buttons of the pan and zoom control using the following code:

NButton zoomOutButton = (NButton)panAndZoom.Controls[1].Controls[0].Controls[1];
zoomOutButton.Image = zoomOutImage;

NButton zoomInButton = (NButton)panAndZoom.Controls[1].Controls[0].Controls[2];
zoomInButton.Image = zoomInImage;



Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic