[Lazarus] Lazbuild gives error

2021-04-09 Thread frans via lazarus

Hi,

After updated my SVN lazarus directory I want to rebuild lazarus using 
lazbuild --build-all. But lazbuild gives the error *(lazarus) invalid 
lazarus directory "C:\lazarus": directory not found*.
The message is correct, I don't have a C:\lazarus directory. But why is 
lazbuild searching for that directory? My SVN directory is 
D:\SVN\LAZARUS and my OS is Windows10.


--
mvg
Frans van Leeuwen
M 06-51695390



--
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] TComboBox: Is different behaviour when DroppedDown possible?

2021-01-04 Thread frans via lazarus

Hi,

I'm searching for an alternative behaviour of the TComboBox when 
scrolling through the DroppedDown list. The selected item is also 
displayed in the text field. But I would that text field unchanged until 
the selected item is accepted by Enter. I've been searching the internet 
but can't find anything.
My own programming skills are not of a level to create a solution 
myself. Did anyone else tried something like this?


--
mvg
Frans van Leeuwen
M 06-51695390


--
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com

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


[Lazarus] Is TForm.LastActiveControl working correctly?

2020-12-06 Thread frans via lazarus

Hi,

I'm using Lazarus 2.0.10 on Windows10 and I'm trying to make use of 
TForm.LastActiveControl.
My form has a TButtonpanel with HelpButton and CancelButton visible. 
There is an Actionlist with 2 actions, each with a Shortcut (F1 and 
Esc). The form has 3 TLabeledEdit fields.
My purpose is that the field that has the focus keeps that (I do that in 
the FormOnActivate routine) after calling Help by clicking on the 
HelpButton.  But that is not the case, the focus is placed on that 
HelpButton.
I added some debug lines to check the value of ActiveControl and 
LastActiveControl in an OnEnter and OnExit routine for each field. The 
result is that every action I take (use tab of mouse to activate another 
control) gives the same result: ActiveControl and lastActiveControl 
allways point to the same control.


Is this a bug or is my understanding of lastActiveControl wrong?

--
mvg
Frans van Leeuwen
M 06-51695390


--
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com

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


Re: [Lazarus] Fixed-pitch font on windows with difference between 1 and l in code editor?

2020-10-27 Thread frans via lazarus

I'm using Courier New.

mvg
Frans van Leeuwen
M 06-51695390

Op 27-10-2020 om 10:34 schreef Bo Berglund via lazarus:

I am trying to find a font to use in the code editor window on Lazarus
2.0.10 on Windows 10 x64 where I can see a difference between 1 and l
(number and letter).
The closest I have gotten is Lucida Console, but it uses extra space
between letters making the lines un-necessarily rather long

Is there another suitable coding font that has a fixed pitch and is
showing a visible difference between the 20 characters?





--
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com

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


[Lazarus] TCheckLisBox and SelCount

2020-08-04 Thread frans via lazarus

Hi,

The inherited SelCount function of a TCheckListBox counts the selected 
items, not the checked items which are the whole purpose of this 
component. And there is no other function available. Is this overlooked 
or judged as not necessary?


--
mvg
Frans van Leeuwen
M 06-51695390


--
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com

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


[Lazarus] Do I understand how OnIdle works?

2020-07-27 Thread frans via lazarus

Hi,

I wonder about the use of OnIdle procedure and the Done variable. I 
thougth that this routine keeps running over and over again in idle 
state as long as Done=False. But the value of Done doesn't make a 
difference, the OnIdle procedure  keeps repeating itself even when 
Done=True.

Can anyone explain this to me?

--
mvg
Frans van Leeuwen
M 06-51695390


--
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com

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


[Lazarus] Is there a demo for SHDocVw_1_1_TLBP.lpk

2020-04-13 Thread frans via lazarus

Hi,

I'm using Lazarus 2.04 on Windows10.
I've used the shdocvw_1_1_tlb.pas unit (imported on 2-1-2016 from 
C:\Windows\SysWOW64\shdocvw.dll) to show helptext in a browser. Now 
there is a new package ActiveXInternetExplorer and the contents of 
shdocvw_1_1_tlb.pas (imported on 23-7-2017 from 
C:\Windows\System32\ieframe.dll) is very much different from the older one.
I've tried to figure out how to use this new pakage, but I don't 
understand it and I can't find any documentation. Is there someone who 
can explain this to me? Or show it to me in a little demo?


Thx very much.

--
mvg
Frans van Leeuwen
M 06-51695390


--
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com

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


[Lazarus] Question about TCheckBox

2020-03-16 Thread frans via lazarus

Hi,

I use Lazarus 2.04 on win10.
I use a TCheckbox and want more space between Caption and square, 
Alignement is taLeftJustify and BidiMode is bdRightToLeft. The only way 
that works is adding an extra space left of the Caption. But is there 
not another way? I searched the internet  but I can't find it.


--
mvg
Frans van Leeuwen
M 06-51695390


--
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com

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


[Lazarus] SVN and missing components

2019-04-13 Thread frans via lazarus

Hi,

Can anyone explain to me why not all possible components are availabe on 
SVN?

Foir instance sqldb and splashabout?

--
mvg
Frans van Leeuwen
M 06-51695390


---
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com

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


Re: [Lazarus] TLabel or TStaticText?

2019-03-15 Thread frans via lazarus

Thx all, a TPanel is the solution for my problem.

mvg
Frans van Leeuwen
M 06-51695390

Op 15-3-2019 om 15:14 schreef Tony Whyman via lazarus:
Using a TPanel as a container is generally good advice for similar 
problems with all TGraphicControl descendents. I often use a TPanel to 
contain a TImage for this reason.


Perhaps the point that needs to come across is that TLabel is a 
TGraphicControl and is drawn by the LCL, while TStaticText is a 
TWinControl descendent (as is TPanel) and is drawn by the underlying 
"interface" e.g. GTK2. They thus behave differently e.g. with Z-order.


On 15/03/2019 14:04, Mattias Gaertner via lazarus wrote:

On Fri, 15 Mar 2019 14:42:52 +0100
frans via lazarus  wrote:


I thougth of that, but I need the focus on the original form. The
mesaage is only informative, all the functionality must be availabe.

mvg
Frans van Leeuwen
M 06-51695390

Op 15-3-2019 om 14:08 schreef John Landmesser via lazarus:

what about a new form with FormStyle := fsSystemStayOnTop ?!

Am 15.03.19 um 12:37 schrieb frans via lazarus:

Hi,

I'm using Lazarus 1.8.4 on Win10. In my application I have a Form
with 2 functions. (1) Is to download files from an internet server
using ftp, (2) is to store the data from those files in the
datacollection.
Sometimes I loose my internet connection and in that case I want
to show a warning in the the middle of the form and in front of
all the other components. For the warning I use a TLabel component
for the layout parameter tlCenter. But the label is partly hidden
behind another component (TFileListBox) and BringToFront doesn't
help. Now I tried a TStaticText component and that works just
fine. Except that it has no Layout property and no Paint procedure
I could override. Is there a component that gives me all the
behaviour I want? Is there a way to bring the TLabel realy in
front of all other components? Is there a way to vertical align
the text of a TStaticText caption?

You can put the TLabel inside a TPanel.

Mattias



---
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com

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


Re: [Lazarus] TLabel or TStaticText?

2019-03-15 Thread frans via lazarus
I thougth of that, but I need the focus on the original form. The 
mesaage is only informative, all the functionality must be availabe.


mvg
Frans van Leeuwen
M 06-51695390

Op 15-3-2019 om 14:08 schreef John Landmesser via lazarus:

what about a new form with FormStyle := fsSystemStayOnTop ?!

Am 15.03.19 um 12:37 schrieb frans via lazarus:

Hi,

I'm using Lazarus 1.8.4 on Win10. In my application I have a Form 
with 2 functions. (1) Is to download files from an internet server 
using ftp, (2) is to store the data from those files in the 
datacollection.
Sometimes I loose my internet connection and in that case I want to 
show a warning in the the middle of the form and in front of all the 
other components. For the warning I use a TLabel component for the 
layout parameter tlCenter. But the label is partly hidden behind 
another component (TFileListBox) and BringToFront doesn't help.
Now I tried a TStaticText component and that works just fine. Except 
that it has no Layout property and no Paint procedure I could override.
Is there a component that gives me all the behaviour I want? Is there 
a way to bring the TLabel realy in front of all other components? Is 
there a way to vertical align the text of a TStaticText caption?


Thx for your reactions






---
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com

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


[Lazarus] TLabel or TStaticText?

2019-03-15 Thread frans via lazarus

Hi,

I'm using Lazarus 1.8.4 on Win10. In my application I have a Form with 2 
functions. (1) Is to download files from an internet server using ftp, 
(2) is to store the data from those files in the datacollection.
Sometimes I loose my internet connection and in that case I want to show 
a warning in the the middle of the form and in front of all the other 
components. For the warning I use a TLabel component for the layout 
parameter tlCenter. But the label is partly hidden behind another 
component (TFileListBox) and BringToFront doesn't help.
Now I tried a TStaticText component and that works just fine. Except 
that it has no Layout property and no Paint procedure I could override.
Is there a component that gives me all the behaviour I want? Is there a 
way to bring the TLabel realy in front of all other components? Is there 
a way to vertical align the text of a TStaticText caption?


Thx for your reactions

--
mvg
Frans van Leeuwen
M 06-51695390


---
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com

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


Re: [Lazarus] LCL_FULLVERSION is not recognized

2018-07-12 Thread frans via Lazarus

It works, Thx

mvg
Frans van Leeuwen
M 06-51695390

Op 12-7-2018 om 13:43 schreef Rik van Kekem via Lazarus:

On 12-07-2018 12:51, frans via Lazarus wrote:

I use Lazarus 1.6.4 (temporarely) and lazarus 1.8.4 on Windows 10.
I need to use the LCL version but I can't get it to work properly.
I use the following code:
  {$IFDEF LCL_FULLVERSION > 108}
  {$ELSE}
  {$ENDIF}
Compiling the program give me the message Warning include environment 
"LCL_FULLVERSION" not found in environment. But this is the way I 
fount on the lazarus forum.
What am I doing wrong? And where can I find a list of all Lazarus 
environment variables?



Where did you find this on the forum?
Because you shouldn't use {$IFDEF } but {$IF } (because you are using 
an expression)


So:
{$IF LCL_FULLVERSION > 108}
{$ELSE}
{$ENDIF}

If you use {$IFDEF it will check if "LCL_FULLVERSION > 108" is 
defined, which it isn't.


Also see 
http://www.math.uni-leipzig.de/pool/tuts/FreePascal/prog/node4.html


B.T.W. You need to include "uses lclversion" because LCL_FULLVERSION 
is declared there (otherwise you get a ansistring error message).


Some other constants: 
http://lazarus-ccr.sourceforge.net/docs/lcl/lclversion/index-2.html


Grtz,
Rik







---
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] LCL_FULLVERSION is not recognized

2018-07-12 Thread frans via Lazarus

Hi.

I use Lazarus 1.6.4 (temporarely) and lazarus 1.8.4 on Windows 10.
I need to use the LCL version but I can't get it to work properly.
I use the following code:
  {$IFDEF LCL_FULLVERSION > 108}
  {$ELSE}
  {$ENDIF}
Compiling the program give me the message Warning include environment 
"LCL_FULLVERSION" not found in environment. But this is the way I fount 
on the lazarus forum.
What am I doing wrong? And where can I find a list of all Lazarus 
environment variables?


--
mvg
Frans van Leeuwen
M 06-51695390


---
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com

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


Re: [Lazarus] Bug in form Taborder?

2018-05-05 Thread frans via Lazarus

Hi.
I've checked r52633 and the changed Taborder.pas file is not part of the 
Lazarus 1.6.4 release. It is well part of release 1.8.2 but it doesn't 
work in thate release.


mvg
Frans van Leeuwen
M 06-51695390

Op 5-5-2018 om 12:35 schreef Vojtěch Čihák via Lazarus:


Hi,

this is very probably 
issue https://bugs.freepascal.org/view.php?id=30010 - resolved in 
meanwhile.


You wrote that you use two versions of Lazarus. Does it happen in the 
newer 1.8.2 too? I don't know if the fix is there.


V.


______
> Od: frans via Lazarus 
> Komu: Mattias Gaertner via Lazarus 
> Datum: 04.05.2018 10:28
> Předmět: Re: [Lazarus] Bug in form Taborder?
>

Hi Mattias

I've added 2 images. In both images the Tab order form shows the samen
content, while the form on the richt shows a different selected component.
I hope now you understand what I mean.


---
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com


--

--
___
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


Re: [Lazarus] Bug in form Taborder?

2018-05-05 Thread frans via Lazarus

Hi.

Lazarus 1.8.2 has the same problem.

mvg
Frans van Leeuwen
M 06-51695390

Op 5-5-2018 om 12:35 schreef Vojtěch Čihák via Lazarus:


Hi,

this is very probably 
issue https://bugs.freepascal.org/view.php?id=30010 - resolved in 
meanwhile.


You wrote that you use two versions of Lazarus. Does it happen in the 
newer 1.8.2 too? I don't know if the fix is there.


V.


__
> Od: frans via Lazarus 
> Komu: Mattias Gaertner via Lazarus 
> Datum: 04.05.2018 10:28
> Předmět: Re: [Lazarus] Bug in form Taborder?
>

Hi Mattias

I've added 2 images. In both images the Tab order form shows the samen
content, while the form on the richt shows a different selected component.
I hope now you understand what I mean.


---
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com


--

--
___
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


Re: [Lazarus] Bug in form Taborder?

2018-05-05 Thread frans via Lazarus

Hi Mattias

I've added 2 images. In both images the Tab order form shows the samen 
content, while the form on the richt shows a different selected component.

I hope now you understand what I mean.

mvg
Frans van Leeuwen
M 06-51695390

Op 3-5-2018 om 23:05 schreef Mattias Gaertner via Lazarus:

On Thu, 3 May 2018 18:47:10 +0200
frans via Lazarus  wrote:


Hi,

I'm using Lazarus 1.6.4 and 1.8.2 on Windows10. When I use the Tab order
form a second time, I always get the component and children that I used
the first time.

What do you mean with "get the component and children that I used the
first time"?

Mattias




---
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Bug in form Taborder?

2018-05-03 Thread frans via Lazarus

Hi,

I'm using Lazarus 1.6.4 and 1.8.2 on Windows10. When I use the Tab order 
form a second time, I always get the component and children that I used 
the first time. I must shut down Lazarus and start again to make it work.
Am I doing something wrong or is this a bug? I checked de bugs list but 
cannot find a bug report for this. If it is a bug, I will file a bugreport.


--
mvg
Frans van Leeuwen
M 06-51695390


---
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com

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


Re: [Lazarus] Progressbar never reaches the end

2018-01-26 Thread frans via Lazarus

Hi Bart.
Forget my previous mail, I placed the Increment command in teh wrong loop.
Now, in the right loop, it makes a small better difference.
Thx.

mvg
Frans van Leeuwen
M 06-51695390

Op 25-1-2018 om 19:36 schreef Bart via Lazarus:

On Thu, Jan 25, 2018 at 7:27 PM, frans via Lazarus
 wrote:

The
progressbar functions fine but when position=max, the progressbar visualy
never reaches the end.

Thank Uncle Bill for that.
The progressbar animates to the position you set it to.
This takes time.

If you do ProgressBar1.Position := ProgressBar1.Max and the
(physically) wait a while, it will get to full 100%.

The trick to get an immediate update is to decrement the position: no
animation, no waiting time.
Unfortunately this cannot be done for the 100% value.

I have some code in one of my apps like this to get rid of the animation:

   {$ifdef windows}
   if Value > 0 then
   begin
 //trick modern Windows to draw the position at once, otherwise you
never see the 100%
 ProgressBar.Position := Value - 1;
 ProgressBar.Repaint;
 ProgressBar.Position := Value;
 ProgressBar.Repaint;
   end;
   {$endif}


If it bothers you, there are plenty of customdrawn progressbars out
there (or switch of themes, to get the old behaviour back).

Bart



---
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com

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


Re: [Lazarus] Progressbar never reaches the end

2018-01-26 Thread frans via Lazarus

Thx Bart for the reply.
But where stands Value for?
I tried a recordcounter, but that was even worse.

mvg
Frans van Leeuwen
M 06-51695390

Op 25-1-2018 om 19:36 schreef Bart via Lazarus:

On Thu, Jan 25, 2018 at 7:27 PM, frans via Lazarus
 wrote:

The
progressbar functions fine but when position=max, the progressbar visualy
never reaches the end.

Thank Uncle Bill for that.
The progressbar animates to the position you set it to.
This takes time.

If you do ProgressBar1.Position := ProgressBar1.Max and the
(physically) wait a while, it will get to full 100%.

The trick to get an immediate update is to decrement the position: no
animation, no waiting time.
Unfortunately this cannot be done for the 100% value.

I have some code in one of my apps like this to get rid of the animation:

   {$ifdef windows}
   if Value > 0 then
   begin
 //trick modern Windows to draw the position at once, otherwise you
never see the 100%
 ProgressBar.Position := Value - 1;
 ProgressBar.Repaint;
 ProgressBar.Position := Value;
 ProgressBar.Repaint;
   end;
   {$endif}


If it bothers you, there are plenty of customdrawn progressbars out
there (or switch of themes, to get the old behaviour back).

Bart



---
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com

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


[Lazarus] Progressbar never reaches the end

2018-01-25 Thread frans via Lazarus

Hi.

I use Lazarus 1.6.4 on Windows10.
I use a TProgressBar in a loop to construct a report on an Dataset. The 
progressbar functions fine but when position=max, the progressbar 
visualy never reaches the end. It doesn't matter how many records there 
are, 100 or 10.000, the progressbar has always some white space left. I 
cannot believe this is normal. Using application.processmessages in the 
loop makes no difference.

Am I forgetting something?

--

mvg
Frans van Leeuwen
M 06-51695390


---
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com

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


[Lazarus] Why is OnShow not executed?

2017-09-28 Thread frans via Lazarus

Hi

I'm using Lazarus 1.6.4 on Windows. I have a Form with a TPageControl 
with 5 tabsheet components.

Every tab has his own OnShow procedure to set the latest data in the fields.
Every time the Form is shown I want the first tab to become visible. 
Therefore the FormShow calls tab0.Show.
The first time the form shows it goes as I expect, the tab0 OnShow 
procedure is called and the data is set.
But when I close the form while showing the tab0, and then later opens 
it again, the FormShow is executed but tab0 OnShow is not. Apparently 
the program 'sees' that tab0 is already shown, so executing tab0.Show is 
not necessary. Is this as it should be?
To always execute the tab0 OnShow procedure I must call this directly. 
Is this the correct way?


--
mvg
Frans van Leeuwen
M 06-51695390


---
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com

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


[Lazarus] Webbrowser using AxtiveXContainer: heap problem

2017-07-22 Thread frans via Lazarus

Hi.
I'm testing the use of a webbrowser for my helppages, using the 
ActiveXContainer. The example of early binding I found on 
http://wiki.freepascal.org/LazActiveX. It works, but when I'm using -gh 
while compiling I get an error and a memory leak.


Heap dump by heaptrc unit
1963 memory blocks allocated : 398794/402216
1959 memory blocks freed : 397666/401088
4 unfreed memory blocks : 1128
True heap size : 557056
True free heap : 555136
Should be : 555416
Call trace for block $01585410 size 40
  $0001000111DB
  $000100017072
  $00010001717C
  $7FFEA6D9A07D
  $7FFEA6D09C58
  $7FFEA6D990FE
  $00010018E1D3
Call trace for block $014F9560 size 128
  $000100018AB6
  $0001000111BB
  $000100016DE7
  $000100017056
  $00010001717C
  $7FFEA6D9A07D
  $7FFEA6D09C58
Call trace for block $01569670 size 176
  $000100011102
  $0001E247
  $00010003858A
  $00010003B9AC
  $000100017027
  $00010001717C
  $7FFEA6D9A07D
Call trace for block $01518320 size 784
  $000100011102
  $0001E247
  $00010018CDD2 line 3386 of shdocvw_1_1_tlb.pas
  $00010002EDA7 line 45 of unit2.pas
  $000100020951 line 928 of include/customform.inc
  $00010001EAE5 line 149 of include/customform.inc
  $0001000259E7 line 3080 of include/customform.inc
  $F0F0F0F0F0F0F0F0

I cannot figure out where this problem can be solved. I've tried late 
binding (with VLC) and early binding (webrowser Internet Explorer), both 
have a memory leak. Ok, it's a small leak, but still a leak. Is this 
normal?


Frans van Leeuwen
M 06-51695390


---
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com

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


[Lazarus] How to avoid DBGrid showing new blank record

2017-06-01 Thread frans via Lazarus

Hi.
I'm using Lazarus 1.6.4 and FPC 3.0.2, combined with a Firebird 
database. I've added all the fields of a table and use a datadictionary. 
I show the data in de DBGrid and use a seperate form to manipulate the 
data and to insert a new record.
When inserting a new record, the DBGrid expands with a blank record. I 
don't like that, I wish the DBGrid to show only the valid records and a 
new record is not a valid record yet.
1. I've tried this with a query 'select * from dataset where number is 
not null'. This doesn't work.
2. I've tried this with dataset.Disablecontrols (and enablecontrols), 
this doesn't work either.

3. I've activated the option dgDisableInsert, that doesn't work either.
The only solution I found is to use in the DBGrid a seperate view I 
created in the database. It works, but I keep wondering if there is an 
other solution possible.


--
mvg
Frans van Leeuwen
M 06-51695390


---
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com

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


[Lazarus] Where can I get the component lazpdf?

2017-03-24 Thread frans via Lazarus

Hi.

There is a new component available to create pdf fies, lazpdf. You can 
download it from the blaise pascal site, according to the article 
'Creating pdf files in Lazarus' by Michaël van Canneyt in Blaise 56 UK. 
But I can't find it, not on the site, not even with Google.

Can anyone give me an usable url?

--
mvg
Frans van Leeuwen
M 06-51695390

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


[Lazarus] Colorconversion in htmlreport

2017-03-11 Thread frans via Lazarus

Hi.
I use Lazarus 1.6.2 with FPC 3.0.0 on Windows 10. I use htmlreport to 
create webpages.
My problem is the use of colorcodes. I want to use the color #D8FFF4. 
But the function Color2HTML translate that code to $00D8FFF4# and that 
gives a totally different color.
I've searched the internet for a converter but found nothing. Therefor I 
have 2 questions:

1. What does the colorcode $# mean? It's not ?RGB.
2. What code should I use to get the colorresult I want?

--
mvg
Frans van Leeuwen
M 06-51695390

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


[Lazarus] IniPropStorage OnSaveProperties and OnSavingProperties

2017-02-12 Thread frans via Lazarus

Hi.

Can someone explain this to me. I'm testing the use of TIniPropStorage 
and I like it.
But this I don't understand. The use of WriteBoolean i.e. only works in 
OnSaveProperties and not in OnSavingProperties. I like this direct 
method above the use of 'StoredValue[] := BoolToStr().


--
mvg
Frans van Leeuwen
M 06-51695390

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


[Lazarus] TIniPropStorage on Datamodule doesn't read and write ini file

2017-01-28 Thread frans via Lazarus

Hi.

I'm using Lazarus 1.6.2 with FPC 3.0.0. I use TIniPropStorage on a Form 
module and reading the value from and writing the value to the ini file 
works fine. Now I've tried to place the TIniPropStorage component on a 
Datamodule. The component itself works, it shows me the default value. 
But reading and writing the ini file is not happening, there is no file. 
But there are also no errors.

Is this a bug? Am I forgetting something?

--
mvg
Frans van Leeuwen
M 06-51695390

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


[Lazarus] Where is TSynMemo?

2016-11-06 Thread Frans via Lazarus

Hi.

I'm using Lazarus 1.6 and FPC 3.0.0. on Windows 7. I've installed the SynEdit 1.0 and the 
SynEditDsgn 1.0 package.

But strangely enough, I don't seem to have TSynMemo available.
Stranger I find is the example SynAnyHighlighter. This uses TSynMemo and I can open this example in 
my IDE and compile it without any problems. And TSynMemo is on the Form, it's not in the code.

The list of Components also can't find TSynMemo.
Am I forgetting something?

--
mvg
Frans van Leeuwen
M 06-51695390

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