Hi all

I am trying to create a custom control. Thus I have looked at this
example http://darcs.haskell.org/wxhaskell/samples/wx/CustomControl.hs .
But it does not really help me. I also tried the WxWidgets site and it
did not help much either.

What I would like is to take two textCtrl-s (or other controls) and
compose them into one bigger control. And still "inheriting" all the
functions/classes associated with `Window a`. And the new control should
also implement some classes which `Window a` do not, like Commanding.

I can compose two textCtrl-s, but not while "inheriting" Window. Thus I
have to implement all the classes Window implements. And even worse, I
can see no way of making my custom control work with functions like
`focusOn`, as they are defined in a class.

Anybody have such an example or some pointers?


Greetings,

Mads Lindstrøm



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to