Author Topic: BOUNTY: Notebook class with "close" button at the right  (Read 96653 times)

Offline David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
Re: BOUNTY: Notebook class with "close" button at the right
« Reply #45 on: January 02, 2006, 05:04:11 pm »
good job, and yes, please implement it :lol:
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: BOUNTY: Notebook class with "close" button at the right
« Reply #46 on: January 02, 2006, 09:40:06 pm »
Well, I found the time to take a look and it looks good. Good job eranif :)

[attachment deleted by admin]
Be patient!
This bug will be fixed soon...

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1442
    • CenizaSOFT
Re: BOUNTY: Notebook class with "close" button at the right
« Reply #47 on: January 02, 2006, 09:45:11 pm »
Wow, mandrav, that's beautiful :)

Would you mind to share your new toy with us? :P

BTW, a new version is on the way with a few more thingies.

I really wanna try that baby with VC71 style :)

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: BOUNTY: Notebook class with "close" button at the right
« Reply #48 on: January 02, 2006, 09:46:45 pm »
Well, the version you sent me and I tested, has some obvious bugs, lol :)
eranif, are you around?

[attachment deleted by admin]
Be patient!
This bug will be fixed soon...

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1442
    • CenizaSOFT
Re: BOUNTY: Notebook class with "close" button at the right
« Reply #49 on: January 02, 2006, 09:53:46 pm »
Evil bug :shock:

BTW, did you try with the latest version? http://www.eistware.com/wx/wxFlatNotebook.zip

Every new version goes to the same link. There's one around supporting tab dragging too.

Middle click to close was already added.

Would be good if the close behaviour could be disabled so it could be used for Messages and Management too.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: BOUNTY: Notebook class with "close" button at the right
« Reply #50 on: January 02, 2006, 09:55:53 pm »
No, I only tried and used the version you sent me.
That's why I need eranif around. To discuss our "roadmap", sort of...
Be patient!
This bug will be fixed soon...

Offline eranif

  • Regular
  • ***
  • Posts: 254
Re: BOUNTY: Notebook class with "close" button at the right
« Reply #51 on: January 02, 2006, 10:28:37 pm »
Hi,

What happen if you change the size of the application? (resizing it - does it help?)

Try to add this to the main frame:
SendSizeEvent();

Eran

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1442
    • CenizaSOFT
Re: BOUNTY: Notebook class with "close" button at the right
« Reply #52 on: January 03, 2006, 02:12:17 am »
mandrav: could you update to the latest version and try again? The project files I provided work for that one too.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: BOUNTY: Notebook class with "close" button at the right
« Reply #53 on: January 03, 2006, 12:19:21 pm »
What happen if you change the size of the application? (resizing it - does it help?)

No...

mandrav: could you update to the latest version and try again? The project files I provided work for that one too.

I have updated last night (after your previous post). The only thing that (I noticed) changed was middle-click closing.
There's no version info however. Eran, you should maintain a version number for it...
Be patient!
This bug will be fixed soon...

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: BOUNTY: Notebook class with "close" button at the right
« Reply #54 on: January 03, 2006, 12:37:40 pm »
OK, fixed this :)
It was not a wxFlatNotebook bug, but an implementation one (caused by me).
Be patient!
This bug will be fixed soon...

Offline 280Z28

  • Regular
  • ***
  • Posts: 397
  • *insert unicode here*
Re: BOUNTY: Notebook class with "close" button at the right
« Reply #55 on: January 03, 2006, 12:57:18 pm »
erinif, would you like like to use my Subversion server to keep track of your updates? If you incorporate this into wxAUI so it can be used both in the wxAUI panes and as standalone calls, I already have a Trac wiki/bugtrack system/Subversion server set up for it here:

http://djss.dynalias.net/trac/wxAUI
« Last Edit: January 03, 2006, 01:19:58 pm by 280Z28 »
78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
 Check out The Sam Zone :cool:

Offline eranif

  • Regular
  • ***
  • Posts: 254
Re: BOUNTY: Notebook class with "close" button at the right
« Reply #56 on: January 03, 2006, 01:16:23 pm »
I agree, from the next version I will place in the header file the version number.

Happy to hear that it was your bug  :wink:

I am currently of working on the some annoying bug with the middle button close - it selects the file, and then closes it.
After it I will start working on wxFNB_BOTTOM style - place the tabs on the bottom part of the book.

I already added an options to remove the 'x', '<>' buttons - so you can now use the control for the other windows as well
and not only as the main editor container for scintilla editors (you are using scintilla, right?)

Eran

Offline 280Z28

  • Regular
  • ***
  • Posts: 397
  • *insert unicode here*
Re: BOUNTY: Notebook class with "close" button at the right
« Reply #57 on: January 03, 2006, 01:22:15 pm »
You don't need to do that if you use Subversion to keep track of revisions anyway. Just put $Id$ in the header.
78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
 Check out The Sam Zone :cool:

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: BOUNTY: Notebook class with "close" button at the right
« Reply #58 on: January 03, 2006, 01:45:16 pm »
I agree, from the next version I will place in the header file the version number.

Happy to hear that it was your bug  :wink:

I am currently of working on the some annoying bug with the middle button close - it selects the file, and then closes it.
After it I will start working on wxFNB_BOTTOM style - place the tabs on the bottom part of the book.

I already added an options to remove the 'x', '<>' buttons - so you can now use the control for the other windows as well
and not only as the main editor container for scintilla editors (you are using scintilla, right?)

Eran


Nice to hear you 're working on it. Where do you put the updates? It's the same download link always?
If you need repository access, you could use ours. I will put it on SVN anyway so if you don't have another repository, you 're welcome to work here.
Be patient!
This bug will be fixed soon...

Offline eranif

  • Regular
  • ***
  • Posts: 254
Re: BOUNTY: Notebook class with "close" button at the right
« Reply #59 on: January 03, 2006, 02:39:12 pm »
Hi,

I have at home 3 computers, 1 is for CVS + other servers and bug tracker, So i will add the sources to there ( this way I will have version control for the sources + I will be able to track the bugs)

Thanks for the offer,

Eran