on the OpenUrl page instead.
Bart
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
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
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
:= 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
?
(Just guessing here).
Bart
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
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
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
better than the one in D3)
Bart
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
).
Bart
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
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
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
}
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
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
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
place.)
Bart
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
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-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
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
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
/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
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
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
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
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
and the output on the console?
Bart
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
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
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
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
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
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
of Delphi incompatibility.
Bart
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
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
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
for the task?
Bart
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
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
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
, 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
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
of completely removing it?
Bart
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
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
be better.
Bart
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
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
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
is this aarreupdatelist.lpr b.t.w.?
Bart
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
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
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
(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
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
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
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
.
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
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
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
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
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
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
.
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
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
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
])
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
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
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
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
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
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
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
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
.
Bart
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
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
-win32-win32/win64)
Bart
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
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
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
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
Please provide code example.
Bart
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
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
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
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
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
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
, or is it a LCL built form?
Bart
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
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
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
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
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
to the bugreport in question.
Please review.
Bart
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
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
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
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
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
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
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
) does not support that.
?
Bart
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
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
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
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
) 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
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
,
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
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
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
401 - 500 of 723 matches
Mail list logo