WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Scroll Bar for Text/Resize & Button Image (https://forum.worldviz.com/showthread.php?t=4687)

CompSci 07-22-2013 06:38 AM

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 :)

CompSci 07-23-2013 05:54 AM

Quote:

Originally Posted by CompSci (Post 15159)
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?

Jeff 07-23-2013 12:49 PM

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:

.font
.fontSize
.color


For button image:

.downpicture
.uppicture

CompSci 07-24-2013 04:23 AM

Quote:

Originally Posted by Jeff (Post 15181)
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:

.font
.fontSize
.color


For button image:

.downpicture
.uppicture

Ok, thanks, I will give this a try.


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

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