Author Topic: 2013B1 Macro to close tab on left-double-click doesn't work  (Read 2371 times)

tuchman

  • Senior Community Member
  • Posts: 136
  • Hero Points: 7
2013B1 Macro to close tab on left-double-click doesn't work
« on: April 25, 2013, 04:52:48 am »
So far so good!
But a favorite macro that somebody at slickedit gave me to close an edit tab on double-left-click doesn't seem to work anymore.

// 14.04.2007 - to use left-double-click to close tabs
defeventtab _tbbufftabs_form;
 
void ctlsstab1.lbutton_double_click()
{
   ctlsstab1.call_event(_control ctlsstab1,MBUTTON_UP,'w');
}

Matthew

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 990
  • Hero Points: 44
Re: 2013B1 Macro to close tab on left-double-click doesn't work
« Reply #1 on: April 25, 2013, 02:28:49 pm »
The new MDI tabs are now drawn directly, and are not implemented as a Slick-C form/toolbar, so there is not currently a way to handle this event in Slick-C.
We may add an option to specify what should happen on tab double-click (close, zoom, or split)

Phil Barila

  • Senior Community Member
  • Posts: 742
  • Hero Points: 61
Re: 2013B1 Macro to close tab on left-double-click doesn't work
« Reply #2 on: April 25, 2013, 03:35:35 pm »
Please put back close on middle-click, too.  I so much prefer the new MDI tabs that I immediately closed the Filetabs Tool Window, but I do use Middle-Click to close windows (a lot!) so I am having a bit of cognitive dissonance while using Beta 1.