Am 2016-05-17 um 18:15 schrieb Ondrej Pokorny:
> On 17.05.2016 18:09, Jürgen Hestermann wrote:
>> I don't use AGGPAS but I assume that the GPC unit is part of the package.
>> If that is true, then it would not be enough to check for the licencing of
the package.
> Of course
Am 2016-05-17 um 15:52 schrieb Graeme Geldenhuys:
> Getting back to AggPas. If you use the AggPas code as-is from the
> "components" directory, there are no licensing restriction for
> commercial projects. So there is NO issue by default. You have to
> explicitly include the gpc unit somewhere in
Am 2016-04-18 um 12:53 schrieb Michael Schnell:
On 04/18/2016 12:40 PM, Ondrej Pokorny wrote:
No, the equation includes everything along with everybody's interests.
Example:
You spend X hours to write documentation for A that saves Y hours to Z users
that otherwise had to study the code.
Am 2016-04-11 um 17:38 schrieb Dennis:
> That is so rude of you (Jürgen) to say that. By your reasoning, let us all
attack you (Jürgen) and your attitude and you should just ignore it or filter your
mails.
I don't know why I am the bad guy now.
I did not start these personal attacks.
I just
Am 2016-04-09 um 15:57 schrieb Juha Manninen:
> Regarding posts from Jürgen Hestermann.
> Unfortunately this is not the first time he finds excuses to blame
> Lazarus developers.
> The main theme is that developers have done a poor job and did not
> serve him well enough.
> Ea
Am 2016-04-09 um 13:26 schrieb Michael Thompson:
> What? How's that going to work? I prefer my open source projects alive and
kicking :-(
> I'm not interested in theoretical "wouldn't it be nice". I agree that it
would be nice if we have documentation, and I like putting a plan in place to
Am 2016-04-09 um 12:20 schrieb Giuliano Colla:
> An answer such as: "Your patch is good, it adds a desirable functionality, but
without proper documentation, nobody will be able to take advantage of it. Please add some
concise comments on variable and procedure usage, and we will be glad to
Am 2016-04-08 um 20:36 schrieb Martin Frb:
> On VirtualTreeView: I dont know if the Author is around, and if he could/would answer
questions, or even proof read contributed docs. But if he was, then the question "How
long do you think would it take to (fully) understand" is just the wrong
Am 2016-04-09 um 00:54 schrieb Giuliano Colla:
> I'm not an expert in avionics, but from my general knowledge even I could
have told them the reason for pumping fuel from one tank to another, which is to
balance the weight on the wings (fuel tanks are located on the wings). This
function must
Am 2016-04-08 um 18:18 schrieb Martin Frb:
Or the person reading the code with the intend of documentation, is more clever
than this. They could report any suspicious parts, and clarify the intend. That
way the code would be additionally be checked for bugs.
Bugs where the original implementer
Am 2016-04-08 um 18:54 schrieb Ondrej Pokorny:
If everybody shared your approach, there wouldn't be anything like FPC and
Lazarus. You should change your way of thinking.
You mean I should ignore facts?
--
___
Lazarus mailing list
Am 2016-04-08 um 18:38 schrieb Ondrej Pokorny:
On 08.04.2016 19:29, Jürgen Hestermann wrote:
But in the same way as others complain here about lack of coders
I am complaining about the lack of documentation.
Feel free to reduce this lack of documentation.
If I could only.
It would take me
Am 2016-04-08 um 18:18 schrieb Ondrej Pokorny:
> This doesn't apply to Alan's problem. We try to document important things. It's not our
problem that "it is not enough stressed that functionality XYZ is not available on
ZYX". We really don't have crystal balls to know what people may think is
Am 2016-04-08 um 18:18 schrieb Michael Thompson:
I do agree though, we're open source. We should all pull our own weight and
not expect others to pick up our own slack. It's only in a corporate
environment that I'd insist on professionals doing the documentation.
Well, of course, nobody
Am 2016-04-08 um 18:04 schrieb Ondrej Pokorny:
On 08.04.2016 18:56, Jürgen Hestermann wrote:
When asking for documentation here I am often answered: Check the code.
Yep. Correct. If you think the documentation is bad, check the code and write
it. Alan, you are welcome to modify
Am 2016-04-08 um 17:59 schrieb Bart:
> But even if you don't read a manual or something like that, and just
> play with the component, after just a few minutes you must have seen
> the Items property, played with it and see what it does?
But then you only *think* you know how it works.
It maybe
Am 2016-04-08 um 17:35 schrieb Michael Van Canneyt:
> Thinking that you start without reading any form of documentation is an
attitude which I highly condemn.
I would love to read documentations but very often there is none (or even worse
it is wrong, outdated, confusing and incomplete).
When
Am 2016-04-02 um 12:32 schrieb Special:
> Why? What's so bad with TButton.Name "StraßeButton" to select "Straße" in,
for instance, a school program for german kids?
I am german too and I also would not like to have this.
Just think about programs written by japanese or chinese
programmers using
Am 2016-02-25 um 17:40 schrieb Michael Van Canneyt:
>
> On Thu, 25 Feb 2016, Jürgen Hestermann wrote:
>> The best would be to avoid all these toolbars and
>> use on demand popup (text) lists where I can select from.
>> Such a text list can be filtered, sorted and sea
Am 2016-02-25 um 16:46 schrieb Graeme Geldenhuys:
> In the "IDE Options -> Environment -> General" you can disable images on
> buttons (in ide dialogs) and menus.
>
> Would it be possible to have another option to disable text in ide
> windows that have toolbars? Take a look at the attached
Am 2016-02-23 um 19:42 schrieb Mattias Gaertner:
On Tue, 23 Feb 2016 18:28:29 +0100
Jürgen Hestermann <juergen.hesterm...@gmx.de> wrote:
WIth this definition:
var i64 : Int64;
and this code:
if i64>High(SizeInt) then
I get:
"Warning: Comparison might be always fals
WIth this definition:
var i64 : Int64;
and this code:
if i64>High(SizeInt) then
I get:
"Warning: Comparison might be always false due to range of constant and
expression"
And even more strange, if I convert the constant to int64 as in
if i64>int64(High(SizeInt)) then
I still get this
Am 2016-01-17 um 18:12 schrieb Bart:
> On 1/17/16, Jürgen Hestermann <juergen.hesterm...@gmx.de> wrote:
>> 2. without forward slashes and
> But then the function would not act on \\?\C:\maxpathchars\foo/bar if
> you omitted the \\?\, which seems to be the intention of your
Am 2016-01-17 um 19:48 schrieb Juha Manninen:
> Jürgen and taazz,
...
> The wiki page explaining it
> should be improved and maintained by people who actually use the
> system which means Jürgen, taazz, michl and others.
Now that is cynical!
Telling those who do not know anything about what
has
Am 2016-01-17 um 12:34 schrieb Juha Manninen:
> LCL continues to work as before when you define "DisableUTF8RTL". Then
> AnsiString is coded with the system codepage by default. The UTF-8
> conversion functions still work.
You may have a false impression of how Free Pascal/Lazarus is used by
Am 2016-01-17 um 12:42 schrieb Bart:
> On 1/16/16, Jürgen Hestermann <juergen.hesterm...@gmx.de> wrote:
>> Well, at least when the path is too long (length(FileName>MAXPATH))
>> it can prepend \\?\ because it will fail without it anyway.
> That won't do for the same
Am 2016-01-17 um 14:23 schrieb Jürgen Hestermann:
> Additional checks (i.e. for dots) are needed
> but I think it should be possible to find out
> when a path is:
> 1. not relative and
> 2. without forward slashes and
> 3. too long to be resolved without prepended \\?\
Even bet
Am 2016-01-17 um 15:25 schrieb Bart:
> Quoted from the link:
> "To specify an extended-length path, use the "\\?\" prefix. For
> example, "\\?\D:\very long path"."
> Maybe you need new eyes, not new glasses ;-)
I know the Windows API specification very well.
But you seem to forget the original
Am 2016-01-17 um 15:39 schrieb Bart:
>> > AFACS it cannot be resolved/fixed in a manner that will not break
>> > backwards compatibility.
>> I think it is possible (see above).
>> You only need to find out the exact limitations and detect them before
>> adding \\?\
> Only if we decide to
Am 2016-01-17 um 15:19 schrieb Juha Manninen:
> I don't understand how DisableUTF8RTL bombs your system because it is
> the backwards compatible thing.
> If your system worked with FPC 2.6.4, it should work with FPC 3.0 +
> DisableUTF8RTL.
Yes, you are right.
DisableUTF8RTL resets *some* of the
Am 2016-01-15 um 19:16 schrieb JuuS:
> I've always been of the opinion that the web is great for displaying
> information. To use it as the central processor bugs me.
+1
> When I ask my program to do something I want the attention of the
> processor. I don't want it going over the web
Am 2016-01-16 um 00:11 schrieb Bart:
> On 1/15/16, Jürgen Hestermann <juergen.hesterm...@gmx.de> wrote:
>> Why not prepend "\\?\" at this last Windows step so it works for long paths
> This will break existing programs, including the ide.
> Currently you ca
With Lazarus RC2 (and I think before too) "FileExistsUTF8" uses
"_FileGetAttrUtf8" which again uses FileGetAttrWide (on Windows if Unicode is
enable)
which again uses "Windows.GetFileAttributesW(PWideChar(UTF8Decode(FileName)))"
but this fails for long paths (if Length(FileName)>255).
Why not
Lazarus 1.6 RC1:
If I have a bookmark in a file that has not (yet) been opened in the
source editor shouldn't the file be opened when I jump to this bookmark?
It's quite annoying that nothing happens and I only find out later that
this is not because the bookmark was deleted but simply because
What does it mean,
if I check the project option "UI Access" for Windows?
Is it set to true or false?
Shouldn't it be renamed to:
"Check to set UI Access to TRUE (FALSE if not checked)"
(or whatever is correct)?
Not even the help gives more information about how it is meant.
--
> Within Lazarus 1.6 RC1 I can not delete an entry from the watch list with the
DEL key when I use german language settings. When I switch to english it works
okay.
The same applies to the INS key.
Why does changing the language change the keys used?
--
Am 2015-12-20 um 18:21 schrieb Ondrej Pokorny:
On 20.12.2015 17:51, Jürgen Hestermann wrote:
Where do I find it?
I use official (pre) releases only.
Btw. if you read http://wiki.lazarus.freepascal.org/Lazarus_1.6.0_release_notes
, you find this information there:
* Added 'iscancel
Am 2015-12-20 um 08:06 schrieb Ondrej Pokorny:
> I just add that you had to care for mrCancel before as well (if default
dialog was shown).
> It was returned when the dialog was closed with the system close button in
the window caption. So the test code you sent isn't good for 1.4 either.
Am 2015-12-19 um 16:34 schrieb Mattias Gaertner:
> On Sat, 19 Dec 2015 11:17:26 +0100 Jürgen Hestermann
<juergen.hesterm...@gmx.de> wrote:
>> Can the result be mcCancel even when it's not part
>> of the parameter list of the QuestionDlg function?
> Yes. Many widgetse
Within Lazarus 1.6 RC1 I can not delete an entry from the watch list
with the DEL key when I use german language settings.
When I switch to english it works okay.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
Am 2015-12-20 um 13:41 schrieb Ondrej Pokorny:
> It's a feature from trunk added by me on Dec 13th 2015 and it is documented
in trunk (although with some delay).
> I also merged it to 1.6 branch on Dec 14th 2015. Don't get me wrong - I don't
want to be offensive but I expect
> everybody asking
Am 2015-12-13 um 16:52 schrieb Ondrej Pokorny:
> The escape key selects mrCancel now (this was changed) -
I am not sure I understand this right.
Does it mean, mrCancel needs to be
checked too in a case statement like this?
case QuestionDlg('COPYING',
'Abort?',
Am 2015-12-12 um 19:34 schrieb Bart:
> There is no need for such a tone, please!
That's what I thought too as I read Juha's answer
telling me that I was just too "dummy" to have used UTF8Strings.
> Grasping the concepts of the new CP aware strings and all it's
> implications is not that easy.
Am 2015-12-12 um 23:28 schrieb Juha Manninen:
> On Sat, Dec 12, 2015 at 8:38 PM, wrote:
>> especially those readers from the ancient past (TP/BP days) who are trying
>> to catch up to the modern future...
> LCL has supported UTF-8 for > 10 years. As a long time Lazarus
Am 2015-12-13 um 16:52 schrieb Ondrej Pokorny:
On 13.12.2015 16:38, Jürgen Hestermann wrote:
Also, the escape key no longer selects mrAbort.
I cannot exit from the dialog with escape.
Is this intended?
The escape key selects mrCancel now (this was changed) - but you should
definitely be able
I just saw that with Lazarus 1.6 QuestionDLG has been changed (too).
My code:
Answer := QuestionDlg('File overwrite',S2,
mtConfirmation,[mrNo,
'','IsDefault',
mrYes, '',
Am 2015-12-11 um 19:14 schrieb Sven Barth:
> Windows uses multi byte strings (one byte per character or more)
> and UTF-16 (which is mostly 2 Byte and 4 for surrogate pairs).
> The functions WideCharToMultiByte and MultiByteToWideChar which
> are also used inside FPC for string conversions both
Am 2015-12-12 um 17:16 schrieb wkitt...@windstream.net:
On 12/12/2015 10:47 AM, Bart wrote:
Anyhow, as stated before, there should be noneed to use the type
Utf8String in Lazarus programs.
i've been trying to follow along and keep up with this but this statement
confuses me... how do you
Am 2015-12-12 um 18:20 schrieb Sven Barth:
Yes, internally Windows uses UTF-16, but if you set your Windows Ansi code page
or at least the current thread's locale to UTF-8 (indirectly by choosing a
locale that has UTF-8 as code page, I don't know one right now though) then the
*A functions
Am 2015-12-12 um 18:02 schrieb Sven Barth:
On 12.12.2015 17:37, Jürgen Hestermann wrote:
Is it correct that now every ansistring has a static code page
and a dynamic code page (as mentioned in
http://wiki.freepascal.org/FPC_Unicode_support)?
Yes.
Is it correct that each ansistring type can
Am 2015-12-12 um 18:10 schrieb Juha Manninen:
> That was kind of dummy thing to do because UTF8String was an alias for
> AnsiString then.
> You could have used "String" always.
> Now UTF8String is no more an alias.
What an arrogant answer!
I read it like:
"You should have known that UTF8String
Am 2015-12-12 um 18:04 schrieb Bart:
On 12/12/15, Jürgen Hestermann <juergen.hesterm...@gmx.de> wrote:
"Since FPC 2.7.1 the default system codepage of the RTL can be changed to
UTF-8 (CP_UTF8). So Windows users can now use UTF-8 strings in the RTL. "
It *can* be
Am 2015-12-12 um 18:21 schrieb Juha Manninen:
On Sat, Dec 12, 2015 at 6:54 PM, Jürgen Hestermann
<juergen.hesterm...@gmx.de> wrote:
Am 2015-12-10 um 18:22 schrieb Juha Manninen:
http://wiki.freepascal.org/Better_Unicode_Support_in_Lazarus
"String" type is UTF-8 and it w
Am 2015-12-12 um 17:25 schrieb Juha Manninen:
On Sat, Dec 12, 2015 at 1:46 PM, Jürgen Hestermann
<juergen.hesterm...@gmx.de> wrote:
Otherwise we would not have this problem and could use UTF-8 as
a standard for everything.
What is the problem exactly?
Always call the Windows API 'W'-fun
Am 2015-12-10 um 18:22 schrieb Juha Manninen:
On Thu, Dec 10, 2015 at 6:49 PM, Jürgen Hestermann
<juergen.hesterm...@gmx.de> wrote:
How can I use UTF8Delete on an UTF8string?
You can't. Please read this :
http://wiki.freepascal.org/Better_Unicode_Support_in_Lazarus
"String&quo
Am 2015-12-12 um 19:00 schrieb Bart:
>> Then why does it say:
>> "Since FPC 2.7.1 the default system codepage of the RTL can be changed to
UTF-8
>> (CP_UTF8)"
>> It should say:
>> "Since FPC 2.7.1 the default system codepage of the RTL *is* UTF-8 (CP_UTF8)"
> Why in the world would you think so?
>> For what else should I use UTF8delete if not for UTF8strings?
>For "UTF8 strings".
>An "UTF8String" and an "UTF8 String" are two different things for the
>compiler. See below.
What is the difference? The link does not tell me.
As fas as I know, there is no (useful) usage of
>> >An "UTF8String" and an "UTF8 String" are two different things for the
>> >compiler. See below.
>> What is the difference? The link does not tell me.
>An "UTF8 String" is a String encoded in UTF-8.
>String and UTF8String are two different things for the compiler.
Of course String and
Am 2015-12-11 um 16:48 schrieb Graeme Geldenhuys:
On 2015-12-11 13:23, Mattias Gaertner wrote:
http://wiki.freepascal.org/Character_and_string_types
I haven't seen that page yet. That is a brilliant explanation of the
different string types. This really should live in the FPC Language Ref
Am 2015-12-11 um 16:28 schrieb Juha Manninen:
On Fri, Dec 11, 2015 at 4:20 PM, "Jürgen Hestermann"
<juergen.hesterm...@gmx.de> wrote:
I know the type "UTF8String" but what is an "UTF8 String" (which you say
differs)?
"UTF8 String" is a String whic
Am 2015-12-11 um 17:09 schrieb Mattias Gaertner:
On Fri, 11 Dec 2015 15:20:14 +0100
"Jürgen Hestermann" <juergen.hesterm...@gmx.de> wrote:
[...]
An "UTF8 String" is a String encoded in UTF-8.
[...]
I know the type "UTF8String" but what is an "UTF8 St
UTF8Delete probably takes an AnsiString (or String) as var parameter and for var parameters the static codepages have to match exactly (String has CP_ACP while Utf8String has CP_UTF8).
Just please help me understanding this:
The unit LazUTF8 unit is for manipulating UTF8 strings only,
Today I tried Lazarus 1.6 RC1 (on Windows 7 32 bit).
The installation hat a problem with missing access rights.
I chose to uninstall the previous version but afterwards
some folders of fpc 2.4 still existed and I did not have
access rights to these folders. I am not sure whether
this was caused
Am 2015-12-10 um 18:22 schrieb Juha Manninen:
On Thu, Dec 10, 2015 at 6:49 PM, Jürgen Hestermann
<juergen.hesterm...@gmx.de> wrote:
How can I use UTF8Delete on an UTF8string?
You can't. Please read this :
http://wiki.freepascal.org/Better_Unicode_Support_in_Lazarus
"String&quo
Am 2015-11-09 um 14:26 schrieb Sven Barth:
> The docs already note that the compiler uses a temporary register
> for 'With'.
> http://www.freepascal.org/docs-html/ref/refsu58.html#x155-16500013.2.8
> Of course if there is no register left the compiler uses the stack.
Please note that this is
Am 2015-11-10 um 11:32 schrieb Sven Barth:
The user doesn't need to know the detail that the value is kept in a temporary
register, because that statement by itself is utterly useless for the user, as
on load/store architectures like ARM you /always/ have values in registers if
they are
Am 2015-11-06 um 18:26 schrieb Ondrej Pokorny:
> So yes, let's not use with :)
> ... There is no problem with long variable names at all. There are CodeTools
:)
CodeTools do not help you *read* the code.
I prefer to have this:
-
with PathArray[High(PathArray)]^ do
In a VirtualTreeView I have icons to expand and collapse
subnodes (the + and - in a square).
When clicking on them with the mouse it only works
when the column with these icons is the first (left) column.
When I change the main column or when I move the first
column to the right (so that it's not
Am 2015-10-26 um 11:36 schrieb Sven Barth:
If you look at this month's archive you'll see that it's only your mails that add this
(see here: http://lists.lazarus.freepascal.org/pipermail/lazarus/2015-October/thread.html
). Your mail today regarding the widgetset initialization added yet
Am 2015-10-24 um 17:50 schrieb Alexsander Rosa:
2015-10-22 13:11 GMT-02:00 Aradeonas >:
/
From my 600+ KLOC project:
Total Files:
961
Average File Size:
629,3 lines
Source: StatSVN
Am 2015-09-13 um 22:09 schrieb Marc Weustink:
On September 12, 2015 2:12:32 PM GMT+02:00, "Jürgen Hestermann"
<juergen.hesterm...@gmx.de> wrote:
I think many of my problems come from using this deprecated API
function.
Are there any plans to change this?
If you had a l
I use "LCLIntf.DrawText" for drawing text on the screen and "Canvas.TextWidth"
to determine its width to increment a TRect for the next text output.
But these functions cause some trouble with drawing (UTF-8-) text on Windows.
In general it works okay but sometimes peculiar clipping or other
Am 2015-08-13 um 23:35 schrieb Sven Barth:
Am 13.08.2015 12:48 schrieb Jürgen Hestermann juergen.hesterm...@gmx.de:
It seems that if I change something within a function that is declared
inline
and I then use run/compile in Lazarus it does not rebuild this function.
I have to use run
Am 2015-08-09 um 14:31 schrieb Jürgen Hestermann:
I just had a closer look at the function UTF8CharacterLength in unit LazUTF8.
To me it looks as if it can be improved (made faster) because it checks too
many things.
According to https://de.wikipedia.org/wiki/UTF-8 the number of bytes
Am 2015-08-13 um 13:01 schrieb Mattias Gaertner:
On Thu, 13 Aug 2015 12:38:00 +0200
Jürgen Hestermann juergen.hesterm...@gmx.de wrote:
Am 2015-08-13 um 11:55 schrieb Mattias Gaertner:
A string always ends with a #0, so checking byte by byte makes sure you
stay within range.
Not quite
Am 2015-08-13 um 13:29 schrieb Michael Van Canneyt:
On Thu, 13 Aug 2015, Jürgen Hestermann wrote:
Am 2015-08-13 um 12:59 schrieb Michael Van Canneyt:
On Thu, 13 Aug 2015, Jürgen Hestermann wrote:
Determining the character length of a invalid UTF-8 string is quite useless.
Because it's
There is a comment for UTF8CompareText in LazUTF8 which is contradictorily:
// Returns: 0 if S1 S2, 0 if S1 = S2, 0 if S2 S1.
But S1 S2 is the same as S2 S1.
In the first case the result should be 0 and in the second one 0.
It cannot even be retrieved from the code how it realy works
Am 2015-08-13 um 11:55 schrieb Mattias Gaertner:
A string always ends with a #0, so checking byte by byte makes sure you
stay within range.
Not quite true:
if ((ord(p^) and %) = %1110) then
begin // could be 3 byte character
if ((ord(p[1]) and %1100) =
Am 2015-08-13 um 12:15 schrieb Mattias Gaertner:
On Thu, 13 Aug 2015 11:52:26 +0200
Jürgen Hestermann juergen.hesterm...@gmx.de wrote:
There is a comment for UTF8CompareText in LazUTF8 which is contradictorily:
// Returns: 0 if S1 S2, 0 if S1 = S2, 0 if S2 S1.
But S1 S2 is the same
It seems that if I change something within a function that is declared inline
and I then use run/compile in Lazarus it does not rebuild this function.
I have to use run/build to see my changes in the program.
Is this a known issue?
--
___
Lazarus
Am 2015-08-13 um 12:59 schrieb Michael Van Canneyt:
On Thu, 13 Aug 2015, Jürgen Hestermann wrote:
Determining the character length of a invalid UTF-8 string is quite useless.
Because it's not about getting a correct result then, but about not crashing
due to invalid memory access
Am 2015-08-13 um 13:01 schrieb Mattias Gaertner:
On Thu, 13 Aug 2015 12:38:00 +0200
Jürgen Hestermann juergen.hesterm...@gmx.de wrote:
Am 2015-08-13 um 11:55 schrieb Mattias Gaertner:
A string always ends with a #0, so checking byte by byte makes sure you
stay within range.
Not quite
Am 2015-08-13 um 14:19 schrieb Mattias Gaertner:
On Thu, 13 Aug 2015 14:05:19 +0200
Jürgen Hestermann juergen.hesterm...@gmx.de wrote:
Still I think it would be better to give back 3 in case the byte actually
means 3 because 1 byte does not form a valid UTF-8 character.
If I rely
I just had a closer look at the function UTF8CharacterLength in unit LazUTF8.
To me it looks as if it can be improved (made faster) because it checks too
many things.
According to https://de.wikipedia.org/wiki/UTF-8 the number of bytes of an
UTF-8-character should be computable by the first
Am 2015-08-02 um 20:32 schrieb Howard Page-Clark:
On 02/08/2015 18:33, Jürgen Hestermann wrote:
In a TEdit component, how do I find out which character is at the
caret/cursor position?
Or in other words: At which (string) position will the next typed
character be inserted?
I want to insert
According to http://wiki.lazarus.freepascal.org/LCL_Key_Handling
the KeyUp event should be triggered when the Alt-key is released.
But how do I tell this procedure that I want to check for the Alt-key?
The key parameter is of type word.
What is the representation of the Alt-key here?
vk_alt does
Am 2015-08-02 um 14:33 schrieb JuuS:
(btw. this WON'T work in onkeyup with just the alt key...when you lift
alt (ie, keyup) it is no longer down and so is not in Shift, to see it
work do something like alt-a).
But that's just what I want:
Detect the release of the Alt+key (independend from
Am 2015-08-02 um 14:42 schrieb Jürgen Hestermann:
Am 2015-08-02 um 14:33 schrieb JuuS:
(btw. this WON'T work in onkeyup with just the alt key...when you lift
alt (ie, keyup) it is no longer down and so is not in Shift, to see it
work do something like alt-a).
But that's just what I want
In a TEdit component, how do I find out which character is at the caret/cursor
position?
Or in other words: At which (string) position will the next typed character be
inserted?
I want to insert text at just that position myself but cannot find out where
this (character) position would be.
Am 2015-06-18 um 18:22 schrieb aradeonas:
and if making beautiful new age app was easy with
Lazarus or your library for sure I didn't looking for slow way.
Beauty is very subjective.
I see the beauty in programs that respond and process data with
high speed and have a clear minimalistic user
Am 2015-06-12 um 15:08 schrieb Larry Dalton:
The following worked fine in Delphi. I can't get it to work in Lazarus. Tips,
please!
What is the problem?
const FunctionKeys:array[vk_f1..vk_f12] of string[3]=
('F1','F2','F3','F4','F5','F6','F7','F8','F9','F10','F11','F12');
Where do you use
Very often when I debug a program with Lazarusand have connected an external
USB drive and then want to eject the external USB drive I get an “in use” error.
When looking with Unlocker it is always Lazarus who has open handles to this
drive (root)
although it has nothing to do with it. Even
when I try to initialize a record as in
var X : record
A : Sizeint;
B : boolean;
C : Sizeint;
D : boolean;
E : Sizeint;
F : boolean;
G : Sizeint;
H : boolean;
Am 2015-05-28 um 17:14 schrieb waldo kitty:
i don't know why it isn't confident... am is morning so 12am is the very first
entry into morning as 12pm is the very first entry into afternoon...
i don't understand the confusion or the problem...
So the day starts with 12 at midnight and then
When I use ShowMessage then often long file names (or other text)
require to break them into lines. I use a function for this.
But since Windows 8 (or maybe other versions of Windows too) the size
of the WidgetSet-Window is of fixed size (instead of that it widens to
the longest line in the
Am 2015-03-24 um 12:53 schrieb Graeme Geldenhuys:
Is there an option to hide the mouse cursor while I'm typing?
Even better would be to only show the mouse cursor when the mouse is moving
(and a small delay time after stopping).
Of what use is a mouse cursor when not using the mouse?
I
Am 2015-03-10 um 22:23 schrieb aradeonas:
How can I compare two record?
Like this :
type
TRec=record
na:string;
end;
var
R1,R2:TRec;
Begin
R1.na:='A';
R2.na:='B';
if R1R2 then
Showmessage('Error')
In your example you would not need the
I use Lazarus V1.4RC1 on Win7 and today I had a strange situation:
I started to build and run an application with F9.
But my machine was quite slow so nothing (visible)
happened for many seconds.
It could be that I then hit F9 again.
After a while I got an error message saying:
Stop current
I have a unit that is compiling in DELPHI mode
but now wanted to change it to OBJFPC mode
(in DELPHI mode I cannot use binary constants %10011100).
But OBJFPC mode I get an illegal type conversion with the following code:
---
type
Am 2014-12-31 um 16:40 schrieb Jürgen Hestermann:
---
type FlagType= (Flag1,Flag2);
FlagSetType = set of FlagType;
var i : SizeInt;
S : FlagSetTyp;
S := [Flag1];
i := byte(S); // Error illegal type
1 - 100 of 418 matches
Mail list logo