Skip navigation.
Home
The QNX Community Portal

View topic - How to use Text String to give the value to any variable

How to use Text String to give the value to any variable

Isn't the name clear?

How to use Text String to give the value to any variable

Postby bzxaggio » Sun Oct 10, 2010 5:57 pm

In order to develop a GUI interface for a vehicle, so need to set its initial velocity through the control panel--the interface. Question is how to use PtText and PtButton to achieve it like input a number 10 and click the button to give this number to a variable "velocity" to set the maximum velocity of the vehicle, anyone have suggestions or examples about PtText? Thank you!
bzxaggio
Active Member
 
Posts: 16
Joined: Tue Aug 24, 2010 10:09 pm
Location: CHI

RE: How to use Text String to give the value to any variable

Postby mario » Tue Oct 12, 2010 11:45 am

This is lazyness in my opinion, you should read the documentation first and experiment yourself.
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am


Return to GUI Programming

Who is online

Users browsing this forum: Bing [Bot] and 1 guest