Jump to content


Photo

General Repaint Problem


  • Please log in to reply
64 replies to this topic

#21 NoSi

NoSi
  • Members
  • 44 posts

Posted 14 June 2006 - 03:27 PM

QUOTE (Emslaender @ Jun 14 2006, 02:55 PM) <{POST_SNAPBACK}>
... our killing application doesn´t work.

Did you think about going back to a previous - working -release of your app.? My apps. usually are not that essential, that it has to be done "in time". The critical ones are always backed up inside of a VM, last working release incl. enviroment for development, especially after changes i.e. D2005->D2006.

Without doubts it is annoying, if an update of components and/or ide lead to such needless effects. But maybe it is not only Boki, who has some gaps in his development chain. Keep in mind that any outbursts of fury will enclose the risk, that Boki may overlook something different, trying to bring a release asap. to you. He knows ( I am really shure he does), that it is a serious problem you have. But - he is a "one man show". I knew that from the beginning. Therefore the components are cheap. If I want security, I have to use other tools. Maybe more expensive ones, with big support behind. But this does not enshure anything. It am using quite expensive tools from big companies with less response and support than Boki tries to offer. Maybe this is the reason, why I am trying to stay calm.

#22 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 14 June 2006 - 03:50 PM

QUOTE (Emsl䮤er @ Jun 14 2006, 01:55 PM) <{POST_SNAPBACK}>
.... try to find a solution ... our killing application doesn´t work. And in the financial branche you will have a real big problem, so that the accounters run away!!!!! Day by day more...

More than one person described this problem weeks ago. But nothing happens! ---

Today I have to release an update ....

Why didn´t you check the big problems first?

Can you bring a bugfix today?

rgds

Jörg




Can you please try to recompile project I have send it to you and send them to me again. Maybe you can add few more controls on last page to I test it. I realy can find where is a problem.



Thank you
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#23 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 14 June 2006 - 04:17 PM

QUOTE (NoSi @ Jun 14 2006, 02:27 PM) <{POST_SNAPBACK}>
Did you think about going back to a previous - working -release of your app.? My apps. usually are not that essential, that it has to be done "in time". The critical ones are always backed up inside of a VM, last working release incl. enviroment for development, especially after changes i.e. D2005->D2006.

Without doubts it is annoying, if an update of components and/or ide lead to such needless effects. But maybe it is not only Boki, who has some gaps in his development chain. Keep in mind that any outbursts of fury will enclose the risk, that Boki may overlook something different, trying to bring a release asap. to you. He knows ( I am really shure he does), that it is a serious problem you have. But - he is a "one man show". I knew that from the beginning. Therefore the components are cheap. If I want security, I have to use other tools. Maybe more expensive ones, with big support behind. But this does not enshure anything. It am using quite expensive tools from big companies with less response and support than Boki tries to offer. Maybe this is the reason, why I am trying to stay calm.




Hello,



I will realy do my best to bring all things on higher level. I have already start with some moves (such as new forum). I am working on new help software (standalone program) (if someone want to help on this program, I will gladly accept it smile.gif ). There is also new Feature/Bug tracker in very near future and much more, but it seems that I will need more people.



Thank you,



regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#24 Emsländer

Emsländer
  • Members
  • 74 posts
  • Location:Germany

Posted 14 June 2006 - 04:50 PM

QUOTE (Boki (Berg) @ Jun 14 2006, 05:17 PM) <{POST_SNAPBACK}>
Hello,



I will realy do my best to bring all things on higher level. I have already start with some moves (such as new forum). I am working on new help software (standalone program) (if someone want to help on this program, I will gladly accept it smile.gif ). There is also new Feature/Bug tracker in very near future and much more, but it seems that I will need more people.

Thank you,



regards




Hi Boki,



perhaps i can help you in future. Let´s see what´s comming.



to the problem: in the small application the bug is not reproduceable. Only in the big one. But the code doesn´t use anything, because I use a few other tools etc.

But here you have 3 attachements. The first (no 36) shows the tab "Finanzierungsvorschlag" after clicking the button on the tab before. This normaly contains a (Delphi-std) Grid filled before. The empty berg-grid ist liing over this with no content. What you see is a kind of shit from the graphics memory. Now I change the tab (pic no 37) and change back (pic no 38). Then there all is fine.

It is the same problem, like in the combo boxes


rgds



Jörg

Attached Files



#25 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 14 June 2006 - 05:19 PM

Hello Jorg,

Can you please try to replace TNxHeaderPanel in DFM file to "normal" TPanel. Maybe this component create problems.

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#26 JasonColey

JasonColey
  • Honorable Members
  • 44 posts

Posted 14 June 2006 - 10:59 PM

QUOTE (Boki (Berg) @ Jun 14 2006, 05:19 PM) <{POST_SNAPBACK}>
Hello Jorg,

Can you please try to replace TNxHeaderPanel in DFM file to "normal" TPanel. Maybe this component create problems.

regards


Yes I think this panel is casing some problems, I have struck this wih some of my own apps. I think it has to do with not handling the WM_ERASEBKGND message correctly. I will look into this for you today to see if I can find the issue.

Jason

#27 Emsländer

Emsländer
  • Members
  • 74 posts
  • Location:Germany

Posted 15 June 2006 - 09:53 AM

QUOTE (JasonColey @ Jun 14 2006, 11:59 PM) <{POST_SNAPBACK}>
Yes I think this panel is casing some problems, I have struck this wih some of my own apps. I think it has to do with not handling the WM_ERASEBKGND message correctly. I will look into this for you today to see if I can find the issue.

Jason




It is not only the panel. On this tab I changed the panel and the result is the same. - It seems, that the TNxPageControl has the same problem.
I checked it and changed the main panel to TPanel - also the panel in TNxPageControl. The same result. Therefore: The bug must also be in the TNxPageControl.


If it helps: It is a TNxPageControl in a tab of TNxPageControl


rgds



Jörg

#28 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 15 June 2006 - 12:29 PM

Hello Jorg,

I will look NxPageControl too.

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#29 Emsländer

Emsländer
  • Members
  • 74 posts
  • Location:Germany

Posted 15 June 2006 - 03:31 PM

QUOTE (Boki (Berg) @ Jun 15 2006, 01:29 PM) <{POST_SNAPBACK}>
Hello Jorg,

I will look NxPageControl too.

regards




Ok.



I think, that this is a problem anywhere in the handling of graphic memory.

The same problem ist in the TNxCombobox, too.



rgds



Jörg

#30 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 16 June 2006 - 12:30 AM

Hello Jorg,

One more try smile.gif

Can you locate TNxNotebook.CreateParams method in NxPageControl.pas file and change it to:

CODE
procedure TNxNotebook.CreateParams(var Params: TCreateParams);
begin
  inherited CreateParams(Params);
  // empty
end;

boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#31 Emsländer

Emsländer
  • Members
  • 74 posts
  • Location:Germany

Posted 16 June 2006 - 07:59 AM

QUOTE (Boki (Berg) @ Jun 16 2006, 01:30 AM) <{POST_SNAPBACK}>
Hello Jorg,

One more try smile.gif

Can you locate TNxNotebook.CreateParams method in NxPageControl.pas file and change it to:

CODE
procedure TNxNotebook.CreateParams(var Params: TCreateParams);
begin
  inherited CreateParams(Params);
  // empty
end;




Hi Boki, I dit so. Result: sad.gif



the same shit



rgds



Jörg

#32 JasonColey

JasonColey
  • Honorable Members
  • 44 posts

Posted 16 June 2006 - 01:59 PM

can someone send me a test app with this problem so i can check it out here?

JAson

#33 Markus

Markus
  • Members
  • 54 posts

Posted 16 June 2006 - 02:04 PM

Why not attaching the demo in here?
It compiles, ship it!

#34 Emsländer

Emsländer
  • Members
  • 74 posts
  • Location:Germany

Posted 16 June 2006 - 02:07 PM

QUOTE (Markus @ Jun 16 2006, 03:04 PM) <{POST_SNAPBACK}>
Why not attaching the demo in here?




I cannot build a demo in a few minutes or hours.



I will spent my weekend for a complete fallback to Delphi 2005





thanks for all





Jörg

#35 Markus

Markus
  • Members
  • 54 posts

Posted 16 June 2006 - 02:12 PM

QUOTE (Emsl�nder @ Jun 16 2006, 03:07 PM) <{POST_SNAPBACK}>
I cannot build a demo in a few minutes or hours.


Okay, thought you already have one finished since you said you sent it to Boki...

QUOTE (Emsl�nder @ Jun 12 2006, 09:04 PM) <{POST_SNAPBACK}>
Hi Marcus,

this bug is reproductable! I also sent an example to boki.


Markus
It compiles, ship it!

#36 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 16 June 2006 - 03:00 PM

Hello,

I have compile this project in my Delphi 2006 and all work fine. Maybe I may send you Jorg current version to you test it. I don't have any more ideas sad.gif

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#37 wvd_vegt

wvd_vegt

    Master Member

  • Honorable Members
  • PipPipPipPipPip
  • 710 posts
  • Gender:Male
  • Location:the Netherlands

Posted 16 June 2006 - 03:32 PM

Hi Emslander

Did you try to repaint the tab by hand, so

frmmain.tab_finanzierung.PageVisible := true;
frmMain.pc_Finanzierung.ActivePage := frmmain.tab_finanzierung;
frmMain.pc_Finanzierung.ActivePage.Repaint;

or

frmMain.pc_Finanzierung.Repaint;

Btw is it a delphi version specific bug? Then I use nested pagecontrols with dynamically created and destroyed pages without much problems in D7.
G.W. van der Vegt

#38 Emsländer

Emsländer
  • Members
  • 74 posts
  • Location:Germany

Posted 16 June 2006 - 03:33 PM

QUOTE (wvd_vegt @ Jun 16 2006, 04:32 PM) <{POST_SNAPBACK}>
Hi Emslander

Did you try to repaint the tab by hand, so

frmmain.tab_finanzierung.PageVisible := true;
frmMain.pc_Finanzierung.ActivePage := frmmain.tab_finanzierung;
frmMain.pc_Finanzierung.ActivePage.Repaint;

or

frmMain.pc_Finanzierung.Repaint;

Btw is it a delphi version specific bug? Then I use nested pagecontrols with dynamically created and destroyed pages without much problems in D7.




Yes i did so...



rgds



Jörg

#39 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 16 June 2006 - 03:51 PM

Hello Jorg,

I will send you my version in next 2h, and you may test it.

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#40 wvd_vegt

wvd_vegt

    Master Member

  • Honorable Members
  • PipPipPipPipPip
  • 710 posts
  • Gender:Male
  • Location:the Netherlands

Posted 16 June 2006 - 04:28 PM

QUOTE (Emsl䮤er @ Jun 16 2006, 04:33 PM) <{POST_SNAPBACK}>
Yes i did so...

Jörg


And putting it between BeginUpdate/EndUpdate or LockWindow() calls?

A really last resort & nasty one is:

LockWindow(Handle),
Hide Mainwindow,
Code....
Show It and
LockWindow(0).

Whish i could help you out.

Btw You problem still looks like a hanging endupdate to me. Do you use that anywhere in your app?
G.W. van der Vegt




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users