Thanks for those tips.

Christian
  ----- Original Message ----- 
  From: Glenn B. Lawler 
  To: '[email protected]' 
  Sent: Wednesday, August 31, 2005 1:33 PM
  Subject: RE: [delphi-en] Send a keypress message to another component


  > 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



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



------------------------------------------------------------------------------
  YAHOO! GROUPS LINKS 

    a..  Visit your group "delphi-en" on the web.
      
    b..  To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]
      
    c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


------------------------------------------------------------------------------



[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/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