Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-12

TPageControl suddenly stopped working

5 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Tail Kinker

I am working on a project that has two TPageControl instances. One is embedded inside a TTabSheet of another. It is the embedded one that for whatever stupid reason has stopped working.

This behaviour started after I set one of the TTabSheets in the TPageControl disabled, but did not cease after I re-set the TTabSheet back to enabled.

Can anyone think what might be causing this behaviour?

Reply by email

Marcos Douglas
to Tail Kinker
Tail Kinker wrote 8 lines
I am working on a project that has two TPageControl instances. ?One is embedded inside a TTabSheet of another. ?It is the embedded one that for whatever stupid reason has stopped working. This behaviour started after I set one of the TTabSheets in the TPageControl disabled, but did not cease after I re-set the TTabSheet back to enabled. Can anyone think what might be causing this behaviour?

What OS and Lazarus version?
I use the same and I don't have this problem.

Lazarus 0.9.31 r33912 FPC 2.5.1 i386-win32-win32/win64

Marco Douglas

Reply by email

Timothy Groves
to Marcos Douglas
Marcos Douglas wrote 13 lines
On Sat, Dec 3, 2011 at 9:15 AM, Tail Kinker wrote: > I am working on a project that has two TPageControl instances. One is > embedded inside a TTabSheet of another. It is the embedded one that for > whatever stupid reason has stopped working. > > This behaviour started after I set one of the TTabSheets in the TPageControl > disabled, but did not cease after I re-set the TTabSheet back to enabled. > > Can anyone think what might be causing this behaviour? What OS and Lazarus version? I use the same and I don't have this problem.

Lazarus 0.9.30 on LUbuntu 11.10. For the most part, I haven't had any such problems. That's why it's such a head scratcher this time.

Reply by email

Marcos Douglas
to Timothy Groves
Timothy Groves wrote 21 lines
On 12/03/2011 07:32 AM, Marcos Douglas wrote: > > On Sat, Dec 3, 2011 at 9:15 AM, Tail Kinker > ?wrote: >> >> I am working on a project that has two TPageControl instances. ?One is >> embedded inside a TTabSheet of another. ?It is the embedded one that for >> whatever stupid reason has stopped working. >> >> This behaviour started after I set one of the TTabSheets in the >> TPageControl >> disabled, but did not cease after I re-set the TTabSheet back to enabled. >> >> Can anyone think what might be causing this behaviour? > > What OS and Lazarus version? > I use the same and I don't have this problem. > > Lazarus 0.9.30 on LUbuntu 11.10. ?For the most part, I haven't had any such problems. ?That's why it's such a head scratcher this time.

Well, my Lazarus version is more updated...
I suggest you try Laz 0.9.31 from trunk.

Marcos Douglas

Reply by email

David Riley
to Tail Kinker: I am working on a project that has two TPageControl instances. One is embedded inside a…
Tail Kinker wrote 9 lines
I am working on a project that has two TPageControl instances. One is embedded inside a TTabSheet of another. It is the embedded one that for whatever stupid reason has stopped working. This behaviour started after I set one of the TTabSheets in the TPageControl disabled, but did not cease after I re-set the TTabSheet back to enabled. Can anyone think what might be causing this behaviour?

I've just encountered this problem after upgrading from Ubuntu 10.04 to Fedora 16, a tab control raises EInterfaceCritical: "clearlooks_style_draw_box_gap: assertion 'height >= -1 'failed'". It seems the LCL is having some sort of problem with the Clearlooks theme, which I'd imagine is analouge to the new Gnome-shell "adawaita" theme in the LCL internals judging by the error messages, and changing the theme is fixing the problem. If your issue is similar try chaning your GTK theme and see if it fixes it.

Reply by email