[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.

[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

[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

[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

[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

[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

[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

[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

Re: [Lazarus] Bug in form Taborder?

2018-05-05 Thread frans via Lazarus
it happen in the newer 1.8.2 too? I don't know if the fix is there. V. __ > Od: frans via Lazarus <lazarus@lists.lazarus-ide.org> > Komu: Mattias Gaertner via Lazarus <lazarus@lists.lazarus-ide.org> > Datum: 04.05

Re: [Lazarus] Bug in form Taborder?

2018-05-05 Thread frans via Lazarus
: On Thu, 3 May 2018 18:47:10 +0200 frans via Lazarus <lazarus@lists.lazarus-ide.org> 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 th

Re: [Lazarus] Bug in form Taborder?

2018-05-05 Thread frans via Lazarus
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 Laza

[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

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 <lazarus@lists.lazarus-ide.org> wrote: The progr

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

[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

[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

[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

[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

Re: [Lazarus] TLabel or TStaticText?

2019-03-15 Thread frans via lazarus
?! 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

Re: [Lazarus] TLabel or TStaticText?

2019-03-15 Thread frans via lazarus
r. 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-5169539

[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

[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

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

[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

[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

[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

[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

[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