WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-09-2010, 11:05 AM
jassel41 jassel41 is offline
Member
 
Join Date: Nov 2009
Posts: 24
Trouble with Adding Item to Screen

Hi, I want to append an object to the screen, such as a 2-dimensional box. I asked this question before on the forum and was given the view link answer. This doesn't really solve what I want, because if the user maximizes the window, the box does not move or resize with the window change.

I want to have a box so that it will be connected to the screen and act as a text box would and resize if a window resizes.

Any Suggestion?

Thank you,
Jassel41
Reply With Quote
  #2  
Old 11-10-2010, 07:02 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
You can register a callback for viz.WINDOW_SIZE_EVENT and resize your object whenever the window is resized.
Reply With Quote
  #3  
Old 11-10-2010, 10:26 PM
jassel41 jassel41 is offline
Member
 
Join Date: Nov 2009
Posts: 24
Thanks, the main thing I wanted to add was a rectangle to the screen. I ended up simply using a text Quad and scaled it accordingly.

Thanks
Reply With Quote
Reply


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
Title Screen c4am95 Vizard 4 04-08-2010 01:24 PM
Trouble with adding actions vijaykiran Vizard 0 10-05-2009 03:18 PM
split screen honey006 Vizard 3 05-21-2009 09:57 AM
screen image erchrastil Vizard 8 06-27-2008 11:45 AM
position of html-file on screen active_world Vizard 1 05-16-2008 07:24 PM


All times are GMT -7. The time now is 01:33 AM.


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