WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-13-2010, 07:45 PM
jassel41 jassel41 is offline
Member
 
Join Date: Nov 2009
Posts: 24
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
Reply With Quote
  #2  
Old 04-14-2010, 04:37 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
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.
Reply With Quote
  #3  
Old 04-16-2010, 06:51 AM
jassel41 jassel41 is offline
Member
 
Join Date: Nov 2009
Posts: 24
Thanks, that did the job.

- Jassel41
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
return variable from keypress function starbug Vizard 2 01-07-2010 11:14 AM
window.pick function over sub-window omidbrb Vizard 4 10-02-2009 04:23 AM
Linking problems with Live Character Frank Verberne Vizard 5 06-04-2008 11:42 AM
VRPN won't update Wytze Precision Position Tracker (PPT) 7 05-28-2008 07:15 AM
Do you know how to send a value for 'pool' to the onActionEnd function? ghazanfar Vizard 1 03-22-2007 10:25 AM


All times are GMT -7. The time now is 08:44 PM.


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