DELPHI AREA
MESSAGE BOARD
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   FavoritesFavorites   Watched TopicsWatched Topics     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

cmPan without Scrollbars

 
Post new topic   Reply to topic   printer-friendly view    DELPHI AREA Forum Index -> DELPHI AREA's Products
View previous topic :: View next topic  
Author Message
HPW
Senior Member


Joined: 25 Feb 2006
Posts: 131
Location: Germany

PostPosted: 11/02/07 17:43    Post subject: cmPan without Scrollbars Reply with quote

Hello,

I was asked for a option to disable the scrollbars in my simplegraph neobook-plugin.
But with diabled scrollbars the cmPan comandmode no longer works.
After a look in the component-source I see that the scrollbars are heavily involved in panning. Any idea to get a pan without scrollbars?

TSimpleGraph 2.61

_________________
Hans-Peter
Back to top
View user's profile Send private message
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 1113
Location: Tehran, Iran

PostPosted: 12/02/07 04:31    Post subject: Reply with quote

The only solution that I can imagine is rewriting the code. Sad
_________________
Kambiz
Back to top
View user's profile Send private message Send e-mail Visit poster's website
HPW
Senior Member


Joined: 25 Feb 2006
Posts: 131
Location: Germany

PostPosted: 12/02/07 06:24    Post subject: Reply with quote

I thought that I get this answer, so when there is no easy way, I think it is not worth to spend to much efforts on this.

Thanks anyway.

_________________
Hans-Peter
Back to top
View user's profile Send private message
Johnny_Bit
Administrator


Joined: 15 Jun 2003
Posts: 347

PostPosted: 12/02/07 08:29    Post subject: Reply with quote

there is Q&D way: enable it whenever you'll need them and then quickly and quietly disable them.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
HPW
Senior Member


Joined: 25 Feb 2006
Posts: 131
Location: Germany

PostPosted: 12/02/07 16:30    Post subject: Reply with quote

Quote:
there is Q&D way: enable it whenever you'll need them and then quickly and quietly disable them.


Hm, does not work since position gets reset to 0,0 when scrollbars are made invisible.

Another idea would be to make TSimpleGraph bigger by the amount of scrollbar-width/height to have them in the invisible area outside the form.

_________________
Hans-Peter
Back to top
View user's profile Send private message
Johnny_Bit
Administrator


Joined: 15 Jun 2003
Posts: 347

PostPosted: 12/02/07 16:44    Post subject: Reply with quote

That's what the Q&D way is about!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
HPW
Senior Member


Joined: 25 Feb 2006
Posts: 131
Location: Germany

PostPosted: 12/02/07 19:06    Post subject: Reply with quote

Quote:
That's what the Q&D way is about!


The Q&D way works now in the just released new version!

Wink

_________________
Hans-Peter
Back to top
View user's profile Send private message
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 1113
Location: Tehran, Iran

PostPosted: 12/02/07 19:27    Post subject: Reply with quote

Laughing What a simple solution!
_________________
Kambiz
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Johnny_Bit
Administrator


Joined: 15 Jun 2003
Posts: 347

PostPosted: 12/02/07 20:36    Post subject: Reply with quote

We, coders of the Free Software, know our stuff.

Happy hacking!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    DELPHI AREA Forum Index -> DELPHI AREA's Products All times are GMT
Page 1 of 1

Add to favorites

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group