![]() |
Touch-It Virtual Keyboard | Version 4.9.2 |
| Display text |
|
This topic demonstrate how to display texts using automation methods from your application.
We have designed a keyboard with text fields representing :
procedure Write (aID : integer; aText :OleVariant);
Interface
When starting, Touch-It broadcasts a WM_TOUCHITSTART message which allows you to initialize the texts.
See Windows messages to learn how to trap this message.
implementation //************************************************************************************ //X Axis position procedure TForm1.OnMoving(X, Y :real); begin
//Display X position without formating //************************************************************************************ //Display status information procedure TForm1.OnStatus1; begin
//Display X position without formating //Text fields support multiline procedure TForm1.OnStatus2(aText1, aText2 :string); begin
TIServer.Write(803, aText1 +#13 +aText2); |
| Copyright © 2011 Chessware SA |