Home » Developer & Programmer » Forms » FORM-SCROLLBAR
FORM-SCROLLBAR [message #111423] Wed, 16 March 2005 05:59 Go to next message
dbarone
Messages: 20
Registered: March 2005
Junior Member
I have a MAIN_BLOCK that has some items and a scrollbar...I made invisible all the items when the button CLEAR is pressed, but the problem is that i can't find a way to disable the scrollbar too.The scrollbar is set in the properties of the block.
how can i resolve this problem?
Re: FORM-SCROLLBAR [message #111430 is a reply to message #111423] Wed, 16 March 2005 06:37 Go to previous message
saadatahmad
Messages: 452
Registered: March 2005
Location: Germany/Paderborn
Senior Member

You cannot disable scrollbar at Run Time.
However, you can move the scrollbar to a specified x or y position on the canvas.
So to gain this functionality you can do this.
Open the Property Pallete of Canvas on which your Scrollbar resides.
Make widht = 1500
Code on your Clear Button:
SET_BLOCK_PROPERTY('YOUR_SCROLLBAR_BLOCK_NAME', BLOCKSCROLLBAR_X_POS, 1400);
When you'll press this button Scrollbar will move to that position and thus user's cannot see it. Smile
When you want to show this scrollbar again you can set it's x-position again by writing the same code.
Cheers!

[Updated on: Wed, 16 March 2005 06:38]

Report message to a moderator

Previous Topic: LOV on forms module
Next Topic: Oracle Developer 6i Software
Goto Forum:
  


Current Time: Thu Dec 26 03:58:40 CST 2024