Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / BlueGUI editbox question

Author
Message
Autowaaagh
17
Years of Service
User Offline
Joined: 6th Dec 2006
Location:
Posted: 7th Dec 2006 17:34
Im making a small chatbox for a game im creating. Im using blueGUI for this and have a text-entry editbox and a text-display editbox. I'm using setGadgetText to add lines into the display box, but whenever enough text is added to the display box for it to call its inherent scrollbar, it always resets to the top when a new line is added. Is there a way to get to auto scroll?
John Y
Synergy Editor Developer
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: UK
Posted: 7th Dec 2006 22:18
You can try setting the cursor position to the length of the text, windows will then scroll the cursor into view.

Get the new DarkBasic Professional IDE free until October!
Http://synergyide.thegamecreators.com
Http://www.digitalzenith.net
Autowaaagh
17
Years of Service
User Offline
Joined: 6th Dec 2006
Location:
Posted: 8th Dec 2006 02:30
i tried
but i still get nuthin
Autowaaagh
17
Years of Service
User Offline
Joined: 6th Dec 2006
Location:
Posted: 8th Dec 2006 03:14
Problem solved, i kept setSelStart, but changed setGadgetText to setSelText and it works beautifully

Login to post a reply

Server time is: 2024-11-22 16:42:00
Your offset time is: 2024-11-22 16:42:00