On 18.03.2017 10:53, C Western via Lazarus wrote:
Is it just me?
No, not only you: http://bugs.freepascal.org/view.php?id=31561
Ondrej
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus
On 23.03.2017 10:34, Jürgen Hestermann via Lazarus wrote:
TSplitter.MinSize is the (min) size of the splitter itself.
It has nothing to do with the location of the splitter (just its size).
You are wrong:
http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/delp
Hello,
I want to test the fpDebug debugger. I followed
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Need-testers-for-the-a-new-debugger-td4037911.html
When I run a LCL application, I get the following error within Lazarus IDE:
[Window Title]
project1 - Lazarus IDE v1.7
[Content]
No
On 28.03.2017 23:54, Sandro Cumerlato via Lazarus wrote:
I consider a bug the behaviour of the MouseWheel when used over a
RadioGroup Item.
In the example I'd like to scroll the page content even if the mouse
is over a RadioGroup Item.
Fixed: http://mantis.freepascal.org/view.php?id=31608
Tha
Lazarus version?
Ondrej
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus
On 07.04.2017 23:17, Sandro Cumerlato via Lazarus wrote:
Current SVN trunk. Under Windows 10. Sorry for the missing info.
Mouse wheel messages are correctly passed through.
The problem is with touchpad double-finger scrolling because usually the
mouse driver takes care of it - it finds the TW
On 20.04.2017 17:46, Alexey via Lazarus wrote:
For CudaText i need my emulation of ShowModal.
It must return w/o waiting form to close (like show). But form must
show like modal (all others must disable, and on closing -last
disabled form must enable). Smth exists already?
Not possible, AFAI
On 28.04.2017 0:46, Giuliano Colla via Lazarus wrote:
I have no idea of where to start from, in order to create a setup.exe
which will take advantage of the Windows installer.
Try InnoSetup. AFAIK Lazarus IDE setup is built with it as well.
Ondrej
--
___
On 30.04.2017 18:37, Marcos Douglas B. Santos via Lazarus wrote:
Are you working on projects that have these problems? Could you tell
me which is the best approach to deal with it?
Speaking from my experience, the only approach (not only the best one
but the only one) is not to use characters
On 03.05.2017 11:03, Juha Manninen via Lazarus wrote:
I am puzzled why there were so many misleading and confusing replies,
also from knowledgeable Lazarus developers.
Remember, the question was about making sources compatible with Delphi.
The person (Marcos Douglas) did not know details of how s
On 03.05.2017 11:21, Juha Manninen via Lazarus wrote:
Windows already supports Unicode in everything ... except for console
output! Why is that?
You can start the console with UTF-8 codepage:
http://stackoverflow.com/questions/14109024/how-to-make-unicode-charset-in-cmd-exe-by-default
Then y
On 03.05.2017 21:47, Juha Manninen via Lazarus wrote:
How many people are editing their sources in both Delphi and Lazarus?
Me, but I keep the files ASCII-only because I need to target all Delphi
versions down to D5 :/ My customers really demand it, unfortunately. I'd
like to kill these dinos
On 05.05.2017 11:06, Graeme Geldenhuys via Lazarus wrote:
On 2017-05-05 07:43, Michael Van Canneyt via Lazarus wrote:
As far as I know, you don't need any tricks to work with unicode
filenames or output in 3.0.2. Maybe with exception of TStrings and
TFileStream.
Again, I didn't have time to fol
On 05.05.2017 11:17, Michael Van Canneyt via Lazarus wrote:
On Fri, 5 May 2017, Graeme Geldenhuys via Lazarus wrote:
On 2017-05-05 07:43, Michael Van Canneyt via Lazarus wrote:
As far as I know, you don't need any tricks to work with unicode
filenames or output in 3.0.2. Maybe with exception o
On 05.05.2017 11:24, Graeme Geldenhuys via Lazarus wrote:
On 2017-05-05 10:17, Michael Van Canneyt via Lazarus wrote:
Something like:
sl.LoadFromFile('some_utf8_file.txt', CP_UTF8);
sl.LoadFromFile('some_utf16_file.txt', CP_UTF16);
sl.LoadFromFile('some_latin1_file.txt', CP_Latin1);
Not
On 05.05.2017 11:23, Michael Van Canneyt via Lazarus wrote:
Yes, this somewhat alleviates the problem; but this still is a
single-byte TStrings, as opposed to the WideString
TStrings of Delphi. It's also still a single-byte filename argument.
Yes but you forget that unicode is also single-byte
On 05.05.2017 12:08, Mattias Gaertner via Lazarus wrote:
On Fri, 5 May 2017 10:56:41 +0100
Graeme Geldenhuys via Lazarus wrote:
[...]
or work with large amount of 8-bit strings.
Why would you want to? Unicode supports all languages,
Maybe there is a misunderstanding. Let me rephrase my ques
On 05.05.2017 12:01, Michael Van Canneyt via Lazarus wrote:
On Fri, 5 May 2017, Ondrej Pokorny via Lazarus wrote:
Believe me, I use it in production without any problems: I have
unicode-aware TStrings, I can read files with unicode names, I can do
everything with plain FPC trunk.
I am aware
On 05.05.2017 12:55, Jürgen Hestermann via Lazarus wrote:
A situation where it may be a problem is when reading
(UTF-16 encoded) text files.
No, not at all. If you convert the file on the fly, there is almost 0
performance penalty.
Ondrej
--
___
La
On 05.05.2017 13:02, Graeme Geldenhuys via Lazarus wrote:
On 2017-05-05 10:41, Ondrej Pokorny via Lazarus wrote:
Just use "DefaultSystemCodePage := CP_UTF8" and every single-byte string
is unicode enabled.
So does that mean you don't have to also call the following two functi
On 08.05.2017 17:42, Michael Van Canneyt via Lazarus wrote:
Is there something that must be called/set when creating the control
to make
it receive focus ?
If you mean receiving focus by clicking on it then yes, you need to call
SetFocus in MouseDown. It's also a good idea to check the csNoFo
On 10.05.2017 15:40, Graeme Geldenhuys via Lazarus wrote:
Is it normal for read-only LCL widgets to look identical to their
Read/Write state?
Yes.
Ondrej
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/
On 11.05.2017 12:11, Graeme Geldenhuys via Lazarus wrote:
Now all that remains is to make it clickable, so you jump to the part
of the file where you clicked.
It is clickable :)
Ondrej
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://
On 11.05.2017 13:12, Graeme Geldenhuys via Lazarus wrote:
On 2017-05-11 11:50, Ondrej Pokorny via Lazarus wrote:
It is clickable :)
Umm, it doesn't work here. Clicking via LClick or RClick doesn't have
any affect. I'm using Lazarus 1.7 r52715 FPC 2.6.4 x86_64-linux-gtk 2,
On 16.05.2017 18:08, Gabor Boros via Lazarus wrote:
Hi All,
I switched from revision 54808 to 54920 and got different row heights.
What happened? Is this a regression?
Probably yes and problably I am responsible. Please report to Mantis.
Ondrej
--
On 16.05.2017 20:44, Michael Van Canneyt via Lazarus wrote:
Anything else I can do ? (except dumping linux mint, obviously...)
Maybe this is an option for you until it gets properly fixed: you could
build the IDE for Qt. (You can still develop your own applications for
Gtk2 even if the IDE is
On 16.05.2017 21:08, Michael Van Canneyt via Lazarus wrote:
Surely, if the situation is that bad, then things would have been fixed a
long time ago, no ?
IIRC people complained about Gtk2 resizing their windows under some
window managers for several years. If I am not mistaken nobody really
t
Schade, dass das Treffen so weit ist aus Tschechien :/ Sonst würde ich
kommen.
Lazarus 1.8 hat sicherlich einiges zu bieten.
Ondrej
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus
On 17.05.2017 17:38, Luca Olivetti via Lazarus wrote:
FWIW it does the same with linux/gtk2 and, boy, the ide is *ugly*:
giant, blurred, icons everywhere, giant fonts in the tabs of the
components' palette, giant fonts in the object inspector...you get the
drift.
The fonts in the editor seems f
On 17.05.2017 17:47, Luca Olivetti via Lazarus wrote:
El 17/05/17 a les 17:43, Ondrej Pokorny via Lazarus ha escrit:
On 17.05.2017 17:38, Luca Olivetti via Lazarus wrote:
FWIW it does the same with linux/gtk2 and, boy, the ide is *ugly*:
giant, blurred, icons everywhere, giant fonts in the
On 17.05.2017 18:55, Luca Olivetti via Lazarus wrote:
El 17/05/17 a les 17:52, Ondrej Pokorny via Lazarus ha escrit:
You use 150% scaling (96 DPI = 100%), so Lazarus is also scaled by 150%.
It's a new feature :)
Well, if it is, it's broken: every other application (either kde or
On 17.05.2017 23:08, Andreas Frieß via Lazarus wrote:
I see with the last patches something goes wrong after r54880 with
frames and grid (specially TsWorkSheetGrid).
Lazarus claims, the is no valid parent and didnot load and crash. It
is only happen if you use frames ? The trouble is, i can on
On 18.05.2017 9:38, Luca Olivetti via Lazarus wrote:
This seems to fix it, maybe fpc 2.6.4 doesn't manage well a "in" with
a range of integers?
Thank you for the patch, applied! Does the bug have a report in mantis
so that I can resolve it?
Ondrej
--
_
On 18.05.2017 17:02, Mattias Gaertner via Lazarus wrote:
On Thu, 18 May 2017 16:57:40 +0200
Luca Olivetti via Lazarus wrote:
[...]
Index: components/codetools/ide/codyidentifiersdlg.pas
===
--- components/codetools/ide/codyidentif
On 18.05.2017 17:20, Mattias Gaertner via Lazarus wrote:
True.
I'll do that.
Ondrej
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus
On 18.05.2017 17:20, Mattias Gaertner via Lazarus wrote:
On Thu, 18 May 2017 17:14:03 +0200
Ondrej Pokorny via Lazarus wrote:
[...]
IMO, we should create a new option for CodeTools to override string
result types for Ctrl+Shift+C. It could be both easy to implement and
easy to understand:
if
On 18.05.2017 21:48, Ondrej Pokorny via Lazarus wrote:
On 18.05.2017 17:20, Mattias Gaertner via Lazarus wrote:
True.
Should I enable it by default?
I implemented it in r54976 and made it default because all 8-bit string
types are equivalent for the compiler, so it makes perfect sense not
On 22.05.2017 15:57, Graeme Geldenhuys via Lazarus wrote:
On 2017-05-08 17:46, zeljko via Lazarus wrote:
Just to be sure that control actually can take focus put this
ControlStyle := ControlStyle - [csNoFocus];
into constructor of your control.
And what if that doesn't work? I've set that in t
On 22.05.2017 16:05, Graeme Geldenhuys via Lazarus wrote:
On 2017-05-22 15:01, Ondrej Pokorny via Lazarus wrote:
For an example look how it is done in TCustomDBGrid.MouseDown.
+ The control can always get focused by the Tab key, if TabStop=True.
I'll double check that as well, just
On 23.05.2017 19:38, Alexey via Lazarus wrote:
What do you think about using this rare API [beginning from WinXP] in
LCLIntf fnction? It will make LCL function work more stable: window
will always go to foreground. I used it in CudaText. It works.
https://github.com/Alexey-T/CudaText/blob/mast
On 26.05.2017 8:21, Lars via Lazarus wrote:
Does something like OnBeforeCompile/OnAfterCompile exist in codetools?
Yes, they exists. "OnAfterCompile":
LazarusIDE.AddHandlerOnProjectBuildingFinished(@MyEvent);
LazarusIDE.AddHandlerOnLazarusBuildingFinished(@MyEvent);
Ondrej
--
On 26.05.2017 12:47, Graeme Geldenhuys via Lazarus wrote:
I want to implement a Lazarus IDE feature "open type" - that's if it
doesn't already exist (please let me know). Imagine, you need to have
a look at the "TFoo" class. But, where is the "TFoo" class? Is it in
the "Boo" project or maybe in
On 30.05.2017 15:10, Alexey via Lazarus wrote:
Also good to copy PixelsPerInch to do good copy
PixelsPerInch must not be assigned.
Ondrej
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus
On 06.06.2017 21:54, Mark Morgan Lloyd via Lazarus wrote:
Bearing in mind things like the %H hint that Lazarus uses to suppress
warning messages, is there anything comparable that can be applied to
a variable so that when the IDE pops up a value during debugging it
will always be shown in a cer
On 07.06.2017 10:38, Gabor Boros via Lazarus wrote:
I tried to compile trunk(55263) with FPC 3.0.2 on Win32 but got this:
Are you sure you use FPC 3.0.2? IMO you use an old revision of fixes_3_0
or trunk branch which you have to update.
Ondrej
--
_
> So does that mean that the IDE has to be tailored for a specific project?
Yes. Install a custom package to extend the IDE.
Ondrej
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus
On 07.06.2017 13:20, Ondrej Pokorny via Lazarus wrote:
> So does that mean that the IDE has to be tailored for a specific
project?
Yes. Install a custom package to extend the IDE.
Or: extend the IDE with some default formatters, add an IDE option page
(and/or project option page) where
On 08.06.2017 9:00, Petr Kristan via Lazarus wrote:
I set bad Category in bug #0031901. How can I change it to "LCL"?
Or somebody who has an access, change it please.
Category "Patches" is OK as well :)
Ondrej
--
___
Lazarus mailing list
Lazarus@list
On 11.06.2017 8:05, kapibara via Lazarus wrote:
It seems no longer possible to toggle a property true/false with
double click. Is this a bug?
It works here. What OS/WS? What settings (checkboxes or comboboxes for
bool values)?
Ondrej
--
___
Lazarus
On 13.06.2017 15:21, Joost van der Sluis via Lazarus wrote:
Am I the only one who has problems with the codetools? Seems like it
can not handle out-parameters in functions anymore.
What CT function is not working in particular?
I tested with:
program CTTest1;
uses
SysUtils, Classes;
funct
On 13.06.2017 16:03, Joost van der Sluis via Lazarus wrote:
Now when I add Variants to the uses, nothing works anymore. (Try
identifier-completion in VarIsError -> move cursor to VarIs ->
ctrl-space)
Same happens when you add contnrs to the uses-section.
Do you also have that problem?
Works
On 13.06.2017 23:05, Joost van der Sluis via Lazarus wrote:
Any clue why 'fpc' is not defined according to the codetools?
I have no idea :( I'll ping Mattias directly. I am quite sure he'll know
what to look for from your information :)
Ondrej
--
_
On 15.06.2017 14:43, Gabor Boros via Lazarus wrote:
I switched from revision 54808 to 55332 and got different default
column widths. Reported as bug. I hope Ondrej fix it ASAP.
ASAP is a loose time definition but the fix should happen for RC3.
Ondrej
--
On 15.06.2017 17:19, Mattias Gaertner via Lazarus wrote:
On Thu, 15 Jun 2017 17:07:06 +0200
Andrea Mauri via Lazarus wrote:
The Mac native 64bit API is Cocoa and it exists for the LCL.
It is missing some feature though. Maybe Felipe can tell more details.
Alternatively you can use qt, which i
On 15.06.2017 18:08, zeljko wrote:
Both qt4 and qt5 works as 64bit w/o problems. I'm using it for our
mac apps (complete lazarus build is qtlcl 64bit).
This is great (and what I expected). We definitely should change the
"10.5 to 10.12, LCL only 32bit, non LCL apps can be 64bit." information
On 16.06.2017 9:12, Wolf via Lazarus wrote:
If the call to "halt;" is commented out, there is no memory leak
reported. Is this intentional?
Yes, halt kills the program without finalizing anything. No code is
executed afterwards. Everything that is allocated at the time Halt is
executed result
On 16.06.2017 9:33, Mattias Gaertner via Lazarus wrote:
On Fri, 16 Jun 2017 09:25:24 +0200
Ondrej Pokorny via Lazarus wrote:
On 16.06.2017 9:12, Wolf via Lazarus wrote:
If the call to "halt;" is commented out, there is no memory leak
reported. Is this intentional?
Yes, halt
Hello!
Where can I find a list of defines/functions that I can use for "Execute
after command"?
http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Compiler_Commands
In particular I want to get the path to $TargetFile() - i.e. the target
EXE path.
Ondrej
--
___
On 21.06.2017 16:19, Ondrej Pokorny via Lazarus wrote:
Where can I find a list of defines/functions that I can use for
"Execute after command"?
Found it :)
http://wiki.lazarus.freepascal.org/IDE_Macros_in_paths_and_filenames
Ondrej
--
_
On 26.05.2017 13:11, Graeme Geldenhuys via Lazarus wrote:
It seems it already exists (as Mattias pointed out) - we just didn’t
know about it. :) All that remains is to assign a shortcut to it, if
a default one doesn't exist.
I absolutely fell in love with FPC/Lazarus now. It offers everything
On 04.07.2017 22:58, Valdas Jankūnas via Lazarus wrote:
code (WS: GTK2):
i := Canvas.TextHeight('I');
writeln(i);
Canvas.Font.Height := i;
i:= Canvas.TextHeight('I');
writeln(i);
Canvas.Font.Height := i;
i:= Canvas.TextHeight('I');
writeln(i);
I get:
24
33
45
I think that "Canv
On 09.07.2017 0:22, Werner Pamler via Lazarus wrote:
Ondrej, you implemented scaling of the images used for the toolbar and
menu of the IDE. Where can I find these methods?
IDEImagesIntf.pas
Are they available for standard imagelists for non-IDE usage?
No, the current solution is Lazarus sp
On 08.07.2017 21:26, FTurtle via Lazarus wrote:
What are parameters for high-DPI versions of gutter icons?
I am not sure there is high-DPI support for gutter icons yet. I have to
check. But the parameters/file names have to be the same (*_150, *_200).
Ondrej
--
__
On 09.07.2017 17:14, Valdas Jankūnas via Lazarus wrote:
PPI of Font differs from rest PPI. Is this intended or a bug?
It depends what your code is.
Ondrej
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listin
On 13.07.2017 2:11, Graeme Geldenhuys via Lazarus wrote:
There was ONE thing I did like about Delphi - the "File -> New ->
XML Data Binding" option, where it generates interfaces and
classes to work with XML data or a schema. That was pretty
useful. Does Lazarus have something like that yet
On 20.07.2017 11:57, Alexey via Lazarus wrote:
Pls tell: is it possible to make MenuItems themes (application wide in
all menus, or MainMenu)? this needs global OnDrawItem which will be
used by LCL. Can you add it?
For this you have the methods in TPopupMenu/TMainMenu. You should be
able to
On 20.07.2017 13:33, Graeme Geldenhuys via Lazarus wrote:
And EMBT thinks they can still justify the HUGE price tag?? What are
Delphi Developers actually paying for? They should vote with their
wallet and stop upgrading until EMBT actually starts fixing things.
So I'll reiterate Job well d
On 23.07.2017 12:50, Michael Van Canneyt via Lazarus wrote:
Directly passing an interface where (T)REFIID is expected, will no
longer be possible.
What is the fix?
"@GetTypeData(TypeInfo(IShellItem))^.Guid" ?
Ondrej
--
___
Lazarus mailing list
Lazar
On 23.07.2017 18:11, Michael Van Canneyt via Lazarus wrote:
That is one possible fix, yes.
Maybe we can add a leightweight function for this to the typinfo unit.
Actually it works well with a local variable. I fixed it in r55562. I
hope it's fine so.
Ondrej
--
__
On 24.07.2017 0:08, Anthony Walter via Lazarus wrote:
I think this tool should be added to the lazarus components folder.
Actually we are going the other way - decentralize components and
packages. Such a tool should be added to the online package manager.
Please contact Balasz (if he missed
On 30.07.2017 0:50, Alexey via Lazarus wrote:
TCustomControl.Caption setter
(ie TControl.SetText)
misses Invalidate call.
So, my ATButtons (ATButton based on CustomControl) miss
visual update, when user changes app i18n.
TCustomControl doesn't paint the caption so it doesn't need the
Invalidat
On 30.07.2017 9:32, Anthony Walter wrote:
While we're at it, why is THintWindow.Paint moved to public? Please
fix back to protected.
Correct. Moved to protected.
Ondrej
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus
On 05.08.2017 14:16, Michael Van Canneyt via Lazarus wrote:
How can I check that the IDE has actually enabled/activated HDPI and uses
big icons/button images?
Check for Application.Scaled := True in lazarus.pp. This enables Hi-DPI
features.
---
Another problem could be that the widgetset se
On 05.08.2017 15:39, Michael Van Canneyt via Lazarus wrote:
Since I have the same setup as the reporter I have applied the patch
provided in this bugreport, and then HighDPI works on Linux.
The buttons and images have a reasonable size, font looks normal...
So, from my point of view, that patch
On 15.08.2017 21:34, Mattias Gaertner via Lazarus wrote:
On Tue, 15 Aug 2017 21:22:10 +0200
Luca Olivetti via Lazarus wrote:
[...]
*If* code that worked before (and dare I say without abusing the
language) suddenly breaks, the bug is in the compiler and not in the
library.
... unless of cours
Too bad that Eugene didn't decide to improve Lazarus Cocoa bindings :)
Ondrej
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus
On 17.08.2017 16:34, Graeme Geldenhuys via Lazarus wrote:
On 2017-08-17 13:40, Marcos Douglas B. Santos via Lazarus wrote:
Sorry, but every single warning is a... warning... that needs to be
resolved.
I feel exactly the same. :-) It took me ages to figure out how to
change my code so I coul
On 16.08.2017 22:40, Sven Barth via Lazarus wrote:
Trunk supports Insert() and Delete() on dynamic arrays, Concat() and +
are on the near term ToDo list.
I eagerly wait for these (and for anonymous methods) :)
Ondrej
--
___
Lazarus mailing list
Lazar
On 21.08.2017 1:38, Graeme Geldenhuys via Lazarus wrote:
On 2017-08-20 21:16, Andreas Frieß via Lazarus wrote:
The freetype dll searched by the fpreport was freetype-6.dll, but the
actual freetype-2.3.5-1-bin.zip has only a freetype6.dll. (Renaming is
not a problem for me)
It seems FreeType ha
Michl added high-resolution cursors recently. Obviously Gtk2 picks up
the wrong size. Win32 works fine.
Ondrej
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus
On 13.09.2017 10:44, Michael Van Canneyt via Lazarus wrote:
On Wed, 13 Sep 2017, Graeme Geldenhuys via Lazarus wrote:
On 2017-09-12 19:01, Alexey via Lazarus wrote:
It is new. Please rename (it's easy for new component) all files:
usually its good with one prefix. E.g. fprep_*.*.
hahaha...
On 13.09.2017 12:03, Michael Van Canneyt via Lazarus wrote:
On Wed, 13 Sep 2017, Ondrej Pokorny via Lazarus wrote:
The benefit of writing fpreport.exporthtml versus fpreportexporthtml
is zero.
You forgot one thing: third-party libraries. E.g. your fpReport could
use the "fprep"
On 13.09.2017 15:33, Mattias Gaertner via Lazarus wrote:
Also were is there an ambiguity anyway (given all units are used with their
full name)? The compiler reads (in my above example) the token sequence ID
Point ID and thus can find the unit without any backtracking just as for
ordinary methods
On 13.09.2017 12:28, Michael Van Canneyt wrote:
On Wed, 13 Sep 2017, Ondrej Pokorny via Lazarus wrote:
On 13.09.2017 12:03, Michael Van Canneyt via Lazarus wrote:
On Wed, 13 Sep 2017, Ondrej Pokorny via Lazarus wrote:
The benefit of writing fpreport.exporthtml versus
fpreportexporthtml is
On 13.09.2017 21:17, Mattias Gaertner via Lazarus wrote:
Everything looks like the compiler uses the same algorithm -> it first
resolves a then b then c and so on, it doesn't need to go backwards.
It's not so simple. See my example for Sven:
...
uses unitdots.unit1, unitdots;
type
TPrgBright
On 13.09.2017 20:33, Graeme Geldenhuys via Lazarus wrote:
On 2017-09-13 19:17, Michael Van Canneyt via Lazarus wrote:
Similarly, every field in a database I create is always uniquely named.
So if I ask "where is field TX_ID' I get exactly 1 field, in 1 table.
Graeme Geldenhuys can testify that I
On 13.09.2017 22:23, Michael Van Canneyt via Lazarus wrote:
create table customer (
C_ID INT Primary key,
C_FIRSTNAME VARCHAR(30),
C_LASTNAME VARCHAR(50)
);
CREATE table invoice (
I_ID INT PRIMARY KEY,
I_CUSTOMER_FK INT,
I_DATE DATE
);
ALTER TABLE INVOICE ADD CONSTRAINT R_INVOICE_CU
On 25.09.2017 20:02, Marcos Douglas B. Santos via Lazarus wrote:
May I code using just "string"?
Yes. LCL is ANSI/UTF8 only, so is TStrings.
You can write Lazarus+Delphi compatible code without a lot of problems.
Just use the string type. The only thing you have to be aware is that in
Delphi
On 03.10.2017 22:39, Vojtěch Čihák via Lazarus wrote:
Hi, if I want hi-DPI for my own components, it is enough to draw two additional
icons with suffix _150 and _200 and bundle it to package?
Yes.
Ondrej
--
___
Lazarus mailing list
Lazarus@lists.laz
I have 2 monitors on a win 10 machine and I am not aware it should
behave like this (you either duplicate the task bar or you have one task
bar on one display with all windows, afaik).
Ondrej
On 06.10.2017 11:29, Alexey via Lazarus wrote:
It seems was a Win8/Win10 report. (I dont have monito
On 09.10.2017 9:58, Lubos Pintes via Lazarus wrote:
Hello,
I have a problem to add a button to a form using keyboard. Ctrl+Alt+P,
write "tbut" to the edit field and press Enter. Nothing was added... why?
Because you have to click with a mouse on the form where the button has
to be placed.
C
On 11.10.2017 16:00, Lubos Pintes via Lazarus wrote:
Just wanted to try the cool feature, adding a procedure body to
implementation. So I wrote a procedure header, pressed Ctrl+Shift+C,
and found this in a message window:
uiacore.pas(9,1) Error: unknown section keyword interface found
I tried t
On 11.10.2017 17:31, Koenraad Lelong via Lazarus wrote:
Software is intended for Windows.
In this case you may use WinAPI as well:
https://stackoverflow.com/a/1892432/1231269
Ondrej
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://
On 13.10.2017 15:32, Koenraad Lelong via Lazarus wrote:
Op 11-10-17 om 17:45 schreef Ondrej Pokorny via Lazarus:
On 11.10.2017 17:31, Koenraad Lelong via Lazarus wrote:
Software is intended for Windows.
In this case you may use WinAPI as well:
https://stackoverflow.com/a/1892432/1231269
On 15.10.2017 17:05, Donald Ziesig via Lazarus wrote:
What can I do about this?
Find the revision that broke it and fill a bug report. And please give
information about your OS and WS. I assume you are on Linux/Gtk2.
Ondrej
--
___
Lazarus mailing l
On 24.10.2017 23:18, Michael Van Canneyt via Lazarus wrote:
On Tue, 24 Oct 2017, Giuliano Colla wrote:
Il 24/10/2017 14:10, Michael Van Canneyt via Lazarus ha scritto:
A valid method can never be stored in a pointer, since the former is
actually 2 pointers (method/data) and the latter is just
On 25.10.2017 11:14, Michael Van Canneyt wrote:
On Wed, 25 Oct 2017, Ondrej Pokorny via Lazarus wrote:
Yes, the code is wrong. But the reason is that myMethod is assigned
in FormCreate. The later "@myMethod := pMethod;" assignment
overwrites only half of the myMethod:TProc varia
On 15.10.2017 19:53, Donald Ziesig wrote:
ok I'll try
The easiest way is to get SVN sources and then bisect the guilty
version: http://wiki.freepascal.org/How_To_Help_Developing_Lazarus .
Read "Dealing with regressions".
Ondrej
--
___
Lazarus mail
On 31.10.2017 10:01, Werner Pamler via Lazarus wrote:
Trying to update my VirtualTreeViews version 4 to version 5 I ran into
the problem that the registration unit seems to be duplicate now. I
hope to be able to fix this, but what I want to say is that the
message dialog telling me of this is
On 06.11.2017 17:11, Sven Barth via Lazarus wrote:
Am 06.11.2017 13:48 schrieb "Ondrej Pokorny via Lazarus"
mailto:lazarus@lists.lazarus-ide.org>>:
A secret insider tip: use Ctrl+C to copy the full text into clipboard.
Does this work on all widgetsets? I know that Window
1 - 100 of 453 matches
Mail list logo