Jump to content

Control default value


Recommended Posts

Hi to all.

How can I change the default value of a control while the program is running, I mean , I have a 4 as a default value of a numeric control, but I want that the user can change that value and save it, so the next time the program run, the control use the last saved value.

I just need to do that for that single control, so I don't like to use a init file, is there any property that can do that?

Thank you in advance.

Link to comment

What's the problem with using an INI file?

If you have a single control the code for handling this will be simple and you know that this will work all the time (including in an executable) and that you don't have to save the VI each time.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.