Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Problem with scrollbars (Read 3348 times)
JR
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 86
Joined: Jun 12th, 2007
Problem with scrollbars
Nov 30th, 2011 at 4:26pm
Print Post  
Hello again !!

Again because I am working on 2 similar projects using JDiagram and Flowchart activeX and I have today a topic with JDiagram.

I am working with powerbuilder.

I have a problem with the scrollbars.

I have the flowchart control in a window.
I create a graph (for the moment, only boxes).
My graph is very large (several times the width of the screen).
The horizontal scrollbar is displayed but is disabled.
I can't go to the right part of the document.
If I resize my window to the screen width, the scrollbar becomes enabled but I can't go the right of my graph.

It is as if the visible part of the document is limited to screen size.

I saved my graph with the savetofile method.
Your VB flowcharter sample can load this file and I still have the same problem : the most part of the graph is not accessible.
I can give you the file if you want.

What can be the origin of the problem ?

Regards
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Problem with scrollbars
Reply #1 - Nov 30th, 2011 at 4:48pm
Print Post  
Hi,

Call the FitDocToObjects or SetDocSize method to make the scrollable area large enough. That's what corresponds to Diagram's setBounds and resizeToFitItems methods in the Java control.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
JR
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 86
Joined: Jun 12th, 2007
Re: Problem with scrollbars
Reply #2 - Dec 1st, 2011 at 8:29am
Print Post  
Great !!

Thanks
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint