Displaying Text on new Window
Hi all,
I have an application which can either run in single screen mode or three screen mode. Single screen mode uses viz.MainView only and three screen mode, I use three custom windows. My only problem is when I attempt to display text in the centre of the application. The parent of the text by default is viz.SCREEN. I attempt to reset this if I am in three screen mode to the centre screen. Unfortunately, I don't see the text. I don't get errors either. Screen Code: Code:
Code:
self.trialInstructions = "TEXT" Code:
if not(screen.returnScreen() == False): Thanks |
If you only want the object to show up on a specific window, then use the renderOnlyToWindows command. Example:
Code:
self.text.renderOnlyToWindows([centreWindow]) |
All times are GMT -7. The time now is 11:34 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC