Popup resize

Hello!
Could anyone tell me if it possible to make a popup window with a button, pushing on which you can resize the popup?
I want to make a class member popup with basic controls and the button to expand popup and get parameters of class element.
Or if it's impossible or hard to make, is there any way to make "tabs" inside a popup window?

I made a class popup and use mnemonics to send variables there.
But if I make in that popup a button to open one more "settings" popup and send "1st popup" mnemonics to "2nd popup" mnemonics, in this case variables in 2nd popup don't update on the fly.
And I think it doesn't seem good to use popup in the popup.
Can anyone suggest a solution please?
  • I'm not sure I fully understand what you want to do, but you can create a subroutine in the graphics script that you would call from your popup that would close the popup and re-open it with a different size and set of parameters (mnemonics).

    i.e. your button command would look like this
    Call Graphics.PopUpRefresh(Option) // Option (local variable) could also be a $Tag

    and your subroutine might look something like this. (mnemonics not shown)
    Sub PopUpRefresh(MyTest)

    $Close("PopUpTest")
    If MyTest = 1 Then
    $Open("PopUpTest") // default
    End If
    If MyTest = 2 Then
    $Open("PopUpTest", 10,10, 1000, 500)
    End If
    If MyTest = 3 Then
    $Open("PopUpTest", 10,10, 900, 450)
    End If

    End Sub
  • Hello!
    Ok, I've got it.
    So it's only possible by reopen.
    I'll try to make a video of what I want and drop a link.