Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic how to make the scrollbar dynamic (Read 2299 times)
Jose
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 12
Joined: Mar 7th, 2008
how to make the scrollbar dynamic
Mar 8th, 2008 at 10:51am
Print Post  
hi,
   I need to attach scrollbar in the fcx object. but the ShowScrollers() function is will show the scrollbar even if there is no need also. ie, even if the entire collection of boxes and arrows fit inside the view. The HideScrollers() function will hide the scrollbars even if there is a need.
In my application, I need to display the scrollers only if the image crosses the view boundary, as in usual applications. Please help me.
Thanx in advance...
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: how to make the scrollbar dynamic
Reply #1 - Mar 8th, 2008 at 12:30pm
Print Post  
Hi,

We have recently implemented dynamic scrollbars - wasn't that after your company's request? We don't have an official release with this feature included yet, but I can send you a pre-release version if it's urgent.

Stoyan
  
Back to top
 
IP Logged
 
Jose
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 12
Joined: Mar 7th, 2008
Re: how to make the scrollbar dynamic
Reply #2 - Mar 8th, 2008 at 12:59pm
Print Post  
yes. we got the dll. But the feature was not working. (May be we havnt used it in the correct way)
Can you please specify how that function can be used. if possible add code snippet.
thanks ...
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: how to make the scrollbar dynamic
Reply #3 - Mar 9th, 2008 at 1:14pm
Print Post  
Hi,

Look in the private messages area for a link to download the updated version. You must set DisableNoScroll = false before calling ShowScrollbars or SetDocSize:

Private Sub Form_Load()
    fcx.AutoSizeDoc = True
    fcx.DisableNoScroll = False
    fcx.SetDocSize 0, 0, 100, 1200
End Sub

The new property corresponds to the SIF_DISABLENOSCROLL flag you would pass to the SetScrollInfo function from the Window API.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint