Announcement

Collapse
No announcement yet.

Function Parameters and resetting the defaults

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Function Parameters and resetting the defaults

    I am trying to reset the default values of function parameters through EFS code. I am able to use the FunctionParameter class to successfully set the defaults and then I have a button that uses the askForInput() function to allow the user to change the settings. One of my parameters allows the user to select "Reset defaults" and when that is selected I want to reset all the function parameters back to the initial defaults, which I am obtaining from a custom DLL. I have not found a way to reset the FunctionParameter variables in preMain to be able to accomplish this. Any help or suggestions on how to do this would be greatly appreciated.

    Carl

  • #2
    Carl,

    I have some examples of how I have accomplished this in some of my code, however, I will not be able to send anything until after 8 PM eastern time. I am looking for some nice examples of dlls, so if you have any simple ones you can provide me as examples, I would appreciate it. C++ is preferable, but at this point any examples would be a help.

    Regards,

    Comment


    • #3
      DLL example

      Steve,

      Thanks for responding so quickly and whenever you get a chance to post a solution would be great.

      I'll gladly put together a simple DLL example in C++. I'll need to pare down what I've been working on because at this point it is way too complex to be very helpful as a starting point. I'll attach it to this thread in the next day or so.

      Carl

      Comment


      • #4
        Carl,

        Thanks!

        Steve

        Comment

        Working...
        X