🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18794

Re: Navigator Toolbar

#18794
From: Clint Brewer
Date: Fri, 01 May 1998 00:00
34 lines
1842 bytes
Julio Rincon wrote:
> 
> I'm writing an application and using the navigator toolbar and linking
> it a MS database and using a querydataset.
> 
> My question: is there some way to intercept the mouse click (e.g. for
> row insertion "+") so that I can include some extra code.
> 
> Julio.

Hello again Jullio,

  Glad that the Float class worked for you! 

 There's a couple of ways you could go about this depending on what you
want to do.  If you just want to add code whenever anyone tries to do
anything with the navigation bar, then , in design mode, click on your
query dataset, and look at it in the object inspector, then go to the
events tab, and there's one that say's mouseclicked or mouse released or
mouse pressed...so on and so forth.  If you double click beside of the
event you want, it will generate an event for you, and take you to the
function that will be called when that event is fired.

  Second, if you want to do something whenever the user does something
specifically to the dataset, such as add a row, you can go about it the
same way, but look at the event tab in the object inspector when the
querydataset is selected.  There's a whole bunch of events to capture.
added, adding, etc.  

  Take a look and see if that works for you.

best of luck,
Clint Brewer
Technical Details
Message-ID: <354996E4.27D7@borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3546eef0.1040627456@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,7365ab99bc22433f
X-Google-Attributes: gidf74b3,public
From: Clint Brewer <supportinfo@borland.com>
Subject: Re: Navigator Toolbar
Date: 1998/05/01
Message-ID: <354996E4.27D7@borland.com>
X-Deja-AN: 349200792
Content-Transfer-Encoding: 7bit
References: <3546eef0.1040627456@forums.borland.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: Borland International
Newsgroups: borland.public.jbuilder.java.language