Sign in Join

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

Mailing lists / lazarus / 2000-04

CVS changes

6 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Marc Weustink
to Marc Weustink: some changes: ~ Added some docu and did some cleanup. From Hans-Joachim Ott : *…
Marc Weustink wrote 9 lines
From Hans-Joachim Ott : I defined first TCListBox = class(TCustomListBox) and published the properties like ExtendedSelect, Items etc., but doing so crashes the compiler (0.99.14) with "clistbox.pp(28,1) Fatal: Internal error 55665566", so now it's defined as descendant of TListBox, which should be revised.

I fixed it. This is IMO an issue of the compiler and it should have worked.

The problem are the properties we want to publish.

In TControl the Visual property is defined Public. In TCListBox we want to publish it

In our Uses clause we only refer to Classes and StdCtrls. If you add Controls (where Visual is defined), everything compiles OK. Somehow the compiler cant find the declaration ????

Marc

OK, It took some time but the is working again.

Reply by email

Marc Weustink

Hi,

some changes:
~ Added some docu and did some cleanup.

From Hans-Joachim Ott :

   * TMemo.Lines works now.
     I made complete new code for MemoStrings, it should work
     for every underlying toolkit, but in fact it works best if
     the toolkit does not support Memo lines itself (like GTK),
     it's a lot of overhead if we deal with Windows. Maybe it
     should be put eventually into a toolkit dependant file.
   + TMemo has now a property Scrollbar.
   = TControl.GetTextBuf revised :-)
   + Implementation for CListBox columns added:
     New file clistbox.pp with a property ListColumns.
     If a line with Tabs (#9) is inserted, the text is
     split into the columns (see gtklistl.inc
     TGtkCListStringList.Insert). I defined first
     TCListBox = class(TCustomListBox) and published the
     properties like ExtendedSelect, Items etc.,
     but doing so crashes the compiler (0.99.14) with
     "clistbox.pp(28,1) Fatal: Internal error 55665566",
     so now it's defined as descendant of TListBox, which
     should be revised.
   * Bug in TGtkCListStringList.Assign corrected.

Marc & Hans-Joachim

OK, It took some time but the is working again.

Reply by email

Florian Klaempfl
to Marc Weustink: I fixed it. This is IMO an issue of the compiler and it should have worked. The problem…
Marc Weustink wrote 23 lines
At 01:16 14-04-2000 +0200, Marc Weustink wrote: > From Hans-Joachim Ott : > > I defined first > TCListBox = class(TCustomListBox) and published the > properties like ExtendedSelect, Items etc., > but doing so crashes the compiler (0.99.14) with > "clistbox.pp(28,1) Fatal: Internal error 55665566", > so now it's defined as descendant of TListBox, which > should be revised. I fixed it. This is IMO an issue of the compiler and it should have worked. The problem are the properties we want to publish. In TControl the Visual property is defined Public. In TCListBox we want to publish it In our Uses clause we only refer to Classes and StdCtrls. If you add Controls (where Visual is defined), everything compiles OK. Somehow the compiler cant find the declaration ????

Yesterday, I discovered this problem too, we're on the way to fix it.

Reply by email

Marc Weustink

Hi,

some changes
* Updated examples makefile
Forgot that one with the last makefile updates

* Reviewd the notebook example
The notebook example didn't compile anymore becouse of the missing TTabbedNotebook. I can remeber we
discussed this. Now only notebooks are shown.
The example shows still som problems, the sizing and alignment is not OK

+ Added Listbox example (crashes on startup)
When I looked in the example dit a saw a listboxtest example, it worked OK. I added it to the makefile, did a rebuild --> example dumps.
We have to look at this

Marc

Reply by email

Marc Weustink

Hi,

some changes:
+ Added ide option to the makefiles to only compile the ide (don't compile its dependencies because they will be compiled anyhow)

"Vincent Snijders" :
- removed the references to the windows unit in mwCustomEdit = moved the cf_xxxx constants from clipbrd.pp to lcllinux

Marc

Reply by email

Marc Weustink

Hi,
one fix from "Vincent Snijders" :

The listbox example crashed when you start it up. That is because it defines its own CListbox, instead of using LCL's one in the clistbox.

Marc

Reply by email