Předmět: Re: [Lazarus] Detect that component selected in OI.
On 22.05.2016 17:37, Vojtěch Čihák wrote:Separating Component Editors is quiet easy but
how can I separate the Hook (SelectionHook method) when I need "self"?
Thanks, V.
For what do you need self? You have the l
ng list <lazarus@lists.lazarus.freepascal.org>
Datum: 22.05.2016 16:10
Předmět: Re: [Lazarus] Detect that component selected in OI.
On 22.05.2016 15:45, Vojtěch Čihák wrote:With a small correction: it must be
hooked only in design time.
constructor TMyTabSheet.Create(TheOwner: TComponent);
begin
OK, thanks.
__
Od: Ondrej Pokorny <laza...@kluug.net>
Komu: Lazarus mailing list <lazarus@lists.lazarus.freepascal.org>
Datum: 22.05.2016 16:21
Předmět: Re: [Lazarus] Detect that component selected in OI.
On 22.05.2016 14
With a small correction: it must be hooked only in design time.
constructor TMyTabSheet.Create(TheOwner: TComponent);
begin
...
if csDesigning in ComponentState then
GlobalDesignHook.AddHandlerSetSelection(@HookSelection);
end;
V.
___
Thank you, Ondrej, it works and it is pretty easy.
Summary:
Let's say you have class TMyPageControl which consists of TMyTabSheet classes
(TWinControls).
uses ... PropEdits, ...;
TMyTabSheet = class(TWinControl)
...
protected
procedure HookSelection(const ASelection:
That's something else. I need something that will be part of component.
Something like overriden SetFocus; or so.
So far I tried CMDesignHitTest and DoEnter but it didn't work.
It's like when you design Form with PageControl and two TabSheets. You select the second
TabSheet in OI and
Hi,
is there some event (message or method) triggered when component is selected in
OI?
It's just like PageControl and its TabSheets. When you select TabSheet in OI,
component
is repainted in form designer. I oberved the code but I didn't find solution.
Thanks, V.
--
And there are two combos "Extra line spacing" and "Extra char spacing" with
predifned values 0, 1, 2. However they accept any value (-4, 5 etc.)
Maybe this feature is hidden for some users.
V.
__
Od: Graeme Geldenhuys
Hi,
part of reason may be that unsatisfied people are usually very loud while
satisfied are usually calm.
Therefore I'd like to say here (loudly) that I was always (and I'm now) happy
in Lazarus and FPC community (forum, ML, bugtracker) and developers and other
people always helped when I
t;lazarus@lists.lazarus.freepascal.org>
Datum: 08.04.2016 14:01
Předmět: Re: [Lazarus] German umlauts in component names
On 04/08/2016 12:24 PM, Vojtěch Čihák wrote:
Why sometimes come these empty mails from jel...@misticnabica.hr?
Is it regular member or some bot?
I think it's hacked ma
Why sometimes come these empty mails from jel...@misticnabica.hr?
Is it regular member or some bot?
V.
__
Od: ""
Komu:
Datum: 08.04.2016 11:31
Předmět: Re: [Lazarus]
Here:
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packager/packagesystem.pas?root=lazarus=51771=51770=51771
V.
__
Od: Maxim Ganetsky
Komu: Lazarus mailing list
Datum:
Hi,
this is user-unfreindly issue in Qt4. When I open form as modal (ShowModal) and
then I open any combobox there, I sometimes want to leave it without change by
Escape key. It closes the combo but at the same time it closes the form. It
does not happen in Gtk2 (i.e. I would have to press Esc
I opened: http://bugs.freepascal.org/view.php?id=29889
Thanks.
__
Od: Bart
Komu: Lazarus mailing list
Datum: 24.03.2016 14:30
Předmět: Re: [Lazarus] Access violation
Hi,
I got "Access Violation" window whenever I try to compile any (even an empty)
project or package.
It comes from r.51977, while r.51976 works well.
Commit description (by Bart):
LazUtf8: firts attempt to rewrite Utf8CompareStr and Utf8CompareText so that
it's results will be more
Hi,
there also must be
P.Canvas.Brush.Style:=bsClear;
before drawing text.
V.
__
Od: Gabor Boros
Komu:
Datum: 16.03.2016 20:27
Předmět: [Lazarus] How to create a
Thanks, it's a nice idea. I think that selecting in listbox by arrow keys is
annoying and slow. i would rather use RadioGroup where the option can be
selected faster by Alt+Key.
V.
__
Od: Ondrej Pokorny
Komu:
Hello,
I released new version of EC-Controls. Announcement is on the forum:
http://forum.lazarus.freepascal.org/index.php/topic,31734.0.html
The main thing is the new tab-control alternative with support for tab stacking
and multiple rows.
Thanks.
--
Probably not your case but when you add manually libs to system (/usr/lib or
/usr/local/lib), you need to run
ldconfig
as superuser in terminal so the system rescans available libraries.
V.
__
Od: Giuliano Colla
Main menu: Source -> Quick Syntax Check
Of course, you can assing some handy shortcut to it.
V.
__
Od: Bo Berglund
Komu:
Datum: 08.02.2016 16:05
Předmět: Re: [Lazarus]
Hmm, really:
http://blog.marcocantu.com/blog/2014_september_dynamic_arrays_delphixe7.html
V.
__
Od: Sven Barth
Komu: Lazarus mailing list
Datum: 06.02.2016 21:40
Hi,
It is a bug? I know this behaviour for a long time and I always believed it is
by design.
V.
__
Od: Mattias Gaertner
Komu:
Datum: 26.01.2016 22:46
Předmět: Re:
Hi,
I just tested and PaintSwastika always paints clockwise swastika (both
religious and nazi symbol).
I vote for keeping procedure but there should be added boolean parameter +
patch for painting anti-clockwise swastika (which is religious symbol only).
Blaazen
Hi,
I guess you can't run Lazarus without this package.
Maybe you need to add some repository, but I have no openSUSE anymore.
Anyway, the package exits:
https://build.opensuse.org/package/view_file?file=gdk-pixbuf_2.24.0-1ubuntu1.dsc=gdk-pixbuf=home%3Atsx-5=69b8579f342e48ebf42537de01eed0e7
Hi,
is there some wiki or other place with list of available defines (for trunk)?
Currently, I have:
Debug
Verbose
WithSynMarkupIfDef
EnableCodeCompleteTemplates
EnableComponentPaletteOptions
WithSynMultiCaret
UseOIThemedCheckbox
but I guess some are obsolete and maybe there are some
exactly is. I only observed that those
components does not implement class procedure WSRegisterClass; override;.
Maybe it is reason?
I am going to report it now.
V.
__
Od: Vojtěch Čihák vojtech.ci...@atlas.cz
Komu: Lazarus mailing list
Reported in http://bugs.freepascal.org/view.php?id=28546
V.
Hi,
so I found revision which broke it. It is 48308 (i.e. 48307 is allright yet). I wonder
why I noticed it so late, probably I didn't use make clean all during updates.
This reversion (and a few revisions around) adds some new
Hello,
this is mystery. TCoolBar and TControlBar disappeared from component palette
and they are not installed in IDE (I am not able to load project which uses
TCoolBar).
But those components are not part of any package, they are part of LCL, I
checked comctrls.pp, the class TCoolBar is
Hi,
your demo works well here. Manjaro Linux. Lazarus 1.5 r49677M FPC 3.1.1
x86_64-linux-qt.
V.
__
Od: Paul Michell p...@michellcomputing.co.uk
Komu: lazarus@lists.lazarus.freepascal.org
Datum: 17.08.2015 12:18
Předmět: [Lazarus]
Add I created code template for it: icr and it writes {$I %CURRENTROUTINE%}
itself :-)
V.
__
Od: leledumbo leledumbo_c...@yahoo.co.id
Komu: lazarus@lists.lazarus.freepascal.org
Datum: 17.05.2015 13:54
Předmět: Re: [Lazarus] New
Wed, 13 May 2015 19:48:56 -0500, Vojtěch Čihák vojtech.ci...@atlas.cz
escribió:
Hi,
I got troubles with TStringGrid. When I set:
goAlwaysShowEditor:=False;
goEditing:=True;
OnSelectEditor is triggered always when I select any cell, even if editor
(built-in or custom) is not shown yet.
When
Hi,
I got troubles with TStringGrid. When I set:
goAlwaysShowEditor:=False;
goEditing:=True;
OnSelectEditor is triggered always when I select any cell, even if editor
(built-in or custom) is not shown yet.
When I click the cell for the second time, editor is shown and OnSelectEditor
is
Hi,
developing TCoolBar wasn't easy, one must deal with LCL austosizing mechanism,
which is very sophisticated.
I know that in design-time is not band-height recalculated immediately. The
reason is mainly I wanted to do CoolBar
efficient and avoid redundant recalculation (LCL triggers many
be difficult.
V.
__
Od: Jesus Reyes jesus...@gmail.com
Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org
Datum: 11.05.2015 22:09
Předmět: Re: [Lazarus] Processing TCoolBar child by IDE
En Mon, 11 May 2015 09:18:01 -0500, Vojtěch
Hi,
what is main form from POV of Lazarus?
I made this demo:
program project1;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
sysutils,
Interfaces, // this includes the LCL widgetset
Forms, Unit1, Unit2, Unit3
{ you can add units after
? :-)
V.
__
Od: Graeme Geldenhuys mailingli...@geldenhuys.co.uk
Komu: lazarus@lists.lazarus.freepascal.org
Datum: 08.05.2015 17:59
Předmět: Re: [Lazarus] What is main form? (Splash question)
On 2015-05-08 16:46, Vojtěch Čihák wrote
.
__
Od: Giuliano Colla giuliano.co...@fastwebnet.it
Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org
Datum: 08.05.2015 20:13
Předmět: Re: [Lazarus] What is main form? (Splash question)
Il 08/05/2015 17:46, Vojtěch Čihák ha scritto
:)
__
Od: Mattias Gaertner nc-gaert...@netcologne.de
Komu: lazarus@lists.lazarus.freepascal.org
Datum: 08.05.2015 21:52
Předmět: Re: [Lazarus] What is main form? (Splash question)
On Fri, 08 May 2015 17:46:10 +0200
Vojtěch Čihák vojtech.ci...@atlas.cz wrote:
Hi,
what is main form from
.
__
Od: Graeme Geldenhuys mailingli...@geldenhuys.co.uk
Komu: lazarus@lists.lazarus.freepascal.org
Datum: 09.05.2015 00:03
Předmět: Re: [Lazarus] What is main form? (Splash question)
On 2015-05-08 20:59, Vojtěch Čihák wrote:
the sleep() was there because
Hi,
Inkscape is excellent open source application for designing vector graphics.
There is also console tool for converting svg-png: rsvg-convert
I use this script which converts all svg files in directory to png images with
various sizes
and places them to directories:
#!/bin/bash
for i in
Hi,
I like current splash (cheetah on the pillar). Its timeless, I wouldn't change
it.
The only aesthetic flaw is that it is a little empty in the middle.
It is problem of Splash screen only.
In About Box - there are written infos about Lazarus, FPC and system, so it
looks fine.
V.
Thanks, start/end bounds did the job.
__
Od: Martin Frb laza...@mfriebe.de
Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org
Datum: 05.05.2015 01:04
Předmět: Re: [Lazarus] User defined markup question
--
I didn't write it explicitly, I want that only LProjects become green while
TGLProjects remain default.
__
Od: Vojtěch Čihák vojtech.ci...@atlas.cz
Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org
Datum: 04.05.2015 22
Hi,
how to setup User Defined Markup in Source Editor so it changes style (color,
bold etc.)? (See screenshot).
There are some properties like Priority or Set Bound at Start/End but I don't
know how to use them properly.
Thanks.
V.
--
___
Hi,
how are invented two-stage shortcuts?
I made a macro (project related, i.e. saved in project session) and I assigned
shortcut CTRL+M, CTRL+J. It worked for a while.
Now when I try it, CTRL+M does nothing (OK), and CTRL+J does not write any
text but Template Completion window is opened
Thanks,
I checked CTRL+M, it is assigned to many macros, CTRL+M,L or CTRL+M, CTRL+L
(i.e. some of them has CTRL in the second stage, others not). All those macros
works.
I tried to restart Lazarus, no effect.
I tried to change the macro from CTRL+M,CTRL+J to CTRL+M,J. After this change,
I opened issue
http://bugs.freepascal.org/view.php?id=27992
__
Od: Martin Frb laza...@mfriebe.de
Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org
Datum: 28.04.2015 19:40
Předmět: Re: [Lazarus] Two stage shortcuts
Wouldn't be enough to close project, manually edit *.lfm file(s) and reopen
project?
I guess *.lfm is the only place which states that Action A belongs to
ActionList B.
V.
__
Od: Torsten Bonde Christiansen t...@epidata.info
Komu:
I just tested on Qt (Lazarus 1.5 r48755M FPC 3.1.1 x86_64-linux-qt)
and works well. Isn't it wrong autosizing of TLabel on GTk2 rather than some
encoding problem?
V.
__
Od: Juha Manninen juha.mannine...@gmail.com
Komu: Lazarus
Thanks,
it does not work. Where should I place such overloaded procedure?
The reason I need it is that the *.xml file is config file so there is a chance
that someone will edit it manually.
Or there is possibility to change declaration from TColor to string.
V.
: Valdas Jankūnas zmu...@gmail.com
Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org
Datum: 14.04.2015 15:02
Předmět: Re: [Lazarus] Strange Alphasort in ListView
2015.04.14 15:34, Vojtěch Čihák rašė:
No, it isn't a bug.
In sources, you can see comment:
function AlphaSort: Boolean
Sort; form protected to public.
What is preferred?
V.
__
Od: Vojtěch Čihák vojtech.ci...@atlas.cz
Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org
Datum: 14.04.2015 15:23
Předmět: Re: [Lazarus] Strange Alphasort
No, it isn't a bug.
In sources, you can see comment:
function AlphaSort: Boolean; // always sorts column 0 in sdAscending order
So if you want other sorting, you must set three sort-related properties:
ListView1.SortColumn:=1;
ListView1.SortDirection:=sdAscending;
Hello,
how to stream TColor in hexadecimal format?
Currently, TColor is streamed as
Color = 5810431
Color = clTeal
in *.lfm or
integer name=ClrDWBCurve value=33023/
ident name=ClrSF2Curve value=clRed/
in *.xml.
How can I stream it in $00FEDCBA format?
In the worst case, I probably
changes in XML?
On 04/09/2015 03:36 PM, Vojtěch Čihák wrote:
Hi,
I am not sure if this XML issue belong to Lazarus or FPC.
I noticed that my app. gives warning Constructing a class TXMLObjectWriter with
abstract method WriteSignature and later crashes.
So I tried demo streamasxmldemo from
Hi,
I am not sure if this XML issue belong to Lazarus or FPC.
I noticed that my app. gives warning Constructing a class TXMLObjectWriter
with abstract method WriteSignature and later crashes.
So I tried demo streamasxmldemo from lazarus/examples and it is the same:
mainunit.pas(109,52)
Hi, I got strange problem I didn't see ever before.
I cannot build Lazarus for Qt. It always falls to GTk2.
I got set Qt in Configure Build Lazarus Dialog and Build with Clean All
option.
I also tried to buid from console: make clean all useride LCL_PLATFORM=qt
but no luck.
Linux
are OK (but I didn't try
BIGIDE).V.__
Od: zeljko zel...@holobit.net
Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org
Datum: 08.04.2015 15:29
Předmět: Re: [Lazarus] Cannot bulid Lazarus Qt
On 04/08/2015 01:41 PM, Vojtěch
, Apr 2, 2015 at 9:44 PM, Vojtěch Čihák vojtech.ci...@atlas.cz wrote:
I'm sure it was this: http://bugs.freepascal.org/view.php?id=23891
http://bugs.freepascal.org/view.php?id=23891
Lazarus 1.4 was branched at 11 of January this year.
The bug was fixed a long before that, thus the fix is included
Yes, already reported by me, 3 years ago :-)
http://bugs.freepascal.org/view.php?id=21982
V.
__
Od: Anthony Walter sys...@gmail.com
Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org
Datum: 07.04.2015 23:16
Předmět:
Hello,
is there some option to auto-close Assembler window when project is stopped?
It is useful when program crashes, but later makes no sense, it is full of
??
??
??
Thanks, V.
--
___
Lazarus mailing list
Hi,
DropDownCount works well in Qt but has no effect in GTk2 (and probably in
Carbon too).
You can also see it in OI, tab Restricted.
V.
__
Od: Donald Ziesig don...@ziesig.org
Komu: Lazarus mailing list
)
On 2.04.2015 14:54, Vojtěch Čihák wrote:
Hi,
You must use:
if ssCtrl in Shift then ...
instead.
That's because mouse-buttons are in Shift too. If you do
Ctrl+right-click, then Shift=[ssRight, ssCtrl]. And possibly something
else (ssCaps).
V
Hi,
You must use:
if ssCtrl in Shift then ...
instead.
That's because mouse-buttons are in Shift too. If you do Ctrl+right-click, then
Shift=[ssRight, ssCtrl]. And possibly something else (ssCaps).
V.
__
Od: FreeMan
Hi,
this is already resolved in trunk.
V.
__
Od: JuuS j...@mykolab.ch
Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org
Datum: 02.04.2015 18:53
Předmět: [Lazarus] Mild bug in 1.4RC2?
Hi all,
I'm working with
in 1.4RC2?
On Thursday, April 2, 2015, Vojtěch Čihák vojtech.ci...@atlas.cz
vojtech.ci...@atlas.cz wrote:
this is already resolved in trunk.
Do you know the revision? Is there a bug report? Maybe it should be merged for
1.4.Juha
Hi,
I ask here because I wasn't enough fast to ask on bugtracker. Issue is already
closed.
About 27762: IDE shows a drag cursor on the coolbar
IMO it was GTk2 issue rather than CoolBar issue, I couldn't reproduce on Qt.
Cursor changing was implemented intentionally, if coolband can be
OK, so the patch is fine.
V.
__
Od: Martin Frb laza...@mfriebe.de
Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org
Datum: 01.04.2015 00:13
Předmět: Re: [Lazarus] Coolbar: IDE shows a drag cursor on buttons
The change
Hi,
On Linux (Lazarus 1.5 r48530M FPC 3.1.1 x86_64-linux-qt) I can drop SynMemo on
form.
Did you build with Clean All ?
V.
__
Od: John Landmesser jmlandmes...@gmx.de
Komu: Lazarus@lists.lazarus.freepascal.org
Datum: 30.03.2015
Hi,
I love the new feature that the editor notebook can display files now in
multiple tab rows
How can I activate this feature? Is it avaiable in Qt? I have Laz. trunk.
Thanks.
V.
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
Hi, I created a trivial demo of pagecontrol with grouped tabs.
Tabs are grouped like it was in Opera12. Holding mouse down opens the menu.
It works on Qt and GTk2.
However, Drag+Drop operations and proper group management is a lot of work.
V.
@lists.lazarus.freepascal.org
Datum: 07.03.2015 18:10
Předmět: Re: [Lazarus] Startup delay of project (Qt)
On 07/03/2015 11:37, Vojtěch Čihák wrote:
Hi,
I have noticed that Qt projects started with F9 have a delay (about ~12 seconds) before the form appears.
Its not only with large projects, its also with small
How can I detect it?
I have Qt 4.8.6 from repositories, it should be standart stable version for
end-users.
__
Od: Martin Frb laza...@mfriebe.de
Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org
Datum: 07.03.2015 18:44
Thanks.
I execued Lazarus in strace but no it gives no special output.
TExternalTool.DoExecute Title=Compile Project, Mode: Default, Target:
project1 Process.CurrentDirectory=/home/v1/tmp/
Executable=/usr/local/bin/fpc Params:
-Tlinux
-Px86_64
-MObjFPC
-Shi
-Cg
-g
-gl
-gh
-l
-vewnhibq
Hi,
I have noticed that Qt projects started with F9 have a delay (about ~12
seconds) before the form appears.
Its not only with large projects, its also with small projects or even empty
forms.
The delay is there even if nothing in project changes and I start it by F9
repeatedly.
When I
You are right, I promised it in december. IIRC it should be in some
UseOIThemedCheckBox define at first. I'll look at it.
V.
__
Od: Juha Manninen juha.mannine...@gmail.com
Komu: Lazarus mailing list
16:42, Vojtěch Čihák wrote:
And I observed (with breakpoints in *.lpr) that the malloc ...
message comes from
Application.Initialize;
fpc 2.6.4 or 3.XX ?
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http
Hi,
I work on app. (~2 lines) and sometimes at startup (10 - 15% cases of
hiting F9) I got this message in console:
malloc(): smallbin double linked list corrupted: 0x010ee860 ***
and it crashes.
(Note that it is only in Qt, the same app. in GTK2 is OK.)
CallStack window
Datum: 23.02.2015 21:03
Předmět: Re: [Lazarus] [Qt] Random issues at startup
On 2015-02-23 09:10, Vojtěch Čihák wrote:
Hi,
I work on app. (~2 lines) and sometimes at startup (10 - 15% cases
of hiting F9) I got this message in console:
malloc(): smallbin double linked list corrupted
And I observed (with breakpoints in *.lpr) that the malloc ... message comes
from
Application.Initialize;
V.
__
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
Hi,
is there some theme for panels in unit Themes?
So far I found ttPane:
// 'Tab' theme data
TThemedTab = (
...
ttPane,
...
);
It looks fine in GTK2 and QtCurve, but it paints nothing in Qt/Oxygen and
filled blue rectangle in Wine.
Thanks,
Vojtěch.
--
So finally there'll be no 2.8 ?
Anyway, it works well. I just updated to 29419 and built it with 2.6.4.
Lazarus compiled well too. Just have Lazarus 1.3 r47310M FPC 3.1.1
x86_64-linux-qt.
Thanks
Vojtěch
__
Od: Marco van de Voort
Hello,
I have a small question about this directive.
If I use: {%MainUnit ../umain.pas}
is it problem when someone will open this project under Windows?
I mean slash / backslash.
I looked here: http://wiki.freepascal.org/IDE_directives, this directive is not
mentioned there.
Thanks.
Hi,
just tested on Qt. My TEdits are also white.
This line:
writeln(ColorToString(Edit1.Brush.Color));
writes out clWindow for default color (clDefault) and clRed for clRed.
Vojtěch
__
Od: Bart bartjun...@gmail.com
Komu:
I use LCLIntf.DrawFocusRect(ACanvas.Handle, aHelpRect); to draw focus rectangle.
So this underlining is oxygen focus rect, which is, OTOH, not used anywhere
else - focused Oxygen checkboxes are like highlighted here.
Thanks for reporting but I have no idea how to solve it.
Vojtěch
@lists.lazarus.freepascal.org
Datum: 30.11.2014 11:02
Předmět: Re: [Lazarus] OI Checkboxes
On 30-11-2014 01:13, Vojtěch Čihák wrote:It looks like flag DT_VCENTER does not
work in Windows.
On the first look, patch is OK. I will test it in Linux soon.
Vojtěch
Yes, I can reproduce with oxygen, probably Oxygen and Air are similar. However,
I don't know how to solve it. My EC-Controls are affected too.
Maybe draw dotted rectangle around with clBtnText color?
Vojtěch
__
Od: FreeMan
, 2014, Vojtěch Čihák vojtech.ci...@atlas.cz
vojtech.ci...@atlas.cz wrote:
TCheckBoxThemed is done:
I added it to LazControls package. Thanks.Would you like to implement the
Boolean editor using your component?Otherwise it will take time as I have other
duties in near future.It should be selectable
checkboxthemed2.png (after patch) and review attached diff file.
Please apply if OK under QT/GTK2.
Sandro
On 29 November 2014 at 21:32, Vojtěch Čihák vojtech.ci...@atlas.cz
vojtech.ci...@atlas.cz wrote:
I'll try it next week.
Vojtěch
__
Od: Juha
Manninen juha.mannine...@gmail.com
juha.mannine...@gmail.com:
On Wednesday, November 26, 2014, Vojtěch Čihák vojtech.ci...@atlas.cz vojtech.ci...@atlas.cz wroteHmm, would such a control be screen-reader friendly? --
Frederic Da Vitoria
(davitof)
Membre de l'April - « promouvoir et défendre le logiciel
OK, I'm starting tp implement it. I will reuse as much code as possible from my
TECSwitch (not deriving, but just Copy-Paste)
because it is, in fact, custom drawn checkbox too.
I will add property Alignment as proposed from Bart and class method for
self-painting for OI purposes.
No idea about
...@gmail.com
Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org
Datum: 26.11.2014 08:42
Předmět: Re: [Lazarus] OI Checkboxes
On Tuesday, November 25, 2014, Vojtěch Čihák vojtech.ci...@atlas.cz
vojtech.ci...@atlas.cz wrote:
If so, then it will never work properly.
It may never be perfect
This is not Linux-Qt related, this is Oxygen related. Other themes work OK.
Hardcoding 1 or 2 pixels is IMO not good idea, it may cause troubles elsewhere.
I tested ThemeServices.GetDetailSize and it gives the same output for
tbCheckBoxCheckedDisabled, tbCheckBoxCheckedNormal and
I found one more issue with Linux-Qt. This one is not Oxygen related.
When the row in OI is selected, Caption is written 1 or 2 pixels higher than in
non selected row. The checkbox itself is OK.
Vojtěch
___
Lazarus mailing list
Hi,
Do I understand correctly that currently
- unselected row paints checkbox + caption via themes, while
- selected row is regular TCheckBox ?
If so, then it will never work properly.
Vojtěch
--
___
Lazarus mailing list
Hi,
I added patch http://bugs.freepascal.org/view.php?id=27030
It (I hope) solves all issues you pointed here.
Vojtěch
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Hi,
with this code:
procedure TToolButton.SetStyle(Value: TToolButtonStyle);
begin
if FStyle = Value then exit;
FStyle := Value;
if Value = tbsSeparator then Width := 10;
if Value = tbsDivider then Width := 5;
InvalidatePreferredSize;
if IsControlVisible then
__
Od: Giuliano Colla giuliano.co...@fastwebnet.it
Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org
Datum: 09.11.2014 17:41
Předmět: Re: [Lazarus] Toolbar divider issues
Il 09/11/2014 15:04, Vojtěch Čihák ha scritto:
Hi,
with this code:
procedure
Hi,
Is there something I need to do to enable this functionality in trunk?
You need to fill a bugreport :-).
I just tested with Lazarus 1.3 r46582M FPC 2.7.1 x86_64-linux-qt and realy,
there is only an empty space instead of list of options.
Vojtěch
Hello,
I don't think it urgently need to be removed.
On the other hand, Lazarus is not consistent. Some windows (Call Stack, Project
Inspector) has icons with captions while others (Watch List, History) are icons
only.
If you will create patch to remove text, please check that all buttons has
1 - 100 of 166 matches
Mail list logo