> What I want to do is that when I click a button (ex : 5), I want to send 
a message to the form under the modal keypad like if I had pressed '5' in a 
TEdit.
> If I press 556.98 ENTER, I want to send evey key to the TEDIT 
(TComponent) under the modal form.

I have written a number of programs for touchscreen kiosks that display a
keyboard. It is much simpler to handle this by direct method calls to the
control(s). If there is more than one, you can use ActiveControl to 
determine
the control with focus, then use TEdit.SelText to assign the character you
want to be associated with the button. I set the onclick for all the 
buttons in
the virtual keyboard to the same handler. If you want more details, let us
know, but this should get you started. Remember that you will need to
handle command keys (like the backspace) differently.

Glenn Lawler



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/i7folB/TM
--------------------------------------------------------------------~-> 

-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to