Recent

Author Topic: Bug: TCDTabControl  (Read 2385 times)

Handoko

  • Hero Member
  • *****
  • Posts: 5129
  • My goal: build my own game engine using Lazarus
Bug: TCDTabControl
« on: October 19, 2017, 05:44:27 am »
Is it a bug?

1. On Lazarus, start a new application project
2. Go to Custom Drawn component palette and select TCDTabControl
3. Put the TCDTabControl on the form

You cannot select it by clicking, you cannot resize it by using mouse. If you force deleting it, you sometimes will get "Access violation" error. Similar issue happens on TCDPageControl too.

Tested on both Lazarus 1.6.4 and 1.8.0RC5 Linux 64 Gtk2.

jamie

  • Hero Member
  • *****
  • Posts: 6090
Re: Bug: TCDTabControl
« Reply #1 on: October 19, 2017, 06:45:49 pm »
I know it works ok in the windows target of 1.6.4.
 
 Maybe its a widget issue ?

The only true wisdom is knowing you know nothing

Michl

  • Full Member
  • ***
  • Posts: 226
Re: Bug: TCDTabControl
« Reply #2 on: October 19, 2017, 07:53:24 pm »
Is it a bug?
Yes.

On Windows 7: I tested Lazarus 1.2.0 there it works fine. Lazarus 1.6.2 ... Lazarus current trunk shows that bug (versions between, I haven't tested).

Please report to Bugtracker!
Code: [Select]
type
  TLiveSelection = (lsMoney, lsChilds, lsTime);
  TLive = Array[0..1] of TLiveSelection;

Handoko

  • Hero Member
  • *****
  • Posts: 5129
  • My goal: build my own game engine using Lazarus
Re: Bug: TCDTabControl
« Reply #3 on: October 20, 2017, 09:02:06 am »

 

TinyPortal © 2005-2018