Designing Menus To Change Control Properties

O

onionman07

I am having a problem with a program i am trying to develop that uses
menus to modify and track current properties of controls on a form. I
have 2 PictureBox controls where I can choose how to change their
properties. What I have to do is change colors, increase or decrease
the size by 5 pixels or move them in any direction 10 pixels. I also
have a Menu Item that you can choose whether you want to see 1 or 2
picture boxes.
 
H

Herfried K. Wagner [MVP]

onionman07 said:
I am having a problem with a program i am trying to develop that uses
menus to modify and track current properties of controls on a form. I
have 2 PictureBox controls where I can choose how to change their
properties. What I have to do is change colors, increase or decrease
the size by 5 pixels or move them in any direction 10 pixels. I also
have a Menu Item that you can choose whether you want to see 1 or 2
picture boxes.

What's the exact problem? You can simply access the controls
('Me.PictureBox1.Width = ...') in the menu item's 'Click' event handler.
 
O

onionman07

What's the exact problem? You can simply access the controls
('Me.PictureBox1.Width = ...') in the menu item's 'Click' event handler.

The exact problem is I have to increase or decrease the size of a
picture box by using a menu. I also have to move it as well.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top