Hello Bernd

I found a simple way to make textCtrl scroll properly. Just add the
attribute "style := wxTE_MULTILINE" to the textCtrl widget.

Here is an example:
https://code.google.com/p/pmpocinho/source/browse/textCtrl.hs

All the best!
Paulo M. Pocinho

On 17 October 2011 09:47, Bernd Holzmüller <bernd.holzmuel...@ics-ag.de> wrote:
> Hi Paulo,
>
> I also had this problem some time ago and wasn't able to solve it. Your
> reference to wxWidgets is indeed interesting and seems to be the right
> direction. Unfortunately, many functionality of wxWidgets is not yet mapped
> to wxHaskell or only in a very basic manner.
>
> In case you manage to solve it, please let me know!
>
> Thanks,
> Bernd
>
> Am 16.10.2011 16:04, schrieb Paulo Pocinho:
>
> Hello. I want to know how to make the textCtrl widget scroll only one
> line at a time instead the default one page at a time.
>
> The usage is the same as the one given by the examples. Text is
> appended to a textCtrl that serves as a logging window.
>
> However, once the appended line reaches the bottom of the scrolled
> text, the textCtrl automatically "jumps" one page. There is an
> attribute in wxWidgets called ScrollLine () that makes it only scroll
> the number of lines we want [1] but I can't find it in wxHaskell.
>
> How can I make text scroll one line instead of jumping a screen at a time?
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2d-oct
> _______________________________________________
> wxhaskell-users mailing list
> wxhaskell-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
>
>
> --
> Bernd Holzmüller
> Dipl.-Inform.
>
> Business Unit Methods Processes Tools
>
> Telefon / Phone: +49 (0)711 / 21037 - 41
> Fax: +49 (0)711 / 21037 - 75
> Mobil: +49 (0)172 / 7280 490
> E-Mail: bernd.holzmuel...@ics-ag.de
> Internet: www.ics-ag.de
>
> Informatik Consulting Systems AG
>
> Postanschrift / Mailing Adress: Postfach 102431, 70220 Stuttgart,
> Deutschland / Germany
> Sitz und Registergericht / Domicile and Court of Registry: Stuttgart /
> HRB-Nr. / Commercial Register No.: 18569
> Vorsitzender des Aufsichtsrat / Chairman: Dr. Jörg Kees
> Vorstand / Management Board: Franz-Josef Winkel, Cid Kiefer
>
> This e-mail message may contain confidential and/or privileged information.
> If you are not an addressee or otherwise authorized to receive this message,
> you should not use, copy, disclose or take any action based on this e-mail
> or any information contained in the message. If you have received this
> material in error, please advise the sender immediately by reply e-mail and
> delete this message.
>
> Thank you.

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to