Hi I am making a chat program. When wsk_receiver gets data, it adds it to a new line on rich_history to make a sort of history for the chat. However, when the rich box is filled up even with scroll bars, it doesn't keep following what was last added. How can i make it scroll down when text is added?
Thank you.
6 1205
Hi I am making a chat program. When wsk_receiver gets data, it adds it to a new line on rich_history to make a sort of history for the chat. However, when the rich box is filled up even with scroll bars, it doesn't keep following what was last added. How can i make it scroll down when text is added?
Thank you.
hi i made a chatprogram myself
little trouble with the richtextbox but finally made something out of it.
have a look and use what you need ... :)
Hi I am making a chat program. When wsk_receiver gets data, it adds it to a new line on rich_history to make a sort of history for the chat. However, when the rich box is filled up even with scroll bars, it doesn't keep following what was last added. How can i make it scroll down when text is added?
Thank you.
Just from memory, I think it may be a matter of setting SelStart to the end of the text.
Just from memory, I think it may be a matter of setting SelStart to the end of the text.
Hi, please elaborate?
Hi, please elaborate?
hi
meaning
RichText1.SelStart = Len(RichText1.Text)
RichText1.SelStart = Len(RichText1.Text)
Yeah, sorry, I was short on time so just posted a quick hint. albertw's response shows exactly what I meant.
Thank you both very much!
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Christian Tismer |
last post by:
Dear friends.
During a conversation with good friends and newly acquired
Pythonista, we were discussing Python, what it is in essence,
and what it is giving to us.
The people were Dinu...
|
by: PC User |
last post by:
I found this Rich Text Editor and I've been trying to recreate it in
my own application. I've had trouble with the COMCTL.ImageListCtrl
and the COMCTL.Toolbar to recreate the toolbar. And I've...
|
by: Peter |
last post by:
I have written a small terminal app that reads and writes to the serial port. In particular as the data is read from the serial port it is appended to the rich text box. The problem I am...
|
by: tomi.trescak |
last post by:
Hi
I have a problem with storing rich text in MySQL.
I store rich text in MySQL (in column with type "text") which i get
from Rich Textbox control. When i do reverse processing by trying to...
|
by: Neil |
last post by:
I need to implement a rich text box in an MDB file for a user base that
consists of Access 2000 and Access 2002. Unfortunately, I'm using Access
2003 on my development machine. My understanding is...
|
by: ARC |
last post by:
Just found out something interesting with Access 2007... In table design, if
you set a memo field to the new rich text option, and put that control on a
form, set the control to rich text, you can...
|
by: Neil |
last post by:
Just found out that the Microsoft Rich Textbox does not support full text
justification, since it's based on Version 1.0 of the RichEdit Window Class,
and full text justification is only available...
|
by: Neil |
last post by:
I posted a few days ago that it seems to me that the Access 2007 rich text
feature does not support: a) full text justification; b) programmatic
manipulation.
I was hoping that someone might...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |