Home » Developer & Programmer » Forms » scroll bar
scroll bar [message #201941] Tue, 07 November 2006 08:34 Go to next message
srinivas.k2005
Messages: 404
Registered: August 2006
Senior Member
Hi,

I have two different multi record blocks on the same canvas.
two blocks have different scroll bar.
Is there any option that when i scroll one scroll bar the
other should automatically move .
Or can i keep one scroll bar common to both blocks.
or when i do key down also it should move.

Thanks,
Srinivas
Re: scroll bar [message #202028 is a reply to message #201941] Tue, 07 November 2006 22:36 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Okay.

1) "Is there any option that when i scroll one scroll bar the other should automatically move ." - No

But if you have 500 rows in one block and 100 rows in the other you will probably want to pull them down at a different rate.

2) "Or can i keep one scroll bar common to both blocks." If there is a one-to-one relationship between the two blocks consider creating a view that contains the data from the two tables (remember to include their primary key fields) and then have the one block displayed in two lumps.

3) "or when i do key down also it should move." Test the behaviour of doing a 'go_block' to the other block, then a 'down', then 'go_block' back to the first, followed by another 'down'.

Also, try a similar action but written in the 'key_scrdown' trigger.

David
Re: scroll bar [message #202074 is a reply to message #201941] Wed, 08 November 2006 02:14 Go to previous messageGo to next message
satishachar
Messages: 17
Registered: July 2006
Location: Mumbai
Junior Member

Make a parent-child relation between these two blocks.

This should work.
Re: scroll bar [message #202228 is a reply to message #202074] Wed, 08 November 2006 17:59 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
@satishachar - please expand on how having a master-detail relationship is going to get the two blocks to scroll at the same time.

David
Re: scroll bar [message #203298 is a reply to message #202228] Tue, 14 November 2006 12:13 Go to previous message
srinivas.k2005
Messages: 404
Registered: August 2006
Senior Member
Thanks david the key_down trigger is working
Previous Topic: DATE AND TIME IN FORMS... URGENT!
Next Topic: FORMS LEARNING BOOKS AND SITES
Goto Forum:
  


Current Time: Fri Sep 20 13:50:13 CDT 2024