TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Proportional Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Stephane Richard <[log in to unmask]>
Fri, 25 May 2001 20:16:24 +0200
text/plain (28 lines)
Hello everyone,

Let's say I would like to manage a keypress or a mouse click in a windows
form I created using either the win32ada binding, or Windez.  How would I go
about that?   Here's example names for the sake of an example.

Form:     frmClientEntry
Control:  txtPhoneNumber   (this is a regular windows' text box).
          cmdSave          (this is a regular windows' command button).

say I want ot know when they pressed the "enter" key from that text box.
and say I want to know if they clicked the Save button so I can save?

Anyone have a simple or not example on how to do this?

Thank you everyone

Stephane Richard
Software Developer


--
Stephane Richard
Software Developer
[log in to unmask]

Sent through GMX FreeMail - http://www.gmx.net

ATOM RSS1 RSS2