home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / database / ingres / 2335 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.7 KB  |  54 lines

  1. Newsgroups: comp.databases.ingres
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!ames!pacbell.com!rtech!ingres!mikes
  3. From: mikes@Ingres.COM (Mike Schilling)
  4. Subject: Re: Windows4gl question on stackfield
  5. Message-ID: <1993Jan21.184651.26450@pony.Ingres.COM>
  6. References: <1993Jan21.042018.3170@news.nd.edu>
  7. Date: 21 Jan 93 18:46:51 GMT
  8. Lines: 44
  9.  
  10. From article <1993Jan21.042018.3170@news.nd.edu>, by nariani@tiamat.cc.nd.edu (Sunil Nariani):
  11. > I have 2 stackfields containing button fields.
  12. > The stackfields are called row1, row2.
  13. > If a user clicks on a button in one of the rows, I 
  14. > want to know which row (not button) was clicked.
  15. > The code should go as follows
  16. > on ChildClick row1, on ChildClick row2 = 
  17. > begin
  18. >         What code tells if it was row1 or row2 ?
  19. > end;
  20. > Note: I don't want separate event blocks as in the following code.
  21. > on ChildClick row1 =
  22. > begin
  23. >     ...
  24. > end;
  25. > on ChildClick row2 =
  26. > begin
  27. >     ...
  28. > end;
  29. > -------------------------------------------------------------
  30. > Use email, save a tree.
  31. > Sunil Nariani
  32. > Network Analyst
  33. > G008    OUC             My opinions are exactly that, MY opinions.
  34. > Univ of Notre Dame.
  35. > (219) 239-8575
  36. > (219) 271-1514
  37. > --------------------------------------------------------------
  38. Look at the language reference manual chapter on events; it will tell you
  39. which curframe attributes related to event processing are valid in a ChildClick
  40. block, and what their meanings are.  One of them (I think OriginatorField)
  41. will tell you what you want to know.
  42. ----------------------------------------------------------------------------
  43. mikes@ingres.com = Mike Schilling, INGRES, An ASK Group Company, Alameda, CA
  44. Just machines that make big decisions,
  45. Programmed by fellows with compassion and vision.    -- Donald Fagen, "IGY"
  46.