use dstring for windowCaption property; example1: change window caption according to currently selected tab