KB-27009: Opening a screen from a Library.

Question:

How can I open a screen from a Library (XControl)?

Solution:

To do so, follow these procedures:

  1. In the desired XControl, create a property for the frame name (called FrameName) and another one for the screen name (called ScreenName). 
  2. In the same XControl, access an event (for example, a button’s Click() event) e escreva o seguinte script: Application.GetFrame(XControl.FrameName).OpenScreen XControl.ScreenName, 0
  3. Save and register the Library.
  4. Insert the XControl on the desired screen, and then fill FrameName and ScreenName properties with the names of the frame and the screen to be opened.

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 *