2 Replies - 428 Views - Last Post: 04 February 2010 - 04:59 AM Rate Topic: -----

#1 vbnet9  Icon User is offline

  • D.I.C Regular

Reputation: 12
  • View blog
  • Posts: 346
  • Joined: 26-May 09

Object text

Posted 03 February 2010 - 10:30 AM

Hello folks,

Just a quick question, using Visual Basic 2008, is there a way to change the text of a forms buttons and other objects during runtime so that the text sticks no matter if the form is closed and reopened or not? I can get the text to change, but after closing the window and reopening, the text resets.

Is this possible?
Is This A Good Question/Topic? 0
  • +

Replies To: Object text

#2 nmgod  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 48
  • View blog
  • Posts: 233
  • Joined: 26-March 08

Re: Object text

Posted 03 February 2010 - 10:33 AM

If you mean just opening and closing a form then you could do it via variables, eg stored in a module, but there are several ways.

If you are talking about closing the program and reopening, then you might want look into application settings.
Was This Post Helpful? 0
  • +
  • -

#3 krismania  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 18
  • View blog
  • Posts: 148
  • Joined: 03-January 10

Re: Object text

Posted 04 February 2010 - 04:59 AM

simplest way might be by My.Settings
you simply save as a setting then make the buttons text that setting on form_load
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1