Update RotateTextAndButton2.ring
Added "Close()" funtion to Class
Upded "Init" fuction  attributes for Label and Button -- Qt_WA_DeleteOnClose
@@ -68,6 +68,14 @@ Class ButtonWithRotatedText
oButton = new qPushButton(oParent)
oLabel = new qLabel(oParent)
oLabel.setAttribute(Qt_WA_TransparentForMouseEvents,True)
+ oLabel.setAttribute(Qt_WA_DeleteOnClose, True)
+ oButton.setAttribute(Qt_WA_DeleteOnClose, True)
+ return
+
+ func close()
+ See "Close: "+ nl
+ #oButton.close() ### Comment out - Will leave button active
+ oLabel.close() ### This will erase text
return
func setgeometry( x,y,width,height)
