KB-28660: Opening and moving windowed screens.

Question:

How can I open, move and keep opened several windowed screens?

Solution:

To do so, you must create a script on a button to open the screen:

Application.GetFrame(Name).OpenScreen(“Screen1”), 0

Then, write the following script on the screen’s OnPreShow event:

Sub Tela1_OnPreShow(Arg)
‘Set up the frame’s title on the screen and the screen’s style
Frame.SetFrameOptions “Screen1”, 512+511
‘Moves and resizes a frame’s size
Frame.MoveFrame 300, 300, 300, 300
End Sub

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Deixe seu Comentário

Seu endereço de e-mail não será publicado. Campos marcados com asterisco são obrigatórios *