Move controls and set font sizes on the fly

  • Thread starter Thread starter John S
  • Start date Start date
J

John S

How can I move controls and set their forecolor and font size in code
on the fly?
 
Hi...

If you mean on Windows Forms, simply set the properties (Location) to the
new values. If you don't see an update right away, make sure it issue a
repaint -- e.g., myForm.Refresh().

John
..NET Guy
 

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

Back
Top