WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-08-2011, 07:19 PM
disbeat disbeat is offline
Member
 
Join Date: Oct 2010
Posts: 36
How to verify if texbox is enabled

Hi,

Is there a way to check if a textbox is enabled? I see the methods for enabling and disabling, but how can I just check if it is enabled in a particular moment?

Thanks in advance,

Marco Simões
Reply With Quote
  #2  
Old 02-09-2011, 01:20 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
If you are going to disable and enable the textbox you can create a variable to keep track of it's state. If you need to check whether the textbox has focus use the <node3d:GUI>.getFocus() command.
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
Texbox deselecting TarkaDahl Vizard 3 08-26-2011 02:02 PM
Multiline texbox disbeat Vizard 1 02-09-2011 01:31 PM
MainView.setPosition ignored when collisions are enabled vTony Vizard 1 09-25-2008 09:12 AM
collision with physics enabled joeymax Vizard 2 04-17-2008 02:49 PM


All times are GMT -7. The time now is 03:47 PM.


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