wxGrid within a wxGrid

Thanks for the info Mike! Looking at the wxoo really helped set me on the right track. I would still be interested in trying the grid within a grid idea at some point but since I am simply prototyping at this point I can leave that for another day.

Thanks again,

Darin

···

wxproperty does grid-on-grid extensively, but it does the work with floating windows on top of the base grid (otherwise you need _really_ large cells in your grid). I'd guess that your second approach is the best one. I don't know of a tutorial for it, but poking about in wxoo and wxproperty will get you at least one or two examples of functional Controls with sub-controls embedded in them (I do them all the time).

HTH,
Mike

Darin Willits wrote:

Hi All,

I am probably trying to do the impossible here but nonetheless I would like to give it a try. I really think that it will open up some very interesting user interface possiblities if I can get it to work properly.

What I want to do is be able to put a wxGrid within the cell of another wxGrid as its edit control.

...

How would I go about doing something like this? Has someone out there already been down this road?

I have tried to create a wxControl derived class and then make the grid, or any other window, a child of that but I seem to be having problems getting the messages to work properly. For example I can get it to draw but you can't interact with it. Are there any tutorials or examples out there for making a control with (possibly several) sub windows or sub controls?

...

_______________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://members.rogers.com/mcfletch/

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail