I have a WinButton (let me call it WinButton2) which displays 2 texts. Here is the scenario: let’s say that I have 2 WinButtons: WinButton1 and WinButton2. When I click Winbutton1 once, the text(lable) in WinButton2 displays “Short” and when I click WinButton1 another time, WinButton2 text (label) displays “Long”.
Again, it is the same WinButton (i.e., WinButton2) that displays the 2 texts(labels). If I spy on the WinButton2 when it has “Short” or “Long” I see that the properties text and regexpwndtile have the value of the button(Short or Long)