Re: Triggers for List Items

From: Joe Brown <joe_at_hopi.dtcc.edu>
Date: 6 Nov 1998 15:46:33 GMT
Message-ID: <71v5kp$qfo$1_at_apache.dtcc.edu>


>When-new-item-instance might be used. Anybody has better workaround??
>
>Thanks in advance
>Ashok

This is true for keyboard navigation, however mouse navigation is not cought by this trigger, if the operator clicks on the list dropdown box first.

Very annoying behavior indeed. Makes the drop down list box a pain to use.

I have an if in my when-new-item-instance which checks the count of items in the list. If <=1 then it populates the list w/a query. I figure this will consume only little network bandwidth.

Also add the trigger when-mouse-click to catch mouse navigation, and fire the when-new-item-instance with:

go_item(:system.current_block||'.'||:system.current.item);

This will get the functionality you're looking for, howeverever it does make mouse navigation a little weird.

HTH In article <71tc8v$9ag$1_at_news1-alterdial.uu.net>, Wayne McKinney <wmckinney_at_tiainfo.com> wrote:
>How does one get a trigger to fire before the cursor enters a List Item?
>The trigger PRE-TEXT-ITEM doesn't work (because I guess a List Item isn't
>really a "Text" item). No POST triggers other than a POST-CHANGE are listed
>for a List item. I might be able to use a WHEN-MOUSE-CLICK trigger to catch
>the "mouse" navigation into a List Item, but then it would fire even for
>clicks within the field. That's not what I want.
>
>Has anyone else gotten around this problem. It's almost as if Oracle
>"forgot" to associate any 'PRE' triggers with a List item.
>
>
>

--
(: Joe Brown :)				      joe_at_apache.dtcc.edu
I believe Wine is going to be great if it ever gets finished. . .
I believe Linux _is_ great even though it's not finished! ! !
I believe you have my address.  :-)
Received on Fri Nov 06 1998 - 16:46:33 CET

Original text of this message