WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Alter Update Chat Function (https://forum.worldviz.com/showthread.php?t=2685)

jassel41 04-13-2010 07:45 PM

Alter Update Chat Function
 
Hi,

I am trying to alter the update chat function shown in the Networking tutorial so that the user can scroll up and down to view old messages that were sent.

For now, I append every message sent and received to an array.

I want to make a new function which takes the current text on the screen and essentially has it scroll down and add a new line of text to the top of the 5 lines. The new line will just be chosen based on one of the spots in the array.

Any help would be greatly appreciated.

Thanks,
Jassel41

Jeff 04-14-2010 04:37 PM

You could several text objects to the screen and two buttons for up and down. When one of the buttons is pressed you change all the messages for the text objects according to how they are stored in the array.

jassel41 04-16-2010 06:51 AM

Thanks, that did the job.

- Jassel41


All times are GMT -7. The time now is 07:37 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC