WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-22-2013, 06:38 AM
CompSci CompSci is offline
Member
 
Join Date: Jun 2013
Posts: 28
Scroll Bar for Text/Resize & Button Image

Hello,

Does anyone know how I would add a scroll bar to a text box?
Also, how do I re-size and change the font/color of viz.addText3D and viz.addText?

Is it possible to viz.addTexture to a button?

Thank you
Reply With Quote
  #2  
Old 07-23-2013, 05:54 AM
CompSci CompSci is offline
Member
 
Join Date: Jun 2013
Posts: 28
Quote:
Originally Posted by CompSci View Post
Hello,

Does anyone know how I would add a scroll bar to a text box?
Also, how do I re-size and change the font/color of viz.addText3D and viz.addText?

Is it possible to viz.addTexture to a button?

Thank you
For the last question I want to add an object to a button, is that possible?
Reply With Quote
  #3  
Old 07-23-2013, 12:49 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,466
You might want to look into wxPython or another Python add-on that's used for creating GUI applications to create a textbox that scrolls. Vizard's textbox does not support that functionality.

The command index (Help->Command Index) documents the commands available on node3D objects.

For text font/color:

<node3d:text3d>.font
<node3d:text3d>.fontSize
<node3d>.color


For button image:

<node3d:GUI:button>.downpicture
<node3d:GUI:button>.uppicture
Reply With Quote
  #4  
Old 07-24-2013, 04:23 AM
CompSci CompSci is offline
Member
 
Join Date: Jun 2013
Posts: 28
Quote:
Originally Posted by Jeff View Post
You might want to look into wxPython or another Python add-on that's used for creating GUI applications to create a textbox that scrolls. Vizard's textbox does not support that functionality.

The command index (Help->Command Index) documents the commands available on node3D objects.

For text font/color:

<node3d:text3d>.font
<node3d:text3d>.fontSize
<node3d>.color


For button image:

<node3d:GUI:button>.downpicture
<node3d:GUI:button>.uppicture
Ok, thanks, I will give this a try.
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
360 panorama image cube using as darts target and record the xy coordinates mshukun Vizard 2 03-14-2013 06:17 AM
Create Button or Text Chrissy2009 Vizard 1 07-15-2009 05:34 PM
Vizard tech tip: Using the Python Imaging Library (PIL) Jeff Vizard 0 03-23-2009 11:13 AM
View an image on the Fakespace HMD roman_suvorov Vizard 16 05-23-2008 07:51 AM
button problems cade_mccall Vizard 3 02-22-2007 09:48 AM


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


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