DIAdem Help

Method: Refresh for Text

  • Updated2024-09-12
  • 2 minute(s) read

Method: Refresh for Text

Triggers the EventRefresh event in user dialog boxes. You can use this method to refresh the Text control, when another control changes the data of this control.

Object.Refresh
ObjectText
Object with this method

The following example assigns a text to the Text1 control after the Button1 button is clicked. The example then triggers the EventRefresh event for Text1. This refreshes the text:

Sub Button1_EventClick(ByRef This)
  Text1.Text = "Author"
  Call Text1.Refresh
End Sub