Author Topic: How can I delete custom toolbars?  (Read 1219 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
How can I delete custom toolbars?
« on: November 10, 2022, 09:04:29 PM »
I've created a new toolbar, how can I delete it?

Dennis

  • Senior Community Member
  • Posts: 3992
  • Hero Points: 520
Re: How can I delete custom toolbars?
« Reply #1 on: November 11, 2022, 02:27:57 PM »
Probably oversimplifying here, but Tools > Appearance > Toolbars > Delete...  (it is only enabled for user-defined toolbars).

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Re: How can I delete custom toolbars?
« Reply #2 on: November 11, 2022, 06:01:40 PM »
Thanks. Not oversimplified --  apparently I needed it spelled out pretty simply.
I stared at that page yesterday and somehow couldn't figure it out :-)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Re: How can I delete custom toolbars?
« Reply #3 on: November 14, 2022, 09:07:27 PM »
So, how to delete custom forms?
When I remove them from vusrobjs and reload, the forms reappear.

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Re: How can I delete custom toolbars?
« Reply #4 on: November 14, 2022, 09:14:55 PM »
What I'm trying to do is save my toolbar to a separate *.e file that I can load.
I used to be able to do this, but it isn't working now.
When I load my .e file, the form shows up, but not the toolbar.

Dennis

  • Senior Community Member
  • Posts: 3992
  • Hero Points: 520
Re: How can I delete custom toolbars?
« Reply #5 on: November 16, 2022, 04:42:52 PM »
There is no direct way to remove a custom form.  It does no real harm to leave an obsolete form around.  However, if you are determined, close SlickEdit, remove the forms from vusrobjs.e, and then "touch" vslick.sta in your installation directory.  The newer date on the state file will trigger SlickEdit to migrate settings, and the forms should get wiped clean (since they are no longer in vusrobjs.e).

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Re: How can I delete custom toolbars?
« Reply #6 on: November 17, 2022, 08:14:12 PM »
So that doesn't fix it - doesn't appear to do anything.

I started doing this because I was editing a custom toolbar and accidentally deleted some stuff.
I have a *.e with my toolbar form defined.
I finally figured out what was wrong with it and have it working now.

Anyways, after messing around quite a bit while not getting it to work, I've ended up with a bunch of extra forms. None of them show up in the toolbars list though.

Interesting ... on the New Toolbar dialog, click Advanced and enter a formname.
I always assumed that this would create the new form with this name. It actually uses that existing form.

If I do that, then delete the new toolbar, it deletes the form too!