[SIMPLEGRAPH] Hiding controls paint on form

Please post bug reports, feature requests, or any question regarding the DELPHI AREA products here.

[SIMPLEGRAPH] Hiding controls paint on form

Postby mrbar » 21/09/11 21:17

Hi guys,

I´m doing a project with SimpleGraph 2.8, and I have created some new kinds of nodes.
When loading some files the form do not paint rightly. after close the openfile dialog the area where the dialog was open dont repaint.
look this images

Before load file:
http://imageshack.us/photo/my-images/850/screen1vo.jpg/

After load file:
http://imageshack.us/photo/my-images/84 ... n2dix.jpg/

I´m attachment the source project too
We need help, please!
You do not have the required permissions to view the files attached to this post.
mrbar
Active Member
Active Member
 
Posts: 5
Joined: 08/08/11 13:27

Re: [SIMPLEGRAPH] Hiding controls paint on form

Postby dec » 23/09/11 14:03

Hi,

Maybe dont work, but, did you try with the "Form.DoubleBuffered" set to "True"? For the other hand, the image show a non repainted area but out of the SimpleGraph... I view the non repainted area is the program menu/toolbar part?
dec
Active Member
Active Member
 
Posts: 9
Joined: 17/07/11 00:33

Re: [SIMPLEGRAPH] Hiding controls paint on form

Postby Kambiz » 23/09/11 18:39

I couldn't run the sample program because it depends on Toolbar97, and I don't have it.

It seems the problem is because of calling "FillRect" method of a wrong canvas (particularly "Panel1.Canvas"). Double checking "with" statements in your code can lead you to the origin of the problem.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2152
Joined: 07/03/03 19:10
Location: Tehran, Iran

Re: [SIMPLEGRAPH] Hiding controls paint on form

Postby mrbar » 23/09/11 19:49

Hi guys,

I'm not using FillRect with "with" nowhere.
I do not paint on canvas of form or panel too!
I'm sending the project again without the ToolBarButton97.
Try help me again, please!

thanks
mrbar
Active Member
Active Member
 
Posts: 5
Joined: 08/08/11 13:27


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 0 guests