KB-28545: Changing a pen’s visibility at run time.

Question:

How can I change a pen’s visibility via screen objects?

Solution:

To enable or disable pen’s visibility, follow these procedures:

  • Add a CheckBox to the screen.
  • In this CheckBox, create a script at Change() event.
  • With the AppBrowser, retrieve the pen’s Visible property.
  • Complete the script line by attributting the CheckBox’s Value. The script will look like this:
    set pens = Screen.Item("E3ChartName").Pens
    pens.Item("PenName").Visible = Value
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 *