Announcement

Collapse
No announcement yet.

[8.2] Window.Close can't use default value CLOSEWND_SENDMESSAGE

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

  • [8.2] Window.Close can't use default value CLOSEWND_SENDMESSAGE

    AMS 8.2

    Why I can't use Window.Close(number) (without arg 2) ? Anyone can check and report please. Maybe I need uninstall AMS and reinstall

  • #2
    Same in AMS 8.1.0.0

    a check of Ams global constants at runtime shows that both Close types are present
    however there is no 'default value' 0 set when using the action wizard.
    Using the action wizard it shows Window.Close requiring both arguments,
    however does not prompt for or auto-fill the second argument : Close method if missing.

    I came across this once with an older project and realized the code glitch,
    needed to recode the Wind.Close scripting, can't remember which Ams 8 ver it was created with.

    fwiw i always manually code all action wizard params

    Comment


    • #3
      Originally posted by Eagle View Post
      Same in AMS 8.1.0.0

      a check of Ams global constants at runtime shows that both Close types are present
      however there is no 'default value' 0 set when using the action wizard.
      Using the action wizard it shows Window.Close requiring both arguments,
      however does not prompt for or auto-fill the second argument : Close method if missing.

      I came across this once with an older project and realized the code glitch,
      needed to recode the Wind.Close scripting, can't remember which Ams 8 ver it was created with.

      fwiw i always manually code all action wizard params
      If I clearly remember, since I use AMS, I never used the action wizard.
      We are slowly invading your planet to teach lazy humans to read the user manual.
      But don't be scared: we are here to help.

      Comment

      Working...
      X