Re: [Lazarus] OI component treeview is now less usable

2012-10-21 Thread Alexander Klenin
On Fri, Oct 19, 2012 at 3:13 AM, Alexander Klenin kle...@gmail.com wrote:
 Since r39097 (IDEIntf: OI: component treeview: show all owned objects
 in properties)
 it became much harder to understand and use treeview.
 Please, if you are sure it is an improvement for somebody, at least
 make it configurable.

Please! Object inspector is now totally broken, with multiple crashes,
fields disappearing, treeview displaying multiple ghost items...
Currently as a workagound I edit lfm files by hand instead of using
form designer,
but is slows my work down substantially.

-- 
Alexander S. Klenin

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] OI component treeview is now less usable

2012-10-21 Thread Maxim Ganetsky

21.10.2012 10:07, Alexander Klenin пишет:

On Fri, Oct 19, 2012 at 3:13 AM, Alexander Klenin kle...@gmail.com wrote:

Since r39097 (IDEIntf: OI: component treeview: show all owned objects
in properties)
it became much harder to understand and use treeview.
Please, if you are sure it is an improvement for somebody, at least
make it configurable.


Please! Object inspector is now totally broken, with multiple crashes,
fields disappearing, treeview displaying multiple ghost items...
Currently as a workagound I edit lfm files by hand instead of using
form designer,
but is slows my work down substantially.


Please create a bug report for every issue you encountered.

--
Best regards,
 Maxim Ganetsky  mailto:gan...@narod.ru

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] OI component treeview is now less usable

2012-10-21 Thread Ludo Brands
 
 Please! Object inspector is now totally broken, with multiple 
 crashes, fields disappearing, treeview displaying multiple 
 ghost items... Currently as a workagound I edit lfm files 
 by hand instead of using form designer, but is slows my work 
 down substantially.
 
Same here with 39147. I have a pqconnection on a form. When I click on the
component on the form the Name property is not shown. When selecting the
same componenent in the OI tree, Name appears but when changing the name, an
access violation is raised when pressing enter. Zconnection from zeoslib has
6 properties that show this behavior. 

2nd problem. Clicking on pqconnection on the form highlights in the OI tree
a pqconnection owned by the form and a pqconnection referenced by
SQLQuery1. Clicking on one of the highlighted pqconnections in the tree
causes a List index (1) out of bounds. exception. Other than the bug,
conceptually I don't understand this mixture of owned by and referenced
by relationship in the tree view. Confusion galore! 
On top of that the view is not coherent in that a reference to a
pqconnection on another form or datamodule is not shown in the tree. Only
references to components on the current form are shown.

Windows XP.

If you want I can raise a bug but mantis is not the place to discuss
conceptual decisions.

Ludo


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] OI component treeview is now less usable

2012-10-21 Thread Alexander Klenin
On Sun, Oct 21, 2012 at 9:16 PM, Maxim Ganetsky gan...@narod.ru wrote:
 21.10.2012 10:07, Alexander Klenin пишет:
 Please! Object inspector is now totally broken, with multiple crashes,
 fields disappearing, treeview displaying multiple ghost items...
 Currently as a workagound I edit lfm files by hand instead of using
 form designer,
 but is slows my work down substantially.


 Please create a bug report for every issue you encountered.

Sigh. Ok, will try -- the problem is that Mantis takes few minutes
upon every page load,
which makes submitting bug reports quite frustrating.
I am surprised that quite visual minor problems with the boolean checkboxes
get so much attention, while this massive breakage is silently ignored.

-- 
Alexander S. Klenin

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] OI component treeview is now less usable

2012-10-21 Thread Alexander Klenin
On Sun, Oct 21, 2012 at 9:25 PM, Alexander Klenin kle...@gmail.com wrote:
 On Sun, Oct 21, 2012 at 9:16 PM, Maxim Ganetsky gan...@narod.ru wrote:
 21.10.2012 10:07, Alexander Klenin пишет:
 Please! Object inspector is now totally broken, with multiple crashes,
 fields disappearing, treeview displaying multiple ghost items...
 Currently as a workagound I edit lfm files by hand instead of using
 form designer,
 but is slows my work down substantially.


 Please create a bug report for every issue you encountered.

 Sigh. Ok, will try

Done:
http://bugs.freepascal.org/view.php?id=23176
http://bugs.freepascal.org/view.php?id=23177
http://bugs.freepascal.org/view.php?id=23178
http://bugs.freepascal.org/view.php?id=23179
http://bugs.freepascal.org/view.php?id=23180
http://bugs.freepascal.org/view.php?id=23181

-- 
Alexander S. Klenin

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] OI component treeview is now less usable

2012-10-21 Thread Maxim Ganetsky

21.10.2012 14:48, Alexander Klenin пишет:

On Sun, Oct 21, 2012 at 9:25 PM, Alexander Klenin kle...@gmail.com wrote:

On Sun, Oct 21, 2012 at 9:16 PM, Maxim Ganetsky gan...@narod.ru wrote:

21.10.2012 10:07, Alexander Klenin пишет:

Please! Object inspector is now totally broken, with multiple crashes,
fields disappearing, treeview displaying multiple ghost items...
Currently as a workagound I edit lfm files by hand instead of using
form designer,
but is slows my work down substantially.



Please create a bug report for every issue you encountered.


Sigh. Ok, will try


Done:
http://bugs.freepascal.org/view.php?id=23176
http://bugs.freepascal.org/view.php?id=23177
http://bugs.freepascal.org/view.php?id=23178
http://bugs.freepascal.org/view.php?id=23179
http://bugs.freepascal.org/view.php?id=23180
http://bugs.freepascal.org/view.php?id=23181


Great, thanks. ;)

--
Best regards,
 Maxim Ganetsky  mailto:gan...@narod.ru

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] OI component treeview is now less usable

2012-10-21 Thread Marcos Douglas
On Sun, Oct 21, 2012 at 8:48 AM, Alexander Klenin kle...@gmail.com wrote:
 On Sun, Oct 21, 2012 at 9:25 PM, Alexander Klenin kle...@gmail.com wrote:
 On Sun, Oct 21, 2012 at 9:16 PM, Maxim Ganetsky gan...@narod.ru wrote:
 21.10.2012 10:07, Alexander Klenin пишет:
 Please! Object inspector is now totally broken, with multiple crashes,
 fields disappearing, treeview displaying multiple ghost items...
 Currently as a workagound I edit lfm files by hand instead of using
 form designer,
 but is slows my work down substantially.


 Please create a bug report for every issue you encountered.

 Sigh. Ok, will try

 Done:
 http://bugs.freepascal.org/view.php?id=23176
 http://bugs.freepascal.org/view.php?id=23177
 http://bugs.freepascal.org/view.php?id=23178
 http://bugs.freepascal.org/view.php?id=23179
 http://bugs.freepascal.org/view.php?id=23180
 http://bugs.freepascal.org/view.php?id=23181

One more:
http://bugs.freepascal.org/view.php?id=23172

Marcos Douglas

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] TListBox.AddItem doesn't exist?

2012-10-21 Thread Timothy Groves

So I am trying to add a TListBox to my program.  Relevant code is below.

  TfrmFicMake = class(TForm)
.
.
.
lstVolumeList: TListBox;
.
.
.
  end;

procedure TfrmFicMake.btnAddVolumeClick(Sender: TObject);
var
  index : integer;
begin
  frmCreateVolume.ShowModal;
  lstVolumeList.Clear;
  for index := 0 to (Length (Volumes) - 1) do
  lstVolumeList.AddItem (Volumes [index].VolumeName);
end;



When I try to compile this, I get:

mainform.pas(55,18) Error: identifier idents no member AddItem


Now, I am almost certain, based on having perused the documentation, 
that TListBox contains a method called AddItem.  What am I doing wrong?


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TListBox.AddItem doesn't exist?

2012-10-21 Thread Timothy Groves
Further update:  TListBox and TCustomListBox do not, in their source 
code, list any AddItem method.  The documentation states that 
TCustomListBox is the earliest ancestor with the AddItem method.


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TListBox.AddItem doesn't exist?

2012-10-21 Thread Howard Page-Clark

On 21/10/12 3:25, Timothy Groves wrote:

So I am trying to add a TListBox to my program.  Relevant code is below.

   TfrmFicMake = class(TForm)
 .
 .
 .
 lstVolumeList: TListBox;
 .
 .
 .
   end;

procedure TfrmFicMake.btnAddVolumeClick(Sender: TObject);
var
   index : integer;
begin
   frmCreateVolume.ShowModal;
   lstVolumeList.Clear;
   for index := 0 to (Length (Volumes) - 1) do
   lstVolumeList.AddItem (Volumes [index].VolumeName);
end;


The AddItem method takes two parameters, a string and an associated 
TObject. If you only want to use the listbox to store a list of string 
items use

  lstVolumeList.Items.Add(Volumes[index].VolumeName);

Howard


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TListBox.AddItem doesn't exist?

2012-10-21 Thread John Landmesser

Am 21.10.2012 16:25, schrieb Timothy Groves:

So I am trying to add a TListBox to my program.  Relevant code is below.

  TfrmFicMake = class(TForm)
.
.
.
lstVolumeList: TListBox;
.
.
.
  end;

procedure TfrmFicMake.btnAddVolumeClick(Sender: TObject);
var
  index : integer;
begin
  frmCreateVolume.ShowModal;
  lstVolumeList.Clear;
  for index := 0 to (Length (Volumes) - 1) do
  lstVolumeList.AddItem (Volumes [index].VolumeName);
end;



When I try to compile this, I get:

mainform.pas(55,18) Error: identifier idents no member AddItem


Now, I am almost certain, based on having perused the documentation, 
that TListBox contains a method called AddItem. What am I doing wrong?


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



just
ListBox1.Items.Add('myString)');

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TListBox.AddItem doesn't exist?

2012-10-21 Thread Timothy Groves

On 12-10-21 11:01 AM, John Landmesser wrote:

Thanks for the help.  In retrospect, the error I made was obvious. :(


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Fwd: How to change default editor font *before* primary config ~/.lazarus is created?

2012-10-21 Thread Bernd
2012/10/20 Bernd prof7...@gmail.com:

 I found another one while trying to package current trunk (svn39145)
 to install into /usr/lib/lazarus, this one is in synedit:

 components/synedit/design/languages

Patch:
http://bugs.freepascal.org/view.php?id=23186

Patching also some other Makefile problems.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Cross-compiling - MIPS

2012-10-21 Thread SkyDiablo

hiho!

i search a solution to build my hello world source from my windows x64 
system to a openWRT (linux) with a MIPS CPU system - cross-compiling?


i do not find a working solution :( now i'm trying to build with a 
debian system, but is dosnt work for now :(


greez  thx,
  sky...

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus