Announcement

Collapse
No announcement yet.

Reset DialogEx

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

  • Reset DialogEx

    Hi all,

    I have a DialogEx that has a lot of input fields and combobox's. When I fill all the fields, save the info to a database and close the DialogEx, the input's and comboboxes have not been reset. Is there code to do this, or am I going to have to write a function to manually clear all the input fields and comboboxes when the DialogEx is closed?


    Thanks in advance

  • #2
    I need to mention that is happens when I close the DialogEx and then come back to it.

    Comment


    • #3
      Originally posted by Jrb1x View Post
      I need to mention that is happens when I close the DialogEx and then come back to it.
      I am not sure but maybe trying the redraw option on the window this might help I not sure there I do know there is a kind of simple way but its been sometime since I used AMS to be useful.
      Plugins or Sources MokoX
      BunnyHop Here

      Comment


      • #4
        I tried Redraw on the specific DialogEx, but it didn't seem to work.

        Comment


        • #5
          Reset the entry fields in the On Preload script, or individually using the object names, or via a loop over all objects on the dialog, using DialogEx.EnumerateObjects().

          Ulrich

          Comment

          Working...
          X