Hi Eric,

textCtrlWriteText should do:

textCtrlWriteText :: TextCtrl a -> String -> IO ()

The wxWidgets documentation states:

wxTextCtrl::WriteText
Writes the text into the text control at the current insertion position.

Best regards,
Bernd

Eric schrieb:
Dear all,

I wish to insert text into a text control at the cursor. I've started 
with the following code:

i <- textCtrlGetInsertionPoint editor

but looking at the module Graphics.UI.WXCore.WxcClassesMZ I can't find 
an action to insert text. Can anyone help?

Eric

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
  
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to