Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. Quick easy way to set a whole form back to default design state...

Quick easy way to set a whole form back to default design state...

Scheduled Pinned Locked Moved Visual Basic
designhelptutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Joey Picerno
    wrote on last edited by
    #1

    I am allowing the users to choose multiple background images for my menustrip and statusstrip. I need to know how to set these back to their original images after they have been changed. The text(fore) colors will also change when each image is changed so these need to be set back to their original color as well. Is their something that just sets all the controls on a forms property to what they were at initial form load???? Anyone that can help me with this would be fantastic and will save me many headaches. Thank you!!!! -Joey

    N 1 Reply Last reply
    0
    • J Joey Picerno

      I am allowing the users to choose multiple background images for my menustrip and statusstrip. I need to know how to set these back to their original images after they have been changed. The text(fore) colors will also change when each image is changed so these need to be set back to their original color as well. Is their something that just sets all the controls on a forms property to what they were at initial form load???? Anyone that can help me with this would be fantastic and will save me many headaches. Thank you!!!! -Joey

      N Offline
      N Offline
      nlarson11
      wrote on last edited by
      #2

      check for method of the control for something like 'reset'. if there isn't one then look at the designer to know how at design time the control is set and then copy those lines of code and put them in a reset routine to be able to programmatically reset it back to it's original state.

      J 1 Reply Last reply
      0
      • N nlarson11

        check for method of the control for something like 'reset'. if there isn't one then look at the designer to know how at design time the control is set and then copy those lines of code and put them in a reset routine to be able to programmatically reset it back to it's original state.

        J Offline
        J Offline
        Joey Picerno
        wrote on last edited by
        #3

        Good Idea, thank you very much... It makes me mad I cant think of simple solutions like that yet. maybe someday... again, thank you! -Joey

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups