Hello everyone, I've been assigned to a small task here at my job, and I'd
appreciate a little help.
I have a form (modal) and she's a representation of a numeric keypad :
NUM / * -
7 8 9
4 5 6 +
1 2 3
0 . Enter
every key is a TButton.
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'm sure it's only a matter of API and Win Messages, but I've never done that.
I've searched on TORRY.NET but I have'nt find any tips for that.
Anyboy has a code sample on how to send the messages to the TEdit.
Hint : The form is called by sending the desired component as a params to the
form
GetKeyPadModal(aComponent : TComponent) : Boolean;
thanks to everyone
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/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/