beverly@ai.cs.wisc.edu (Beverly Seavey) (09/13/89)
Can anyone think of a way that I could cause trim in an Ingres form to be highlighted in response to the user moving the cursor over a different piece of trim? People I work with want various atoms in a picture of a molecule to light up as they pass over a list of atom names.
jkrueger@daitc.daitc.mil (Jon Krueger) (09/13/89)
beverly@ai.cs.wisc.edu (Beverly Seavey) writes: > Can anyone think of a way that I could cause trim in an Ingres form >to be highlighted in response to the user moving the cursor over a >different piece of trim? People I work with want various atoms in >a picture of a molecule to light up as they pass over a list of atom names. Trim has no screen attributes. It's usually fine to use tablefields; INGRES 6.0 will automatically highlight the row that the cursor is on. However, can you really draw molecules with character-cell graphics? -- Jon -- Jonathan Krueger ...uunet!daitc!jkrueger jkrueger@daitc.mil (703) 998-4600 My opinions are not necessarily those of my wallpaper.
dmc@sei.cmu.edu (Dawn Cappelli) (09/13/89)
In article <8370@spool.cs.wisc.edu> beverly@ai.cs.wisc.edu (Beverly Seavey) writes: > > Can anyone think of a way that I could cause trim in an Ingres form >to be highlighted in response to the user moving the cursor over a >different piece of trim? People I work with want various atoms in >a picture of a molecule to light up as they pass over a list of atom names. Don't create trim - create *fields* with blank titles, data type character and length of the trim, which are display only. When the form is displayed in your ESQL/C put the text of the trim into those fields so that they look like trim on the form. Then put a field activation on the first "trim" field which uses the set_frs command to change the display of the second "trim" field to reverse video. -- Dawn Cappelli dmc@sei.cmu.edu sei!dmc (412) 268-6170 This is my opinion, and doesn't necessarily reflect the opinion of the SEI.
dmc@sei.cmu.edu (Dawn Cappelli) (09/13/89)
In article <4094@fy.sei.cmu.edu> dmc@sei.cmu.edu (Dawn Cappelli) writes: >In article <8370@spool.cs.wisc.edu> beverly@ai.cs.wisc.edu (Beverly Seavey) writes: >> >> Can anyone think of a way that I could cause trim in an Ingres form >>to be highlighted in response to the user moving the cursor over a >>different piece of trim? > >Don't create trim - create *fields* with blank titles, data type character >and length of the trim, which are display only. >When the form is displayed in your ESQL/C put the text of the trim into those >fields so that they look like trim on the form. Then put a field activation on >the first "trim" field which uses the set_frs command to change the display >of the second "trim" field to reverse video. Sorry about that - if the "trim" fields are display only, you'll never hit the field activation! Instead, put the field activation on the field prior to the first "trim" field. You know that the cursor is about to pass over the first "trim" field, so use the set_frs command to change the second "trim" field display to reverse video. I hope you get the basic idea! It's kind of hard to explain in words - but we've actually created fields to hold trim for various reasons, and you can do a lot of things which you can't do otherwise, such as "dynamic" trim, display trim for some people or in certain cases, and not in others, etc. -- Dawn Cappelli dmc@sei.cmu.edu sei!dmc (412) 268-6170 This is my opinion, and doesn't necessarily reflect the opinion of the SEI.