Hi,
It is caused by property TSplitter.MinSize. I just tested, when I move by
mouse, I'm stopped on this value. But with code, I can go below this limit. You
can modify the code:
if Splitter1.Left>Splitter1.MinSize then
...
(and set MinSize to 50 in Object Inspector).
so the limit will b
Hi,
I just did a little test in Qt Designer.
There seems to be no difference in QLineEdit (TEdit). There is sometimes
difference in editable and non-editable QComboBox (depends on style - QtCurve,
Oxygen, Breeze are different, Windows style is identical).
OTOH, your fpGUI read-only controls
Hi,
maybe you can create some temporary canvas, assign TEdit.Font to TCanvas.Font,
do the measurement and free that canvas.
V.
__
Od: Torsten Bonde Christiansen via Lazarus
Komu: Lazarus mailing list
Datum: 30.05.2017 08:36
Předmě
Hi,
IMO it should be OK. PixelsPerInchs has probably meaning when you have two
displays with different DPI. Therefore copying the value PixelsPerInchs is
wrong because method Assign() cannot know where the font will be displayed (on
the same display or the second display with different DPI).
Hi,
you have to override one of these methods:
procedure RealSetText; override; //this is done in TSpeedBtn
or
procedure TextChanged; override; //this is what I do in some components of
ECControl
and call Invalidate; (and inherited;) there.
V.
___
Hi,
for those who don't visit forum: I announced a very simple game for training
memory: http://forum.lazarus.freepascal.org/index.php/topic,38004.0.html
Or directly on SF: https://sourceforge.net/projects/memtrain/files/
Currently sources are available only.
Enjoy, V. (Blaazen)
--
_
Hi,
in fact, it is called PascalCase, see https://en.wikipedia.org/wiki/PascalCase
V.
__
Od: Graeme Geldenhuys via Lazarus
Komu: lazarus@lists.lazarus-ide.org
Datum: 13.09.2017 20:19
Předmět: Re: [Lazarus] FPReport file names
On 2
Hi,
just tested, it is same in Delphi7. Refresh data manually in FormShow is one of
correct ways.
V.
__
Od: frans via Lazarus
Komu: lazarus@lists.lazarus-ide.org
Datum: 28.09.2017 12:20
Předmět: [Lazarus] Why is OnShow not executed?
Hi,
I have this code for improved autocomplete of TCombo:
var i, aCharMatch, aIndex: Integer;
aCmbText, aItemStr: TUTF8Scanner;
aStr: string;
begin
with TStringGrid(TComboBox(Sender).Parent) do
if TComboBox(Sender).ItemIndex>=0
then Cells[Col,
Row]:=TComboBox(Sender).Items
zarus mailing list
Datum: 30.09.2017 09:27
Předmět: Re: [Lazarus] UTF8Tools problem
On Sat, Sep 30, 2017 at 3:59 AM, Vojtěch Čihák via Lazarus
wrote:
.
Juha
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org
Hi,
you have unusual getter:
function TATTabs.GetItems: TStrings;
var
D: TATTabData;
i: integer;
begin
Result:= TStringList.Create;
for i:= 0 to TabCount-1 do
begin
D:= GetTabData(i);
if Assigned(D) then
Result.Add(D.TabCaption)
else
Result.Add('?');
end;
en
Hi,
your scrollbars are part of control? I mean, are they created via
ShowScrollBar(Handle, SB_HORZ, True);
ShowScrollBar(Handle, SB_VERT, True); ?
You wrote component ECScheme, it is part of ECControls and I didn't use
DoMouseWheelxxx methods at all. I use
procedure WMHScroll(var Msg:
@ You wrote component ECScheme ...
No, I wrote it :-)
__
Od: Vojtěch Čihák via Lazarus
Komu: Lazarus mailing list
Datum: 03.10.2017 19:32
Předmět: Re: [Lazarus] Mousewheel events on TCustomControl
Hi,
your scrollbars are part of
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?
Thanks, V.
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazar
I can confirm with Lazarus 1.9.0 r55934 FPC 3.0.2 x86_64-linux-qt.
V.
__
Od: Lubos Pintes via Lazarus
Komu: laza...@lists.lazarus.freepascal.org
Datum: 06.10.2017 22:03
Předmět: [Lazarus] Settings in the options dialog are not focusable
Maybe frames (TFrame), because I use similar dialog (treeview + buttons) but I
use TPageControl for content and tab key works well.
V.
__
Od: Juha Manninen via Lazarus
Komu: Lazarus mailing list
Datum: 07.10.2017 00:08
Předmět: Re: [L
Hi,
it seems OK on Qt and GTk2 at r.56055.
V.
__
Od: Martok via Lazarus
Komu: laza...@lists.lazarus.freepascal.org
Datum: 16.10.2017 15:43
Předmět: [Lazarus] Rendering Issue Emoji for HTML List Items
...
Could someone please test
Hi,
I even didn't know this feature, but... so much colors, I almost collapsed :-)
Are there plans to make it (more) configurable? Keep keywords black and only
lines colorful, or paint lines only when code-block exceeds vertical screen
size.
Thanks.
Tools -> Options... -> (Nodes) Editor / Display / Markup and Matches. There's
checkbox Outline (global). It took me a while too :-).
V.
__
Od: Donald Ziesig via Lazarus
Komu: lazarus@lists.lazarus-ide.org
Datum: 20.10.2017 17:07
Před
Hi,
I got this code for design time editing (note the line+comment ***
aHook.SelectOnlyThis(aECTC.Tabs); { force the OI to refresh } ***).
That line should refresh OI so the deleted item (CollectionItem) is removed
(node in OI).
It worked in recent Lazarus versions, but it doesn't work in the
.
__
Od: Juha Manninen via Lazarus
Komu: Lazarus mailing list
Datum: 25.10.2017 20:31
Předmět: Re: [Lazarus] Deleting items in OI
On Wed, Oct 25, 2017 at 8:30 PM, Vojtěch Čihák via Lazarus
wrote:
I could look at it. What is the easiest way to reproduce?
Juha
ng special.
V.
__
Od: Juha Manninen via Lazarus
Komu: Lazarus mailing list
Datum: 25.10.2017 20:31
Předmět: Re: [Lazarus] Deleting items in OI
On Wed, Oct 25, 2017 at 8:30 PM, Vojtěch Čihák via Lazarus
wrote:
I could look at it. What is the easiest way to r
Hi,
I started thread about fonts on forum. There's info about new font from IBM
(IBM Plex Mono) and list of ten fonts good-looking in Source Editor. See:
http://forum.lazarus.freepascal.org/index.php/topic,39020.0.html
V.
--
___
Lazarus mailing list
up to now.
V.
__
Od: Juha Manninen via Lazarus
Komu: Lazarus mailing list
Datum: 25.10.2017 20:31
Předmět: Re: [Lazarus] Deleting items in OI
On Wed, Oct 25, 2017 at 8:30 PM, Vojtěch Čihák via Lazarus
wrote:
> I got this code for design time editing (not
Deleting items in OI
On Sat, Nov 25, 2017 at 8:21 PM, Vojtěch Čihák via Lazarus
wrote:
> I just have some more info. Everything was OK to revision 52209.
> OI was completly broken between 52210 and 52229 (components didn't appear at
all).
> Revision 52230 improved OI but deleting di
Hi,
I tried to run Lazarus with dark theme and icons for TLabel and TStaticText are
not visible. I propose to use that blue color used with the old icons instead
of black.
V.
PS: I have no direct contact to author of icons, FTurtle, so I sent it to
Lazarus ML.
--
___
t: Re: [Lazarus] Note to new high-DPI icons
Am 09.12.2017 um 16:18 schrieb Vojtěch Čihák via Lazarus:
> Hi,
>
> I tried to run Lazarus with dark theme and icons for TLabel and TStaticText are not visible. I propose to use that blue color used with the old icons instead of black.
>
>
I can confirm. It is also broken for [] and {}. I observed that it depends on
previous character:
ControlStyle:=ControlStyle+[csNoDesignVisible]; //works
ControlStyle:=ControlStyle+ [csNoDesignVisible]; //does NOT work
i.e. when previous char is "red" +-*/@() etc. it works, while abcde...
Hi,
are alternative shortcuts and sequences broken? See screenshot. Ctrl+Alt+Q
works but F9 doesn't. If I swap them, F9 works but Ctrl+Alt+Q doesn't.
If I will edit sequence [F9, Ctrl+Alt+Q], Lazarus doesn't wait for the second
and run project immediately after F9.
The same for [Ctrl+Alt+Q,
I can confirm behavior in Wine. When you change trVertical to trHorizotal -
everything OK. But oppositely, trackbar calculates with new width and OLD
height and ticks remain horizontal. When you resize it at least 1 pixel,
everything is OK.
But I'm not able to say if the issue is in Wine or in
Hi,
I sometimes experienced that IDE does not follow the value in combobox in Tools
-> Configure "Build Lazarus". Setting Qt is ignored and IDE rebuilds to GTk.
But when I change the value in Project Options -> Additions and Overrides ->
LCL Widget Type and then I rebuild IDE, it rebuilds to c
PC 3.0.4 x86_64-linux-gtk2.
V.
______________
Od: Vojtěch Čihák via Lazarus
Komu: Lazarus mailing list
Datum: 02.01.2018 16:01
Předmět: [Lazarus] Rebuilding IDE Gtk/Qt
Hi,
I sometimes experienced that IDE does not follow the value in combobox in Tools -> Configure
"Build Lazarus&q
ked at line 4595.It calls TBuildManager.SetBuildTarget and nested function
GetEffectiveLCLWidgetType where is line: Result:=FBuildTarget.CompilerOptions.GetEffectiveLCLWidgetTypeIt is
probably the reason why combobox in "Configure Build Lazarus" is ignored and is replaced by value
from Compiler Options.V.
Předmět: Re: [Lazarus] Rebuilding IDE Gtk/Qt
On Fri, 05 Jan 2018 02:59:56 +0100
Vojtěch Čihák via Lazarus wrote:
> I found the reason but to make a patch is beyond my powers.
> When I used the steps described below, I got this in console:
>[...]is unchangedThe changes come fr
Od: Mattias Gaertner via Lazarus
Komu: lazarus@lists.lazarus-ide.org
Datum: 05.01.2018 13:11
Předmět: Re: [Lazarus] Rebuilding IDE Gtk/Qt
On Fri, 05 Jan 2018 02:59:56 +0100
Vojtěch Čihák via Lazarus wrote:
> I found the reason but to make a patch is beyond my powers.
> When I used the
Hi,
click Package->New Package...
it immediately opens Save dialog, where you choose filname. It saves xyz.lpk
Then click Compile and xyz.pas is autogenerated.
V.
__
Od: Ondrej Pokorny via Lazarus
Komu: lazarus@lists.lazarus-ide.org
D
This issue seems to be only about the case one package = one component.
I have 28 components in package where each component has unique name and I
never needed any pre/suffix.
V.
__
Od: AlexeyT via Lazarus
Komu: leledumbo via Lazarus
I noticed: if the main package file has the same name as the lpk than it is not
listed in that lpk, right?
V.
__
Od: Mattias Gaertner via Lazarus
Komu: lazarus@lists.lazarus-ide.org
Datum: 07.01.2018 14:55
Předmět: Re: [Lazarus] Packag
Hi,
does the checkbox [X] Strip symbols from executble works well for you?
It does nothing here. If I then do:
>strip project1
in xterm, it works. I have "strip" installed in /usr/bin.
It seems that other options have no efect to it, except -Xg [X] Use external
debug file.
V.
--
_
It can be resized by mouse, by the small handle in bottom-rigth corner.
V.
__
Od: AlexeyT via Lazarus
Komu: Juha Manninen via Lazarus
Datum: 08.01.2018 19:30
Předmět: Re: [Lazarus] Extended filter for Code Completion
patch makes red
Hi,
example - you write:
i:=5;
and hit Ctrl+Shift+X on that line and it will open dialog where you can choose if you
want to create "i" as a local or class variable.
V.
__
Od: Donald Ziesig via Lazarus
Komu: lazarus@lists.lazarus-i
Hi,
I wrote a small routine to search Lazarus sources and it found about 60 places
similar to this (taborderdlg.pas, line 398):
if Assigned(LookupRoot) and (LookupRoot is TWinControl) then begin
Should I make a patch for all occurences?
V.
--
Hi,
it happened me already twice (yesterday and ~month ago) that Editor Macros lost key shortcuts. All macros remains
in EditorMacros.xml but without any key shortcut info, i.e. there are no nodes.
No problem, I recovered from backup.
I use Lazarus SVN and I rebuild it quite often, I also do
No, I neved had such message.
V.
__
Od: Martin Frb via Lazarus
Komu: Vojtěch Čihák via Lazarus
Datum: 15.01.2018 23:17
Předmět: Re: [Lazarus] Editor Macros looses key shortcuts
On 15/01/2018 22:01, Vojtěch Čihák via Lazarus
Hi, my Linux+KDE (Plasma) experience:
I have no docking manager for Lazarus.
Source Editor (or Object Inspector or Messages etc.) is focused.
I run app. using F9.
When app. active, I close it, by click to [X] or by Alt+F4.
I can see Source Editor sometimes focused for a fraction of second (blink
I knw it but I always thought it is by design.
V.
__
Od: AlexeyT via Lazarus
Komu: Lazarus mailing list
Datum: 13.02.2018 20:22
Předmět: [Lazarus] IDE loose func default param on class completion
On class completion (ctrl+shift+c?)
func default param on class completion
On Tue, 13 Feb 2018 22:26:28 +0100
Vojtěch Čihák via Lazarus wrote:
> I knw it but I always thought it is by design.
It should remove default values from implementation, not from interface.
Mattias
--
___
Laza
Hi,
don't you know what does this output mean (in Console In/Output, not in
Messages): WARNING: TResourceCacheItem.IncreaseRefCount 1000 TFontHandleCache ?
Thanks,
V.
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazaru
Hi,
I can simulate this on Qt in several ways:
1) select two components on different tabs of page control, one of them will be
ghost
2) some components can be hidden behind other, it is caused by wrong Z-order,
for example TSpeedButton behind enlarged non-transparent TLabel or TStaticText.
and
Hi,
I just tested. Active Form always returns Focused False. Use property Active
instead.
Result := (FControl is TCustomForm) and TCustomForm(FControl).Active;
V.
__
Od: Lubos Pintes via Lazarus
Komu: laza...@lists.lazarus.freepasc
Hi,
I found bug in Lazarus 1.9 (Lazarus 1.9.0 r57442M FPC 3.1.1 x86_64-linux-qt).
Properties of type Float are not streamed to *.lfm when theirs value =0.
It is not problem with for example TFloatSpinEdit where is "default" =0 (default means
"value set in constructor" here, since floats cannot
Reported: https://bugs.freepascal.org/view.php?id=33348
It happens with FPC 3.1.1 only, 3.0.4 works fine, so I reported it to FPC
mantis.
V.
__
Od: Vojtěch Čihák via Lazarus
Komu: Lazarus mailing list
Datum: 06.03.2018 20:27
Hi,
you can do it for Qt applications, just run Lazarus (or any Laz. project built
as Qt) as:
./lazarus -stylesheet mydarkstyle.qss
where mydarkstyle.qss must be valid Qt Style Sheet file, see:
http://doc.qt.io/archives/qt-4.8/stylesheet.html#stylesheet
V.
___
Hi,
DoContextMenu(...) cannot work, this method only manages OnContextPopup event.
Perform(LM_CONTEXTMENU, 0, 0) (or SendMessage or PostMessage) works here (Qt).
Handle must have assigned PopupMenu and it needs correct parameters, not just
(...,0, 0) which shows Popmenu in the top-left screen
Hello,
I noticed that wiki pages
http://wiki.freepascal.org/Lazarus_Application_Gallery and
http://wiki.freepascal.org/Projects_using_Lazarus become too comprehensive and
therefore obuscated. Especially the second should/can be separated to more
pages - Components and Libraries, Multimedia, G
Hello,
native TColorDialog in Qt4 has slider and edit for Alpha channel but this value
is never in the result (i.e. TColorDialog.Color property). TColor uses upper 8
bits for other purposes than alpha.
V.
__
Od: Michael Van Canneyt
Hi,
I tried two items from Lazarus Edit menu: Select to Brace and Select Code
Block. Both seem do nothing. Are they broken? I didn't use them before so I
expexted they would do what their name say. I have Lazarus 1.9.0 r57693M FPC
3.1.1 x86_64-linux-qt.
Thanks
V.
--
__
Hi,
ad 1: I never tried two level collection. Are they all published (both
collections and their items)?
ad 2: You can do (in your component editor) something like:
var aHook: TPropertyEditorHook;
begin
...
aHook:=nil;
if not GetHook(aHook) then exit;
...
//add or insert:
.org
Datum: 26.04.2018 18:35
Předmět: Re: [Lazarus] Selection block/brace
On 25/04/2018 03:01, Vojtěch Čihák via Lazarus wrote:
> Hi,
>
> I tried two items from Lazarus Edit menu: Select to Brace and Select Code Block. Both seem do nothing. Are they broken? I didn't use them before so
Hi,
it works here for GTk2, i.e. normal main form + fsStayOnTop form (a tool
window).
I have Plasma (KDE). Isn't it related to your window manager?
V.
__
Od: AlexeyT via Lazarus
Komu: Lazarus mailing list
Datum: 28.04.2018 12:19
Pře
Hi,
I changed line 7:
TElement = record
strr: String;
end;
TList = array[0..1] of TElement; //HERE
Plist = ^TList;
and demo works. Simply, static and dynamic arrays are not the same.
AFAIR, dynamic array is just pointer while static array are data.
I guess someone else will g
Hi,
this is very probably issue https://bugs.freepascal.org/view.php?id=30010 -
resolved in meanwhile.
You wrote that you use two versions of Lazarus. Does it happen in the newer
1.8.2 too? I don't know if the fix is there.
V.
__
Yes, even on my first PC - Commodore 64 - it was "cursor". Therefore it is
stupid that Delphi named that property Cursor: TCursor and it means image of mouse
pointer.
V.
__
Od: Graeme Geldenhuys via Lazarus
The "text cursor" has b
Hi,
I have application where user can choose size of toolbars, i.e. I have several
image lists named IL16, IL20, IL24, IL32, IL48 and I switch them in property
TToolBar.Images. In meanwhile, TImageList was redesigned to work with hi-DPI
desktops.
Now, I can load more images to each imagelist,
, 56, 64 and 80.
How should I do it?
V.
__
Od: Ondrej Pokorny via Lazarus
Komu: lazarus@lists.lazarus-ide.org
Datum: 23.05.2018 17:33
Předmět: Re: [Lazarus] New Image Lists question
On 23.05.2018 16:07, Vojtěch Čihák via Lazarus wrote
azarus
Komu: lazarus@lists.lazarus-ide.org
Datum: 23.05.2018 19:20
Předmět: Re: [Lazarus] New Image Lists question
On 23.05.2018 19:18, Vojtěch Čihák via Lazarus wrote:Thanks, I saw the demos, I
see now how it works. But how can I add multiple resolution to ImageList? Is it
possible only with s
__
Od: Ondrej Pokorny via Lazarus
Komu: lazarus@lists.lazarus-ide.org
Datum: 23.05.2018 19:43
Předmět: Re: [Lazarus] New Image Lists question
On 23.05.2018 19:35, Ondrej Pokorny via Lazarus wrote:On 23.05.2018 19:29,
Vojtěch Čihák
__
Od: Ondrej Pokorny via Lazarus
Komu: lazarus@lists.lazarus-ide.org
Datum: 23.05.2018 19:43
Předmět: Re: [Lazarus] New Image Lists question
On 23.05.2018 19:35, Ondrej Pokorny via Lazarus wrote:On 23.05.2018 19:29,
Vojtěch Čihák via Lazarus wrote:But I need to add images at design-time via
I have one more question: do I understand well that ImageList stores basic
resolution uncompressed in node Bitmap and all other resolutions compressed in
node BitmapAdv?
Thanks,
Vojtěch.
__
Od: Ondrej Pokorny via Lazarus
Komu: laz
Hi,
I have often following message when I try to rebuild Lazarus from IDE:
lazarus.pp(167,1) Error: Can't call the resource compiler
"/usr/local/bin/fpcres", switching to external mode
It happens ~last week with trunk: Lazarus 1.9.0 r58270M FPC 3.1.1
x86_64-linux-qt (or qt5).
There's no s
Hi,
now I recompiled successfully after update to Lazarus 1.9.0 r58277M FPC 3.1.1
x86_64-linux-qt
I see many updates related to lazdebuggers. May it be related?
Thanks,
V.
__
Od: Vojtěch Čihák via Lazarus
Komu: Lazarus mailing
Hi,
is there a CodeTool command that can take me directly to procedure/method
implementation?
Example:
function TTreeNode.GetTop: integer;
begin
if TreeView <> nil then
TreeView.UpdateAllTops|; //<-- caret is HERE
Result := FTop;
end;
by default, Ctrl+Shift+Up and Ctrl+Shift+Do
] CodeTools commands question
On Tue, 19 Jun 2018 16:57:11 +0200
Vojtěch Čihák via Lazarus wrote:
Maybe this option helps: "Jump directly to method body"
http://wiki.lazarus.freepascal.org/IDE_Window:_Codetools_Options#Jumping_.28e.g._Method_Jumping.29
<http://wiki.lazarus.freepascal.o
Hi,
what is your browser? I use Falkon, here works both button and enter-key.
V.
__
Od: "Marcos Douglas B. Santos via Lazarus"
Komu: Lazarus mailing list
Datum: 05.07.2018 18:59
Předmět: Re: [Lazarus] Searchable docs online
On Th
Hi,
when I write following code (to force SIGSEGV)
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls;
type
{ TForm1 }
TForm1 = class(TForm)
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
pu
Thank you very much! :-)
__
Od: Martin Frb via Lazarus
Komu: lazarus@lists.lazarus-ide.org
Datum: 13.07.2018 17:20
Předmět: Re: [Lazarus] fpdebug question
On 13/07/2018 16:01, Vojtěch Čihák via Lazarus wrote:Hi,
when I write
Hi,
I tested with Lazarus 1.9.0 r58530M FPC 3.1.1 x86_64-linux-qt. I tried also
with -dDisableUTF8RTL
All works well with two exceptions:
1) folded block is copied folded only in implementation section. In interface
section become unfolded (for example block TForm1 = class(TForm)...)
2) I
Hi,
I tested with Lazarus 1.9.0 r58530M FPC 3.1.1 x86_64-linux-qt. I tried also
with -dDisableUTF8RTL
All works well with two exceptions:
1) folded block is copied folded only in implementation section. In interface
section become unfolded (for example block TForm1 = class(TForm)...)
2) I
PM Vojtěch Čihák via Lazarus
wrote:
> 2) I don't know what is "Column Mode Selection"
Alt-Shift with arrow keys select a column.
Juha
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listin
Hi,
FPC-Pascal list is probably down. Last message in my box is "[fpc-pascal] with in
classes/records" by Sven from yesterday 14:15.
The two replies by Ryan Joseph + my new topic didn't appear in my box although
they are listed in
http://lists.freepascal.org/pipermail/fpc-pascal/2018-Septembe
Hi,
you can use event
procedure TForm1.ComboBox1MouseWheel(Sender: TObject; Shift: TShiftState;
WheelDelta: Integer; MousePos: TPoint;
var Handled: Boolean);
begin
Handled:=True;
end;
this will not scroll the scrollbox when mouse pointer is over combobox, but
ComboBox.ItemIndex will at
Hi, I tested with Lazarus 2.1.0 r59059M FPC 3.3.1 x86_64-linux-qt, Qt 4.8.7 &
libQt4pas 5.2.5, Qt 5.11.1 & libQt5pas 2.6.r57057-1, GTk 2.24.32
V.
__
Od: "Fabio Luis Girardi"
Komu: "Vojtěch Čihák"
Datum: 19.09.2018 12:49
Předmět: Re:
Try set Constraints - set MinHeight=MaxHeight=your calculated height, and the
same for Width.
But it will maybe fool Lazarus autosizing mechanism.
V.
__
Od: "gabor via Lazarus"
Komu: lazarus@lists.lazarus-ide.org
Datum: 19.09.2018 14
TEdit.Autosize does autosizing of edit's Height to its Font (mainly font.size
or font.height). It does not affect edit's Width.
V.
__
Od: "Michael Van Canneyt via Lazarus"
Komu: "Lazarus mailing list" , "AlexeyT"
Datum: 24.09.2018 15
I just tried TStringList(ComboBox1.Items).Duplicates:=dupIgnore; but it does
not work for combo (in Qt4).
V.
__
Od: "Bo Berglund via Lazarus"
Komu: laza...@lists.lazarus.freepascal.org
Datum: 12.10.2018 13:22
Předmět: [Lazarus] Combo
Did you try simply to add "const"?
V.
__
Od: "Bo Berglund via Lazarus"
Komu: laza...@lists.lazarus.freepascal.org
Datum: 13.10.2018 20:43
Předmět: [Lazarus] Can't assign event procedure
What am I doing wrong here?
I have writt
It seems the same here (KDE and Lazarus Qt4). I was able to take screenshot
with Spectacle (rectangular area).
V.
__
Od: "Juha Manninen via Lazarus"
Komu: "Lazarus mailing list"
Datum: 13.10.2018 22:09
Předmět: [Lazarus] Scaling of
Hi,
do you mean that you add control on the form (let's say Button1), then you remove it (in
designer) and line "Button1: TButton;" remains in source editor?
V.
__
Od: "Fabio Luis Girardi via Lazarus"
Komu: "Lazarus mailing list"
Hi,
I noticed that Qt5 automatically adds accerelator keys to TabSheets of
PageControl, i.e. _TabSheet1, T_abSheet2, Ta_bSheet3 etc. which allows
switching tab by Alt+T/A/B.
Is possible to disable this feature? The reason is that I have complex form and
it creates duplicite shortcut Alt+C fo
Hi,
it's funny, text is mirrored.
DebugLn('May the Force be with you.');
writes
.uoy htiw eb ecroF eht yaM
Lazarus 2.1.0 r59610 FPC 3.3.1 x86_64-linux-qt
V.
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.
Hi,
it's caused by 59589
(https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/debugger/pseudoterminaldlg.pp?root=lazarus&r1=59589&r2=59588&pathrev=59589).
V.
______
Od: "Vojtěch Čihák via lazarus"
Komu: &q
console in/output mirrored
On Tue, 20 Nov 2018 17:29:12 +0100
Vojtěch Čihák via lazarus wrote:
> Hi,
>
> it's caused by 59589
> (https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/debugger/pseudoterminaldlg.pp?root=lazarus&r1=59589&r2=59588&pathrev=59589 <htt
Thankś, r.59612 is OK.
V.
__
Od: "Mattias Gaertner via lazarus"
Komu: lazarus@lists.lazarus-ide.org
Datum: 20.11.2018 22:07
Předmět: Re: [Lazarus] Text in console in/output mirrored
On Tue, 20 Nov 2018 18:17:02 +0100
Voj
Hi,
I met strange bug today. I have these lines in .lpr:
...
Application.CreateForm(TFrmMain, FrmMain);
...
Application.CreateForm(TFrmContext, FrmContext);
...
and the order of events in Qt and GTk2 is:
FrmMain.Create
FrmContext.Create
FrmMain.Activate
Today I used tool qtconfig and changed
7 PM zeljko via lazarus > wrote:On 11/25/2018 04:43 PM, Vojtěch Čihák via
lazarus wrote:
> CRASH, because code in OnActivate assumes that FrmContext already exists.
>
> So, Qt4+Plastique has different order of events than Qt4+QtCurve.
>
> Unfortunately, I cannot reproduce
Hi,
sometimes, after I close my project, I got this message dialog: "Failed to wait for
debug event. Errcode: 4".
I can see this in console:
Hint: (lazarus) [TMainIDE.DoRunProject] INIT Note: (lazarus)
[TMainIDE.DoBuildProject] MainBuildBoss.DoCheckIfProjectNeedsCompilation
nothing to be do
TRadioGroup is in unit ExtCtrls. Lazarus, however, adds it automatically to
"uses" when you insert it to form at design-time.
V.
__
Od: "Thomas Crone via lazarus"
Komu: lazarus@lists.lazarus-ide.org
Datum: 11.12.2018 22:58
Předmět: [
Hi,
Lazarus(SVN) at startup tries to write at /etc/fppkg/ where it has no rights.
The same file exists /home/$USERNAME/.fppkg/
Revision 59930 works well yet, revisions 59936 and 59940 are affected.
[v1@nb-msi lazarus]$ ./startlazarus
is a file
TLazarusManager.Run starting /home/v1/Lazarus
ia lazarus:
> On Sun, Dec 30, 2018 at 2:42 PM Vojtěch Čihák via lazarus
> wrote:
>
>> Lazarus(SVN) at startup tries to write at /etc/fppkg/ where it has no rights. The same file exists /home/$USERNAME/.fppkg/
That ain't good.
> There are more issues with r59933: see
>
Hi,
I just did a test. Escape closes automatically any Form displayed with
"ShowModal" (not Show) if there is BitBtn with Kind=bkCancel on that Form. It
works on Delphi7, Lazarus+Qt4 or GTk2.
Edit.OnKeyPress on GoToFrm form contains this code:
if not (Key in [^C,^V,^X,#8,'0'..'9']) then
K
1 - 100 of 139 matches
Mail list logo