4D systems gen4-uLCD-32PT Посібник для початківців - Сторінка 12
Переглянути онлайн або завантажити pdf Посібник для початківців для Монітор 4D systems gen4-uLCD-32PT. 4D systems gen4-uLCD-32PT 20 сторінок. Intelligent display modules
Link the Widget
Input widgets can be configured to control an output widget. To do this, just click
on the input (in this example, the slider widget) and go to its Object Inspector
Section and click the Events Tab.
There are two events available under the events tab of an input widget -
OnChanged and OnChanging. These events are triggered by touch actions
performed on the input widget. The OnChanged event is triggered every time an
input widget is released. On the other hand, the OnChanging event is continuously
triggered while an input widget is being touched. In this example, the OnChanging
event is used. Set the event handler by clicking on the ellipsis symbol for the
OnChanging event handler.
The on-event selection window appears. Select coolgauge0Set, then click OK.
Configure the Input Widget to Send Messages to a Host
An external host, connected to the display module through the serial port, can be
made aware of the status of a widget. This can be achieved by configuring the
widget to send event messages to the serial port. To do this, set the OnChanged
event handler of the slider widget to Report Message.
|
12
gen4-uLCD-XXPT - GETTING STARTED MANUAL