Preventing the [x] close button to close a Tab :D

Working on new editor enhancements?
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Preventing the [x] close button to close a Tab :D

Post by nco2k »

1.) move the mouse cursor over the [x] close button
2.) press and hold the left mouse button
3.) move the mouse cursor outside the [x] close button
4.) release the left mouse button

and the tab will be closed.

imho it should only be closed if the mouse cursor is over the [x] close button, when releasing the mouse button. :)

c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: Preventing the [x] close button to close a Tab :D

Post by MachineCode »

Doesn't work that way here. If I click and hold the mouse on a tab's X button, then move it off the X button and release the mouse, the tab doesn't close.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Re: Preventing the [x] close button to close a Tab :D

Post by nco2k »

did you use pb 4.60?

c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: Preventing the [x] close button to close a Tab :D

Post by MachineCode »

Now I understand. It's broken in 4.60 Beta 3, but works fine in 4.51.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
Post Reply