Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
reset toolbars?
#8
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
Code:
Copy      Help
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)