Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B

BOUNTY: Notebook class with "close" button at the right

<< < (34/35) > >>

Michael:

--- Quote from: sethjackson on January 26, 2006, 06:37:54 pm ---Guys eranif just updated wxFlatNotebook...... Just a heads up

http://wxforum.shadonet.com/viewtopic.php?t=5761&start=90

--- End quote ---

The changes look really interesting :D.

Michael

sethjackson:
Heh A new version of wxFNB is out. Here is a ripped copy of Eranif's post from here.

http://wxforum.shadonet.com/viewtopic.php?t=5761&postdays=0&postorder=asc&start=120

Need I ask that wxFNB could be updated if possible? Maybe this will fix our drop target problems. :P

Hi,
Since I got several requests from people, I created new version
with the following changes:

Features:
--------

+ Changed the buttons ( <>x buttons ) coloring to be more XP look
+ An option to remove the border around the tab area
+ Set/Get colors of the following:
- Active tab text
- Non-Active text
- Tab area colors
- Active tab color
+ New option introduced to add 'X' button on active tab
+ New event is now fired after page is being closed wxEVT_COMMAND_FLATNOTEBOOK_PAGE_CLOSED -
this allow the application to preform some cleanup after closure of page
+ An option to disable a tab - a tab can now be disabled, which means it will not receive any event, user can not select
it nor navigate to it (using Ctrl+Tab/Tab)


Bugs:
----
+ Fixed minor drawing issues
+ Fixed bug that when closing the a tab using the mouse middle button, the page was set to active and only then closed.
+ Fixed bug that the old selection value in the event when closing a page was incorrect

The files are zipped at sourceforge - enjoy
Eran

eranif:

--- Quote ---Maybe this will fix our drop target problems.
--- End quote ---

Can you please describe the problem, since I wasnt aware of it

Eran

sethjackson:
http://forums.codeblocks.org/index.php?topic=2371.0

eranif:
Did you try to disable the drag'n'drop of the wxFlatNotebook using the style: wxFNB_NODRAG style?

Eran

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version