Re: [Lazarus] Opening a file with spaces in the filename (again)

2013-03-05 Thread Bart
on the OpenUrl page instead. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Opening a file with spaces in the filename (again)

2013-03-05 Thread Bart
On 3/5/13, Bart bartjun...@gmail.com wrote: The original bugreport was about OpenUrl. And thing went sour (for 9x) when the file:// URI scheme was used and it was quoted, and it seemed it needed quoting on some NT based systems. I patched OpenURL on Windows to quote the URL if it is in file

Re: [Lazarus] LongString does not work?

2013-03-03 Thread Bart
section of config.pas: SaveParams(cfg, SizeOf(cfg), cfn); //cfg is TConfgiruation, cfn is the filename. Are you only writing strings (and/or integers and/or booleans) to the configuration file? If so, wouldn't it be just easier to use a TIniFile for that? Bart

Re: [Lazarus] ForceDirectoriesUTF8

2013-03-02 Thread Bart
:= SelectDirectoryDialog1.FileName; ForceDirectoriesUtf8(Path); You need to be sure which encoding a string has when you pass it on to such procedures/functions. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] BitBlt caused SIGFPE in lclproc.pas

2013-03-01 Thread Bart
? (Just guessing here). Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] ValueListEditor: feedback needed from Delphi users

2013-02-27 Thread Bart
are in an empty row, does it still insert a new one? No ! You just hit the insert key and get ONE new row next to current row. OK, just like Lazarus behaves now. Thank you very much for your feedback!! Bart -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] TStringGrid.AutoEdit and options

2013-01-27 Thread Bart
as ReadOnly does in other controls. If so (I might be wrong) then why not replace it with ReadOnly property? Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TStringGrid.AutoEdit and options

2013-01-27 Thread Bart
better than the one in D3) Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] errors: Upper bound of case range is less than lower bound and duplicate case label

2013-01-22 Thread Bart
). Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] errors: Upper bound of case range is less than lower bound and duplicate case label

2013-01-22 Thread Bart
On 1/22/13, Alexander Klenin kle...@gmail.com wrote: On Tue, Jan 22, 2013 at 7:20 PM, Bart bartjun...@gmail.com wrote: You cannot define ranges for Floats (they would be uncoutable infinite) Huh? Actually, you can. Real number interval is a well-known mathematical concept (see I did hope

Re: [Lazarus] errors: Upper bound of case range is less than lower bound and duplicate case label

2013-01-21 Thread Bart
On 1/21/13, Sven Barth pascaldra...@googlemail.com wrote: Should case of string really allow ranges? THAT is an interesting question. I think it should not. Ranges for strings are (countably) infinite, and this is (by design) not the case in the case of other cases (pun intended). Bart

Re: [Lazarus] Trunk compilation broken by changing StrikeThrough property name

2013-01-19 Thread Bart
} Font.StrikeThrough := AFont.StrikeThrough; {$ENDIF} This will allow 2.6.2RC1 users to define lazcanvas_typo when building Lazarus, as a temporary workaround. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org

[Lazarus] Trunk compilation broken by changing StrikeThrough property name

2013-01-19 Thread Bart
Font.StrikeTrough := AFont.StrikeTrough; //old version with typo {$ELSE} Font.StrikeThrough := AFont.StrikeThrough; {$ENDIF} This will allow 2.6.2RC1 users to define lazcanvas_typo when building Lazarus, as a temporary workaround. Bart -- ___ Lazarus mailing

Re: [Lazarus] Typo in TFPCustomFont?

2013-01-19 Thread Bart
On 1/19/13, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sat, 19 Jan 2013 16:30:50 +0100 Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: On Sat, Jan 19, 2013 at 4:16 PM, Bart bartjun...@gmail.com wrote: It is now 20601, but this breaks building with 2.6.2RC1

Re: [Lazarus] Attention Lazarus translators: PoChecker checks fixed and extended

2013-01-06 Thread Bart
place.) Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Change View unit/form (F12) bug

2013-01-05 Thread Bart
2.6.2 i386-win32-win32/win64 Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Visual uglyness when creating TSynEdit @ runtime in my app

2013-01-04 Thread Bart
://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/applications/lazedit/editorpagecontrol.pp (function TEditorPageControl.AddPage: TEditor; appr. at line 994) Does anyone have a suggestion how to fix this in a cross-platform manner? Bart -- ___ Lazarus

Re: [Lazarus] Visual uglyness when creating TSynEdit @ runtime in my app

2013-01-04 Thread Bart
E.Align := alClient: E.Bounds = l=0,t=0,r=200,b=150 About workarounds: Set the Parent as last property I remember doing that in the Delphi app and it made no difference, but I'll try it in Lazarus. or enclose the code in BeginAutoSizing; EndAutoSizing; I'll give that a try too. Bart

Re: [Lazarus] Right clicking buttons - no OnClick event?

2012-12-15 Thread Bart
On 12/15/12, Crone, Thomas J. cr...@cua.edu wrote: I'm using Lazarus IDE v1.0.2 on Windows 7. When I right click a button, I don't get an OnClick Event? Is this expected? If so, why? Tested with Delphi 3. No OnClick on right-clicking. Bart

Re: [Lazarus] Tprogressbar and positional info under Windows

2012-12-11 Thread Bart
/Vcl.ComCtrls.TProgressBar.Position Delphi uses Integer for Pos, Min, Max. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Tprogressbar and positional info as ptrint.

2012-12-08 Thread Bart
On 12/7/12, Andrew Brunner atbrun...@aurawin.com wrote: But typically a progress bar is used in conjunction with streams. Therefore it should handle the same size as objects like that. Why? I typically set Max to 100 and calc percentage, et voila... Bart

Re: [Lazarus] Lazarus support for Sorting is completely inadequate.

2012-12-04 Thread Bart
and situations. The compare function also solves the do i want case-sensitivity issue. Just my 2 cents... Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Stringgrid ?

2012-11-17 Thread Bart
In the IDE there is a form for inserting characters (Menu-Edit-Insert from Character map). Take a look at the code of that form to see how it is done. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Stringgrid ?

2012-11-17 Thread Bart
THtmlCharmapForm.EntityGridPrepareCanvas(sender: TObject; aCol, aRow: Integer; aState: TGridDrawState); begin if (gdSelected in aState) then begin EntityGrid.Canvas.Brush.Color := clLime; end end; Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] windres long filename bug

2012-11-16 Thread Bart
and the output on the console? Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] lclclasses.pp(48, 25) Error: identifier not found: TComponent

2012-11-12 Thread Bart
Sometimes re-scanning the fpc-source directory helps. Most of the time re-starting lazarus helps. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] AGAIN: Re: Wiki: cannot login due to cookies!??

2012-11-09 Thread Bart
On 11/9/12, Reinier Olislagers reinierolislag...@gmail.com wrote: It's probably full again, can't login again. No problem here. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

[Lazarus] MaskEdit and Utf8 support

2012-10-28 Thread Bart
them to me, if you have proper rights in mantis)? Thanks in advance. Bart Broersma -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] MaskEdit and Utf8 support

2012-10-28 Thread Bart
to r39175, rebuild and retest to see the difference. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TDBNavigator icons break symmetry

2012-10-13 Thread Bart
On 10/10/12, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 2012-10-09 23:12, Bart wrote: File a feature request in the bugtracker? Otherwise it will be forgotten. http://bugs.freepascal.org/view.php?id=23097 I implemented it in r39065. Please test and report any bugs. Bart

Re: [Lazarus] Please define delphi compatibility

2012-10-10 Thread Bart
of Delphi incompatibility. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TDBNavigator icons break symmetry

2012-10-09 Thread Bart
On 10/3/12, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 2012-10-02 20:45, Bart wrote: Maybe we could make the glyphs customizable, and keep everybody happy? Very true. And frankly, I'm quite surprise that the TDBNavigator doesn't have an ImageList property to do just that. Those

Re: [Lazarus] Wiki is broken

2012-10-04 Thread Bart
On 10/4/12, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: I just get Connecting... and then an eventual page timeout. Graeme. Works just fine here. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] TDBNavigator icons break symmetry

2012-10-03 Thread Bart
for the task? Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TDBNavigator icons break symmetry

2012-10-03 Thread Bart
On 10/3/12, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 2012-10-03 11:45, Bart wrote: For Delphi compatibility (where you cannot assign an imagelist to the control) we should probably derive a new TCustomizableDBNavigator from TDBCustomNavigator? How would that solve the problem

Re: [Lazarus] TDBNavigator icons break symmetry

2012-10-02 Thread Bart
in the past. See: http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revroot=lazarusrevision=32029. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TDBNavigator icons break symmetry

2012-10-02 Thread Bart
, not just the current record. Maybe we could make the glyphs customizable, and keep everybody happy? Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TDBNavigator icons break symmetry

2012-10-01 Thread Bart
On 10/1/12, Ajeandro Gonzalo parkingspac...@yahoo.com wrote: Since the nbInsert icon is +, the nbDelete icon MUST be -. Also, using the trash can icon could be confusing - it resembles the Windows I normally do not associate - with delete, that's why I replaced it with th trashcan icon. Bart

Re: [Lazarus] Wiki: how to propose deleting a page?

2012-09-16 Thread Bart
of completely removing it? Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Wiki: how to propose deleting a page?

2012-09-16 Thread Bart
On 9/16/12, Alexander Klenin kle...@gmail.com wrote: On Sun, Sep 16, 2012 at 4:18 AM, Bart bartjun...@gmail.com wrote: Say I would like to propose to delete a certain wiki page, how would I do that? Why not discuss it here? Alternatively, you can use Talk page on the wiki (discussion link

Re: [Lazarus] Wiki: how to propose deleting a page?

2012-09-16 Thread Bart
be better. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Wiki: how to propose deleting a page?

2012-09-15 Thread Bart
Hi, Sorry if this is a RTFM question. Say I would like to propose to delete a certain wiki page, how would I do that? Is there some built-in mechanisme in the wiki to do this or do I have to mail somebody (some moderator)? I couldn't find any documentation in the wiki help section on this. Bart

Re: [Lazarus] MessageDlg() can't return a mbHelp result

2012-09-13 Thread Bart
should not close this dialog, hence the button needs to have ModalResult = mrNone. I don't know if we have the mechanismes to open help if help is clicked. Even in Delphi this (implementing help) was beyond me ... Bart -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] What is aarre?

2012-09-03 Thread Bart
is this aarreupdatelist.lpr b.t.w.? Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] \1.1\lcl\intfgraphics.pas(634, 49) Error: Identifier not found TTiffIDF

2012-09-03 Thread Bart
On 9/3/12, Marcos Douglas m...@delfire.net wrote: Hi, I'm trying to compile my Lazarus, rev 38507, but I got: \1.1\lcl\intfgraphics.pas(634,49) Error: Identifier not found TTiffIDF The definition of TTiffIDF is in FPTiffCmn.pas (fpc). Looks like a configuration problem on your side. Bart

Re: [Lazarus] Test for html formatting

2012-08-26 Thread Bart
mine does too (i see no option in gmail to alter this [I use classic interface, which I think is plain text by default]). Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] CurrencyString='' , Lazarus svn and WinXP

2012-08-23 Thread Bart
(CurrencyString) to display it. On Linux you need to use the clocale unit to properly initialize DefaultFormatSettings AFAIK. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] 1.0RC1 and Win98/WinMe (again)

2012-08-07 Thread Bart
for this in the bugtracker: http://bugs.freepascal.org/view.php?id=22596 Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Please remove Arabic language from the release version

2012-08-04 Thread Bart
the other two tabs. Mind you MS does an even worse job with VBA. They even translate the programming language iteself! For instance IF() doesn't work in Dutch version of Excel, you must use ALS(), which is a literal translation of the word IF. Bart

Re: [Lazarus] A bit odd: after rebuild of 1.1, splashscreen shows 0.9.31

2012-08-04 Thread Bart
On 8/3/12, Mattias Gaertner nc-gaert...@netcologne.de wrote: Update your startlazarus. Thank you, that did it. Can we add the option to do this from within IDE when rebuilding Lazarus? Bart -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] RE : Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-04 Thread Bart
. It would also mean that calls to SysToUTF8, FindFirstUtf8 in user code must be ifdef-ed to not be used with win9x? Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] A bit odd: after rebuild of 1.1, splashscreen shows 0.9.31

2012-08-04 Thread Bart
any extra tools you use like lhelp. OK. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-03 Thread Bart
On 8/2/12, Marco van de Voort mar...@stack.nl wrote: 2.4.2 didn't work on win9x afaik. Only a handful noticed, afaik all of You mean Win9x I guess. All fpc's up and til 2.6.0 still run fine on at least WinMe (don't know about Win98, can't test that). Bart

Re: [Lazarus] Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-03 Thread Bart
On 8/3/12, Luiz Americo Pereira Camara luiz...@oi.com.br wrote: Removing support for win9x would help cleanup the win32 widgetset I totally agree. Someday a decision should be made to cut the dead wood. Bart -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-03 Thread Bart
going to drop support for these old GTK's, and Graeme's users in the end are none the wiser... I sympathize with Graeme and his users. OTOH maintaining Win9x/WinMe support is gonna be a huge task, and who's gonna volunteer for that? Bart -- ___ Lazarus

Re: [Lazarus] Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-03 Thread Bart
On 8/3/12, Marco van de Voort mar...@stack.nl wrote: On the other hand, the current situation with nobody doing anything with win9x except whining when the release doesn't work (afterwards) is not going I wasn't whining. Imerely tested and noticed. Bart

Re: [Lazarus] Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-03 Thread Bart
. If I understood corretly CustomDrawn WS doesn't work on Win9x, I never used it, so I didn't notice. Nevertheless, the platform may be dead, that is, at least in western world. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

[Lazarus] A bit odd: after rebuild of 1.1, splashscreen shows 0.9.31

2012-08-03 Thread Bart
Hi, Just curious. Whenever i rebuild 1.1, when the newly built Lazarus restarts, the splashscreen shows version number 0.9.31. When closing and the restarting Lazarus, it correctly shows 1.1 again. It looks odd. Bart -- ___ Lazarus mailing list

Re: [Lazarus] Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-02 Thread Bart
has dropped support for win98 and winme (it already doesn't run out of the box on win95). Bart (Still using WinMe and Lazarus on it) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo

Re: [Lazarus] Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-02 Thread Bart
]) I run it on WinMe (but I don't need the installer, I use trunk via svn). So it's probably not gonna be an issue. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-02 Thread Bart
as the fpc installer runs on win9x I'm happy. And when we drop the win9x platform, I have a valid excuse to update hardware (although it really is a sport maintaining it). Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Inno Setup no longer supports Windows 95, Windows 98, Windows Me

2012-08-02 Thread Bart
this discussion (stop support for the win9x platform) to the devel mailinglist and see what comes from that? Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] ProgressBar 0 vs. 6 Gauge

2012-07-28 Thread Bart
then drawing the progressbar, a progressbar shouldn't be needed. E.g. im my backup program I display a progressbar during the copying of individual files. If a file is smaller than e certain threshold I simply omit displaying the progressbar, since it is effectively of no use then. Bart

Re: [Lazarus] Building help files: the nitty-gritty

2012-07-23 Thread Bart
On 7/23/12, Reinier Olislagers reinierolislag...@gmail.com wrote: For Dutch speaking readers: yes, the project name is intentional ;) LOL Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org

Re: [Lazarus] Bug tracker file formats: 7z prohibited?

2012-07-22 Thread Bart
On 7/21/12, Reinier Olislagers reinierolislag...@gmail.com wrote: I noticed that in issue 22455, Bart Broersma says: Please don't use .7z as compress format, it isn't supported out of the box on many platforms. If we shouldn't use 7z files, which format should we use then? zip? .tar.gz

Re: [Lazarus] Changing the translation of forms while the program is running

2012-07-16 Thread Bart
could do stuff like: for i := 0 to Form1.ComponentCount - 1 do begin C := Form1.Compnents[i]; if C.UsesResourceStringForCaption then C.UpdateResourceString; end; This would make maintanance (large menu's, active devolopment of forms in question) lots easier. Bart

Re: [Lazarus] Changing the translation of forms while the program is running

2012-07-15 Thread Bart
of all controls on the current form (at least) in order to see the effect. The IDE seems to do this, but I was unabble to track how. Manually updating all captions seems a horrible task to maintain. Bart -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] String replace bug (in Delphi it's OK)

2012-07-15 Thread Bart
. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Changing the translation of forms while the program is running

2012-07-15 Thread Bart
with the untranslated caption. So I have to do MyLabel.Caption := SomeResourceString again after the translation. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Strings Property Editor dialog newline keystroke reminder

2012-07-08 Thread Bart
-win32-win32/win64) Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] DefaultExt and Filter priority.

2012-06-17 Thread Bart
it as PAS extension. Set FilterIndex to the appropriate value depending on the currently opened file-extension? See LazEdit (http://wiki.lazarus.freepascal.org/LazEdit) for example. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] DefaultExt and Filter priority.

2012-06-17 Thread Bart
the filter, or IMO a better option, use seperate filters for each supported extension, so basically split *.ap;*.pp;*.inc into 3 seperate ones. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] heptrc

2012-06-07 Thread Bart
On 6/7/12, Mattias Gaertner nc-gaert...@netcologne.de wrote: Have you enabled Display line numbers in ... in the compiler options of your project? According to his screenshot in his first post he has. Bart -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] System unit / val-procedure

2012-05-29 Thread Bart
Please provide code example. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Linker error when building Lazarus r37322 on Linux GTK2

2012-05-18 Thread Bart
OPT='-gl -gs' . Compiling restrictionbrowser.pas Compiling projectwizarddlg.pas Compiling resource ../units/i386-linux/gtk2/lazarus.or Linking ../lazarus /home/bart/svnroot/lazarus/lcl/units/i386-linux/gtk2/gtk2proc.o: In function `GETGTKWINDOWGROUP': /home/bart/svnroot/lazarus/lcl/interfaces

Re: [Lazarus] Removing read-only files in FileUtil.DeleteDirectory ?

2012-05-01 Thread Bart
was to be able to give feedback to the end user, if removing failed (e.g. because of file-access rights). Unable to remove file:'/path/to/somefile' This could be done by an out parameter, or indeed by raising an exception with the appropriate file/folder-name as suggested above. Bart

Re: [Lazarus] Inconsistent results from MessageDlg()

2012-04-30 Thread Bart
On 4/29/12, patspiper patspi...@gmail.com wrote: Someone with a recent Delphi (as in D3) tested this for me. Delphi XE? Yes, executable run under XP. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Removing read-only files in FileUtil.DeleteDirectory ?

2012-04-30 Thread Bart
filename/foldername that could not be removed if things fail, so feedback to the user can be given. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Inconsistent results from MessageDlg()

2012-04-29 Thread Bart
platforms, the alternative only with Delphi XE on Vista and higher. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Inconsistent results from MessageDlg()

2012-04-29 Thread Bart
, or is it a LCL built form? Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Inconsistent results from MessageDlg()

2012-04-28 Thread Bart
my patches) however is IMHO wrong. Let's hear from the core devels. I'm happy to code it either way. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] making multithreading more user friendly

2012-04-28 Thread Bart
multithreading is not supported, would be a no-op for Windows, but would make life easier to the rest of us. I could provide a patch if pointed to the right area of code to deal with. IDE things remain a big mystery to me. More appropriate place might be in Project - Options somewhere? Bart

Re: [Lazarus] Inconsistent results from MessageDlg()

2012-04-28 Thread Bart
Here's the alternative implementation: Escape will always return mrCancel, both LCL's own CreatemessageDialog and Widgetset.PromptUser(). See attached file: msgdlg.alternative.diff (Diff's for the first solution are in the bugtracker) Bart Index: lcl/dialogs.pp

Re: [Lazarus] Inconsistent results from MessageDlg()

2012-04-28 Thread Bart
with a recent Delphi (as in D3) tested this for me. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Inconsistent results from MessageDlg()

2012-04-27 Thread Bart
to the bugreport in question. Please review. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Inconsistent results from MessageDlg()

2012-04-27 Thread Bart
community) decide option 2 is better, I'll code that (it is actually easier to achieve than option 1). Since I care, option 3 is not an option for me ;-) Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] Inconsistent results from MessageDlg()

2012-04-26 Thread Bart
to this rule. It should close the parentform, not setting it's ModalResult (which will result in ModalResult of parentform being mrCancel). A TBitBtn with ModalResult mrNone should always set parentform's ModalResult (regardless of Kind), which is what my patch does. Bart

Re: [Lazarus] Inconsistent results from MessageDlg()

2012-04-26 Thread Bart
On 4/26/12, Mattias Gaertner nc-gaert...@netcologne.de wrote: Can you update the fpdocs too for MessageDlg? You mean the description in ($lazarus)\docs\xml\lcl\dialogs.xml ? If so, I can do that and attach it as a separate diff to the bugreport. Bart

Re: [Lazarus] Inconsistent results from MessageDlg()

2012-04-25 Thread Bart
On 4/22/12, Bart bartjun...@gmail.com wrote: On 4/22/12, Bart bartjun...@gmail.com wrote: In my Delphi (3) the dialog does not always close if you press the Escape key. It looks like it only handles Escape if one of the Buttons has Cancel = True. For instance specifying [mbAbort, mbRetry

Re: [Lazarus] Inconsistent results from MessageDlg()

2012-04-25 Thread Bart
ones using the new Vista-dialogs (as does Lazarus). To properly resond to mbClose, the proposed patch from http://bugs.freepascal.org/view.php?id=0021844 should also be applied. Can one of the Lazarus devels take a look at my proposed patch and apply or give feedback? Bart

[Lazarus] Bugtracker error

2012-04-25 Thread Bart
that the errormessage also shows info on the directorystructure of the server, which is kind of a security risk) When I re-open the bugreport the note seems to have been added however. Using FF 9.0.1 on Win7 Bart -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] TBitBtn with Kid=bkClose and ModalResult

2012-04-24 Thread Bart
) does not support that. ? Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TBitBtn with Kid=bkClose and ModalResult

2012-04-23 Thread Bart
On 4/22/12, Bart bartjun...@gmail.com wrote: If you have a modern Delphi (as in higher then D3) could you please test this. Put a TBitBtn on a form. Set Kind = bkClose (in OI) Set Modalresult = mrClose (in OI) ShowModal this form Click on this TBitBtn What is the value Modalresult

[Lazarus] Inconsistent results from MessageDlg()

2012-04-22 Thread Bart
icon anymore, so we probably only should do this in TPromptDialog. In the case of returning ModalEscapevalue() I would like to add in ModalEscapeValue() the possibility to return mrClose. Bart -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] TBitBtn with Kid=bkClose and ModalResult

2012-04-22 Thread Bart
Modalresult = mrClose (in OI) ShowModal this form Click on this TBitBtn What is the value Modalresult: mrCancel or mrClose? Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Inconsistent results from MessageDlg()

2012-04-22 Thread Bart
) if the user wants to run away. Not the case, as stated above. User (as in application programmer) has no influence over this for MessageDlg. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] Inconsistent results from MessageDlg()

2012-04-22 Thread Bart
On 4/22/12, Bart bartjun...@gmail.com wrote: In my Delphi (3) the dialog does not always close if you press the Escape key. It looks like it only handles Escape if one of the Buttons has Cancel = True. For instance specifying [mbAbort, mbRetry, mbIgnore] will not respond to pressing Escape

Re: [Lazarus] TBitBtn with Kid=bkClose and ModalResult

2012-04-21 Thread Bart
, but it does not have mrClose as a valid choice for TModalResult, so it obviously will not return mrClose.) Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] TBitBtn with Kid=bkClose and ModalResult

2012-04-20 Thread Bart
ModalResult = 0 it will the set ModalResult to mrCancel. Q: Is this by design? Currently it makes MessageDlg() (more specific: TPromptDialog.CreateMessageDialog) return wrong result if mbClose is in Buttons (and mbClose is clciked): see http://bugs.freepascal.org/view.php?id=21801 Bart

Re: [Lazarus] Save project as... and project title

2012-04-10 Thread Bart
On 4/10/12, Mattias Gaertner nc-gaert...@netcologne.de wrote: Fixed. Thanks. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

<    1   2   3   4   5   6   7   8   >