dark_mode EN
  • Method WModalObject :OnClick
  • Parameters
    nButton

    Button number

    cValue

    Event value

  • Return value
    NIL

Adds an event to a specific control in the dialog (hence its name despite being a method) by setting its value, which can be the name of a JavaScript function, the name of a CGI method of the 'action' type in the current document, or directly a script if it is included between the <script> and </script> tags.

For further information consult the programming guide.

Previous chevron_left Next chevron_right