home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases.ingres
- Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!doug.cae.wisc.edu!umn.edu!bru!miracle!buntrock
- From: buntrock@mayo.edu (Jim Buntrock)
- Subject: Re: Windows4gl question on stackfield
- Message-ID: <1993Jan21.200009.23781@bmw.mayo.edu>
- Sender: newsman@bmw.mayo.edu (Usenet News Administrator)
- Reply-To: buntrock@mayo.edu
- Organization: Mayo Foundation
- References: <1993Jan21.042018.3170@news.nd.edu>
- Date: Thu, 21 Jan 93 20:00:09 GMT
- Lines: 41
-
-
- ---
-
- In article 3170@news.nd.edu, nariani@tiamat.cc.nd.edu (Sunil Nariani) writes:
- >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;
- >
-
- This code will tell you if the StackField(row1) or StackField(row2)
- triggered the event block. Hope it helps!?
-
- on childclick row1,
- on childclick row2 =
- begin
- if (Curframe.OriginatorField.Name = 'row1') then
- message 'row1';
- elseif (CurFrame.OriginatorField.Name = 'row2') then
- message 'row2';
- endif;
- end;
-
- ///////////////////////////////
- James Buntrock
- Analyst/Programmer
- Medical Information Resources
- Mayo Clinic
- 200 First Street SW
- Rochester, MN 55905
- Email - buntrock@mayo.edu
- ///////////////////////////////
-
-
-