Re: [Lazarus] I've been defeated. (Dataset Problem)

2018-01-17 Thread Donald Ziesig via Lazarus

On 01/17/2018 04:41 PM, Michael Van Canneyt via Lazarus wrote:



On Wed, 17 Jan 2018, Donald Ziesig via Lazarus wrote:


Hi All!

I give up! :'(

After four solid days of hacking through undocumented code, I have to 
admit defeat.


I have a component derived from TDataSet.  This component uses 
TFieldDefs and TIndexDefs.  The problem is that when I edit the 
TIndexDef, the underlying form does NOT see the change!  When I edit 
the TFieldDef the form does see the change.


As a result, if I want to update an IndexDef, I must make the change, 
then change ANYTHING ELSE on the form (and change it back) so that 
the change to the IndexDef is saved and recompiled.  While this is a 
work around, I invariably forget to make the second change and lose 
any updates to the IndexDef.


Can anyone help me with this?


I have seen your bugreport about it. I assigned it to myself, but I need
some time to debug it. If you need a solution FAST, someone else will 
need

to look at it...

Michael.



Hi Michael,

Now that I figured out what the underlying problem is and have a work 
around, I can wait. ;-)


Thanks,

Don

-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] I've been defeated. (Dataset Problem)

2018-01-17 Thread Michael Van Canneyt via Lazarus



On Wed, 17 Jan 2018, Donald Ziesig via Lazarus wrote:


Hi All!

I give up! :'(

After four solid days of hacking through undocumented code, I have to 
admit defeat.


I have a component derived from TDataSet.  This component uses 
TFieldDefs and TIndexDefs.  The problem is that when I edit the 
TIndexDef, the underlying form does NOT see the change!  When I edit the 
TFieldDef the form does see the change.


As a result, if I want to update an IndexDef, I must make the change, 
then change ANYTHING ELSE on the form (and change it back) so that the 
change to the IndexDef is saved and recompiled.  While this is a work 
around, I invariably forget to make the second change and lose any 
updates to the IndexDef.


Can anyone help me with this?


I have seen your bugreport about it. I assigned it to myself, but I need
some time to debug it. If you need a solution FAST, someone else will need
to look at it...

Michael.-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] I've been defeated. (Dataset Problem)

2018-01-17 Thread Donald Ziesig via Lazarus

Hi All!

I give up! :'(

After four solid days of hacking through undocumented code, I have to 
admit defeat.


I have a component derived from TDataSet.  This component uses 
TFieldDefs and TIndexDefs.  The problem is that when I edit the 
TIndexDef, the underlying form does NOT see the change!  When I edit the 
TFieldDef the form does see the change.


As a result, if I want to update an IndexDef, I must make the change, 
then change ANYTHING ELSE on the form (and change it back) so that the 
change to the IndexDef is saved and recompiled.  While this is a work 
around, I invariably forget to make the second change and lose any 
updates to the IndexDef.


Can anyone help me with this?

Thanks,

Don Ziesig


--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Minor Annoyance update

2018-01-17 Thread Donald Ziesig via Lazarus

On 01/17/2018 12:54 PM, Bart via Lazarus wrote:

> Startup of the IDE also fails with the menu selection:  File | Restart

How do you start the IDE: lazarus or startlazarus?

From an panel button.  The command is:

startlazarus %f


Bart


Also:

Menu->Tools->Configure Build Lazarus: check: Restart after building IDE. is 
CHECKED.

Don






-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Minor Annoyance update

2018-01-17 Thread Bart via Lazarus
> Startup of the IDE also fails with the menu selection:  File | Restart

How do you start the IDE: lazarus or startlazarus?

Bart
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Minor Annoyance

2018-01-17 Thread Bart via Lazarus
On Wed, Jan 17, 2018 at 6:46 PM, Donald Ziesig via Lazarus
 wrote:

> I have done this in the past, and when I did, the IDE would restart
> automatically when the re-build was done.  With 1.8 the IDE closes and must
> be manually restarted.  As the subject says, this is a minor annoyance.  Is
> there some parameter that i can change to revert this behavior to that of
> 1.6?

Menu->Tools->Configure Build Lazarus: check: Restart after building IDE.

Bart
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Minor Annoyance update

2018-01-17 Thread Donald Ziesig via Lazarus

Update:

Startup of the IDE also fails with the menu selection:  File | Restart



 Forwarded Message 
Subject:[Lazarus] Minor Annoyance
Date:   Wed, 17 Jan 2018 12:46:34 -0500
From:   Donald Ziesig via Lazarus 
Reply-To:   Lazarus mailing list 
To: lazarus@lists.lazarus-ide.org
CC: Donald Ziesig 



Hi Everyone!

I am working on a component and having some issues with the property
interface.  This means that I have to occasionally rebuild the IDE to
update the component's definition.

I have done this in the past, and when I did, the IDE would restart
automatically when the re-build was done.  With 1.8 the IDE closes and
must be manually restarted.  As the subject says, this is a minor
annoyance.  Is there some parameter that i can change to revert this
behavior to that of 1.6?

Using Linux Mint 18.3 with Lazarus 1.8.0 2018-01-10.

Thanks,

Don Ziesig


--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Minor Annoyance

2018-01-17 Thread Donald Ziesig via Lazarus

Hi Everyone!

I am working on a component and having some issues with the property 
interface.  This means that I have to occasionally rebuild the IDE to 
update the component's definition.


I have done this in the past, and when I did, the IDE would restart 
automatically when the re-build was done.  With 1.8 the IDE closes and 
must be manually restarted.  As the subject says, this is a minor 
annoyance.  Is there some parameter that i can change to revert this 
behavior to that of 1.6?


Using Linux Mint 18.3 with Lazarus 1.8.0 2018-01-10.

Thanks,

Don Ziesig


--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Extended filter for Code Completion

2018-01-17 Thread Ondrej Pokorny via Lazarus

On 17.01.2018 22:35, Juha Manninen via Lazarus wrote:

Ondrej, please check my fix in r57109.


Yeap, thanks.

Ondrej
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Extended filter for Code Completion

2018-01-17 Thread Juha Manninen via Lazarus
Ondrej, please check my fix in r57109.

Juha
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Extended filter for Code Completion

2018-01-17 Thread Juha Manninen via Lazarus
On Wed, Jan 17, 2018 at 9:23 AM, Ondrej Pokorny via Lazarus
 wrote:
> I fixed this by myself in r57105.

Thanks.

See also
 https://bugs.freepascal.org/view.php?id=24043
which I marked as related to
  https://bugs.freepascal.org/view.php?id=32974

Juha
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus