Announcement

Collapse
No announcement yet.

sc_redir modal view

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

  • sc_redir modal view

    Hello, in the onAfterinsert event of a form i am doing this:

    if ({field} == "value")
    {
    sc_redir(app_to_call, parm1={var_test}, "modal", 600, 700);
    }

    it works but opens a modal with a width that i can not change. The width (600) doesn't seem to be affected by what i specify. Only the Height (700) changes.

    How do i set the width of the modal view?

    Am i writing a wrong syntax?

    Thanks

  • #2
    Hello.
    As the structure is: sc_redir(Application, Parameter01; Parameter02; Target, Error, height_modal, width_modal)

    You have to include the error parameter, even if you donīt use it, Iīm using ver 9 and it works.

    The command will be
    sc_redir(app_to_call, parm1={var_test}, "modal",,600, 700);

    Note the additional , after "modal"

    Regards

    Comment


    • #3
      Thank you for your help

      Comment

      Working...
      X