home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases.ingres
- Path: sparky!uunet!elroy.jpl.nasa.gov!ames!pacbell.com!rtech!ingres!mikes
- From: mikes@Ingres.COM (Mike Schilling)
- Subject: Re: Windows4gl question on stackfield
- Message-ID: <1993Jan21.184651.26450@pony.Ingres.COM>
- References: <1993Jan21.042018.3170@news.nd.edu>
- Date: 21 Jan 93 18:46:51 GMT
- Lines: 44
-
- From article <1993Jan21.042018.3170@news.nd.edu>, by nariani@tiamat.cc.nd.edu (Sunil Nariani):
- > I have 2 stackfields containing button fields.
- > The stackfields are called row1, row2.
- > If a user clicks on a button in one of the rows, I
- > want to know which row (not button) was clicked.
- >
- > The code should go as follows
- >
- > on ChildClick row1, on ChildClick row2 =
- > begin
- > What code tells if it was row1 or row2 ?
- > end;
- >
- >
- > Note: I don't want separate event blocks as in the following code.
- > on ChildClick row1 =
- > begin
- > ...
- > end;
- >
- > on ChildClick row2 =
- > begin
- > ...
- > end;
- >
- >
- > -------------------------------------------------------------
- > Use email, save a tree.
- >
- > Sunil Nariani
- > Network Analyst
- > G008 OUC My opinions are exactly that, MY opinions.
- > Univ of Notre Dame.
- > (219) 239-8575
- > (219) 271-1514
- > --------------------------------------------------------------
- Look at the language reference manual chapter on events; it will tell you
- which curframe attributes related to event processing are valid in a ChildClick
- block, and what their meanings are. One of them (I think OriginatorField)
- will tell you what you want to know.
- ----------------------------------------------------------------------------
- mikes@ingres.com = Mike Schilling, INGRES, An ASK Group Company, Alameda, CA
- Just machines that make big decisions,
- Programmed by fellows with compassion and vision. -- Donald Fagen, "IGY"
-