From: <jmv...@di...> - 2007-11-23 13:14:40
|
Hi all, I'm using an TextCtrl <cid:par...@di...> () and I would like to insert text (during the GUI computation) in the textCtrl. This is straightforward and is done. The problem is that both textCtrlAppendText and textCtrlWriteText always write the new pieces of text in the end of the previous text and I need to insert the text in the place where the TextCtrl cursor is. I also tried textCtrlSetInsertionPoint "DUMMY" 0 but that didn't change any behavior. It seems this function do nothing. I'm using the repository version of wxHaskell(updated two weeks ago) and ghc 6.6.1 on Kubuntu Gutsy (7.10). Thus anyone know or have any hints on how so solve this problem? Any help would be grateful. best Miguel Vilaca |