-- Demo using Cuebanner with textedit controls
include gui/tin/tinewg.exw

Window()

atom tedit1=Control(Edit,"",10,10,120,20)
atom tedit2=Control(Edit,"",10,35,120,20)

SetCueBanner(tedit1,"Type your name here",True)
AddToolTip(tedit1,"Cue banner shows allways")

SetCueBanner(tedit2,"Type your name here",False)
AddToolTip(tedit2,"Cue banner vanishes on focus")

WinMain()