Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread EdbSyntaxMemo within a doublebuffered form in an doublebuffered tgroupbox
Mon, Feb 22 2021 6:43 AMPermanent Link

Yusuf Zorlu

MicrotronX - Speditionssoftware vom Profi

Hi Guys,

can someone test a edbSyntaxMemo within a tGroupbox (doublebuffered =
True) on an Form with doublebuffered set to true.

I have a MDI-Form with an mdi-child-form. Creation is ok but if i
switch with CTRL+TAB within forms, sometimes the tEDBSyntaxMemo is
hanging so the app stopps working.

In my case it hangs each time within the
"While TempLine <= TempEndLine)" Loop in edbutilscomps.pas in the
function "procedure TEDBSyntaxMemo.Paint;"

--
--
Yusuf Zorlu | MicrotronX
Mon, Feb 22 2021 7:13 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Yusuf

<<can someone test a edbSyntaxMemo within a tGroupbox (doublebuffered True) on an Form with doublebuffered set to true.>>


Can I suggest that rather than this you you post a test project to the binaries for people to look at. What you're asking requires a reasonable amount of time to 1) guess at exactly what you're doing and 2) building a project which may not reflect your situation.

Roy Lambert
Mon, Feb 22 2021 7:48 AMPermanent Link

Yusuf Zorlu

MicrotronX - Speditionssoftware vom Profi

Roy Lambert wrote:

> Yusuf
>
> <<can someone test a edbSyntaxMemo within a tGroupbox (doublebuffered
> True) on an Form with doublebuffered set to true.>>
>
>
> Can I suggest that rather than this you you post a test project to
> the binaries for people to look at. What you're asking requires a
> reasonable amount of time to 1) guess at exactly what you're doing
> and 2) building a project which may not reflect your situation.
>
> Roy Lambert

Hi Roy, yes you're totaly right, i'll create a test-project tomorrow
and post it here.

In my case, setting the "DoubleBuffered" Property of my tGroupbox
solved the problems.

--
--
Yusuf Zorlu | MicrotronX
Mon, Feb 22 2021 12:16 PMPermanent Link

Yusuf Zorlu

MicrotronX - Speditionssoftware vom Profi

Roy Lambert wrote:

> Can I suggest that rather than this you you post a test project to
> the binaries for people to look at. What you're asking requires a
> reasonable amount of time to 1) guess at exactly what you're doing
> and 2) building a project which may not reflect your situation.
>
> Roy Lambert


I was not able to create a demo with basic delphi components and
tEDBSyntaxMemo. Possible that this problem has something to do with
DevExpress Styles and DoubleBuffered and Project Theme settings.

At the moment it is solved, putting the tEDBSyntaxMemo into a tGroupbox
with doublebuffered set to FALSE.

--
--
Yusuf Zorlu | MicrotronX
Image