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
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
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
@ You wrote component ECScheme ...
No, I wrote it :-)
__
Od: Vojtěch Čihák via Lazarus
Komu: Lazarus mailing list <lazarus@lists.lazarus-ide.org>
Datum: 03.10.2017 19:32
Předmět: Re: [Lazarus] Mousewheel events on TCustomContro
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
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;
ide.org>
Komu: Lazarus mailing list <lazarus@lists.lazarus-ide.org>
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
<lazarus@lists.lazarus-ide.org> wrote:
.
Juha
--
___
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,
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:
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:
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,
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,
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,
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
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,
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
s.lazarus-ide.org>
Datum: 26.02.2017 19:28
Předmět: Re: [Lazarus] LCL High-DPI request for help adding images
Am 26.02.2017 18:01 schrieb "Vojtěch Čihák via Lazarus" <lazarus@lists.lazarus-ide.org
<lazarus@lists.lazarus-ide.org>>:
>
> I use Inkscape for icons. I
images
On 02/26/2017 10:33 AM, Vojtěch Čihák via Lazarus wrote:Wouldn't be better (or
would it be possible) to have *.svg icons in resources and generate *.png icons
on start of IDE? Now you add 150% and 200%, later will come 250, 300% as 4k, 5k
and 8k monitors come to market.
I agree. I just
Wouldn't be better (or would it be possible) to have *.svg icons in resources
and generate *.png icons on start of IDE? Now you add 150% and 200%, later will
come 250, 300% as 4k, 5k and 8k monitors come to market.
V.
__
Od: Ondrej
.
__
Od: Jürgen Hestermann via Lazarus
Komu: Lazarus mailing list <lazarus@lists.lazarus-ide.org>
Datum: 22.02.2017 12:49
Předmět: Re: [Lazarus] "Procedure list" level depth dependend?
Am 2017-02-22 um 02:32 schrieb Vojtěch Č
Hi,
IMO such sorting is not very handy. TStringGrid is for strings.
Consider what you do:
1) you have some data structure - dates, floats, integers
2) you fill stringgrid with the data
Now you need to sort. You have three possibilities:
1) Sort data structure and fill string grid again - better
Hi,
so far I only found this commented line in LCLType:
// $E9-$F5 OEM specific
V.
__
Od: Bart via Lazarus
Komu: Lazarus mailing list
Datum: 09.02.2017 00:01
Předmět:
Hello, has Lazarus (CodeTools) or FPC some checking for empty commands? I
accidentally did this stupid mistake:
if ... then
begin
...
end else;
begin
...
exit;
end;
Note the semicolon behind the "else".
Semicolon as an empty command is sometimes useful (temporary
I guess we are talking about virtual (abstrat) methods which can be overridden.
V.
__
Od: Vojtěch Čihák via Lazarus
Komu: Bob B. <parkingspac...@yahoo.com>,
Datum: 02.11.2016 01:51
Předmět: Re: [Lazarus] Suggestion for
It is impossible since methods are not part of RTTI. Maybe Code Explerer would
be better place for it.
V.
__
Od: "Bob B. via Lazarus"
Komu: Lazarus Mailing List
Datum:
Hi,
on one hand,
TColor = TGraphicsColor
and
TGraphicsColor = -$7FFF-1..$7FFF;
on the other hand, there are defined colors like
clNone = TColor($1FFF);
clDefault = TColor($2000);
So I'm also curious if its possible *somehow*.
Vojtěch
101 - 126 of 126 matches
Mail list logo