Home » Developer & Programmer » Forms » Forms scrollbar events (forms 10g (web))
Forms scrollbar events [message #361370] Wed, 26 November 2008 02:02 Go to next message
mikeverkimpe
Messages: 30
Registered: April 2007
Location: Belgium
Member
Hy,

I'm trying to create a tooltip for a multirecord block that is different for every record.

I allready created it for a normal multirecord block that has no scrollbar.

When I add a scrollbar to the block, my system doesn't seem to work anymore. This is because there are no events firing when you press the scrollbar 'UP'. Only when the block needs to fetch a new record the 'when new record instance' event fires.

Does anyone know if it is possible to handle the scrollbar 'UP' in an event ?

Kind regards.

Mike.
Re: Forms scrollbar events [message #361568 is a reply to message #361370] Thu, 27 November 2008 00:49 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Try 'key-up'.

David
Re: Forms scrollbar events [message #361591 is a reply to message #361568] Thu, 27 November 2008 02:13 Go to previous messageGo to next message
mikeverkimpe
Messages: 30
Registered: April 2007
Location: Belgium
Member
Key-up or any other key trigger doesn't work as this is the scrollbar we are handling and not a key in the block.

according to me there are no events linked to the scrollbar.

Mike.

Re: Forms scrollbar events [message #361735 is a reply to message #361591] Thu, 27 November 2008 18:33 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Acording to me there is.

Create a 'key-others' trigger and verify that SOMETHING is being sensed by the Form. You are using the mouse to press the 'arrow' key at the top and bottom of a vertical scroll bar?

David
Re: Forms scrollbar events [message #361852 is a reply to message #361370] Fri, 28 November 2008 04:48 Go to previous messageGo to next message
rabindra
Messages: 15
Registered: October 2008
Location: as
Junior Member

UP; --is to scroll the mouse
Re: Forms scrollbar events [message #362111 is a reply to message #361852] Mon, 01 December 2008 00:32 Go to previous messageGo to next message
mikeverkimpe
Messages: 30
Registered: April 2007
Location: Belgium
Member
Yes i am using the mous to press the top end of the scrollbar. I tested the key others trigger. But as I allready suspected, pressing the button on top of the scrollbar does not initiate an event.

I guess there is no solution to this problem.

Mike.
Re: Forms scrollbar events [message #362553 is a reply to message #362111] Wed, 03 December 2008 00:24 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
I suspect that either you are trapping the key somewhere else in your form or there is a problem with the JInitiator.

Try creating a new form and only place code in the key-other trigger at the form level. See if this minimal form works.

David
Re: Forms scrollbar events [message #363198 is a reply to message #362553] Fri, 05 December 2008 06:17 Go to previous messageGo to next message
mikeverkimpe
Messages: 30
Registered: April 2007
Location: Belgium
Member

Not working martin. Got any other ideas ? Shocked

Mike.
Re: Forms scrollbar events [message #364328 is a reply to message #363198] Mon, 08 December 2008 00:41 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Did you try my suggestion of a minimal form with a single trigger?

David

And the name is David!!

[Updated on: Mon, 08 December 2008 00:41]

Report message to a moderator

Re: Forms scrollbar events [message #364387 is a reply to message #364328] Mon, 08 December 2008 04:22 Go to previous message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
djmartin
And the name is David!!

Right! While 'martin' is just a string, it is not a name (as there's no first capital letter) /forum/fa/1587/0/

I'm just kidding!

By the way, David, what does "J" stand for?
Previous Topic: Selecting the default Printer
Next Topic: Change the Tab Title
Goto Forum:
  


Current Time: Sun Feb 09 09:01:40 CST 2025