KB-33574: Setpoint remains on screen even after its status changes to Invisible.

Question:

A group with setpoints has a button that changes its status from Visible to Invisible, and vice versa. However, when the value of one of these setpoints is edited and its group becomes Invisible, the setpoint with the typed value remains on screen, while the other setpoints correctly disappear. Why is this happening?

Solution:

This happens because whenever the group becomes Invisible, the focus is still on the setpoint, making it still appear partially on screen.

To fix this, you must take the focus out of the setpoint before the groups becomes Invisible. To do so, just set the button‘s TakeFocusOnClick property as True.

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 *