02-07-2014, 06:52 AM
Hello Gintaras!
Great features in new version! Thank you for that.
Following code works. Just wondering if there is a shorter or better way.
Macro ResetTB
Best regards.
Great features in new version! Thank you for that.
Following code works. Just wondering if there is a shorter or better way.
Macro ResetTB
QMITEM q; int i
rep
,;find toolbar functions
,i=qmitem(-i 1|2 &q 1)
,if(i=0) break
,if(q.itype!=3) continue
,;close open (multi)
,rep
,,int w=win(q.name "QM_toolbar" "" 2)
,,if(!w) break else clo w
,;delete setting
,_qmfile.SettingDelete(q.name "tb")
Best regards.