SlickEdit Community

Archived Read Only Forums => SlickEdit 2013 v18 beta => Topic started by: tuchman on April 25, 2013, 04:52:48 am

Title: 2013B1 Macro to close tab on left-double-click doesn't work
Post by: tuchman 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');
}
Title: Re: 2013B1 Macro to close tab on left-double-click doesn't work
Post by: Matthew 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)
Title: Re: 2013B1 Macro to close tab on left-double-click doesn't work
Post by: Phil Barila 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.