mattias
8d92e3b67d
updated makefiles
2023-08-14 20:31:20 +02:00
mattias
ee218d1fa0
lcl: TTreeView: public ScrolledLeft/Top, PathDelimiter
2023-08-14 15:08:23 +02:00
mattias
007fcc3b9d
lcl: added semicolons
2023-08-13 21:46:15 +02:00
wp_xyz
0cbb6646f7
LCL/all units with controls: stream events at the end.
2023-08-12 14:55:46 +02:00
Ondrej Pokorny
44d7786c19
StdCtrls: stream events in the end
2023-08-12 12:28:44 +02:00
Bart
1ca27c4fa5
TaskDialog: TLCLTaskDialog: place controls on 3 different panels. This will make it easier to move the controls
...
when the dialog gets expanded or collapsed (which has yet to be implemented).
2023-08-12 11:45:56 +02:00
Bart
91052758c8
TaskDialog: fix typo in variable/propertyname (collaps -> collapse), as pointed out by Maxim.
2023-08-09 23:00:40 +02:00
Bart
321020750e
TaskDialog: TLCLTaskDialog:
...
- trying to simplify laying out the controls.
- use more meaningfull variable and constant names.
- cut down on "magic numbers".
- try to use the same left margins everywhere (ToDo: right margins).
- simplify calculation the global margins: now only depends on tfEmulateClassicStyle, not on presence of an icon.
- use a slightly smaller left margin for not tfEmulateClassicStyle (16 instead of 24), looks a bit better when compared to native Vista+ dialog.
- more factoring out.
- as a byproduct: resolves issue #40437 .
- less debug output.
2023-08-09 13:39:18 +02:00
Bart
4a98bd92be
TaskDialog: TLCLTaskDialog: right align (Simple)Query with CommandLinkButtons (if these are present).
2023-08-08 23:22:56 +02:00
Bart
d1ac727ad0
TaskDialog: work in progress on expanding/collapsing the emulated dialog.
2023-08-08 18:28:45 +02:00
Bart
70b158940e
TaskDialog: implement OnNavigated (native Windows Vista+ only) and OnHelp.
...
While Delphi has DoOnHelp protected method, it seems they do not have OnHelp (GOKY).
2023-08-08 18:07:06 +02:00
Bart
892cf32728
TaskDialog: implement property CollapsButtonCaption.
...
Delphi does not have this, but the Windows TaskDialogIndirect API has it.
It controls the text next to the Expand/Collaps button if the dialog is in expanded state.
2023-08-07 22:05:30 +02:00
Bart
04df5e253a
TaskDialog: TLCLTaskDialog: start implementing an Expand/UnExand button: not functional yet.
2023-08-07 19:45:32 +02:00
Bart
8e0fb1875f
TaskDialog: LCLTaskDialog: remove debug statement.
2023-08-07 18:39:25 +02:00
Maxim Ganetsky
11130cc6b0
LCL, Win32: cleaned up declarations available in FPC since 3.2.0, patch by lagprogramming, issue #40433
2023-08-07 19:09:28 +03:00
mattias
d78d004b93
lcl: TLCLTaskDialog: do not inherit csdesigning, disable autosizing during setup, less hints
2023-08-07 10:27:09 +02:00
Bart
b64a1b1fe8
TaskDialog: LCLTaskDialog: some more debugln's for issue #40425 .
2023-08-05 23:56:37 +02:00
rich2014
15c606729f
Cocoa: fix the issue when call TCocoaWindow.makeFirstResponder() with nil
2023-08-06 02:00:54 +08:00
mattias
f9709f6d59
lcl: gtk3: clean up
2023-08-05 11:10:16 +02:00
wp_xyz
5f92439334
CustomDrawn: Fix comments (Patch by LagProgramming, https://forum.lazarus.freepascal.org/index.php/topic,64186.msg487506.html )
2023-08-04 19:37:36 +02:00
rich2014
4d033a9af6
Cocoa: make sure to update HintWindow by Invalidate
...
there is a bug in the implementation before, and the content of HintWindow may not be updated.
when the content of HintWindow has changed, but the size of TCocoaWindowContent has not changed, Cocoa did not update TCocoaWindowContentDocument, so THintWindow.Paint() was not called.
2023-08-04 22:51:23 +08:00
Bart
aa1e7fa738
TaskDialog: LCLTaskDialog: cleanup: remove disabled/non-functional code.
2023-08-03 23:13:34 +02:00
Bart
396b72b21a
TaskDialog: handle the paramters in DoOnExpandButtonClicked and DoOnVerificationClicked.
...
Rename event OnExpand to OnExpanded, as it is in Delphi.
2023-08-03 23:06:20 +02:00
zeljan1
dffc3b9594
Qt5,Qt6: fixed Qt version extraction. issue #40426
2023-08-03 10:52:59 +02:00
Bart
64adc6945d
TaskDialog: remove comment in TLCTaskDialog.AddLable: this was apparently fixed in commit 05555c84.
2023-08-03 01:15:46 +02:00
Bart
e06c2e9831
TaskDialog: add debugln statements in TLCTaskDialog.AddLable to investigate issue #40425 .
2023-08-03 00:54:08 +02:00
Bart
9ff95ce2a6
TaskDialog: left-align main icon, footer icon and checkbox in emulated taskdialog.
2023-08-03 00:16:46 +02:00
Bart
a46e62000d
TaskDialog: fix setting focus when tfQueryFocused is set.
...
Give some varibales a mor meningfull name and update some comments regarding those.
2023-08-02 18:00:12 +02:00
rich2014
89c95847d0
Cocoa: code related to doCommandBySelector in TCocoaTextView/TCocoaFieldEditor removed by IME fully supported
2023-08-02 23:33:34 +08:00
rich2014
fdbf58735b
Cocoa: code related to ESC/ENTER in TCocoaFieldEditor removed by IME fully supported
2023-08-02 23:33:34 +08:00
rich2014
773acf5b20
Cocoa: code related to ESC/ENTER in TCocoaTextView removed by IME fully supported
2023-08-02 23:33:34 +08:00
rich2014
5d31c9aebb
Cocoa: fix ESC/ENTER with ModifierFlag handle in TCocoaWindowContent.performKeyEquivalent
2023-08-02 22:21:55 +08:00
rich2014
aeb8dbd099
Cocoa: fix typos
2023-08-02 18:27:45 +08:00
Bart
8d8ea4f2d0
TaskDialog: fix typo in debug writeln in Win32 WS code.
2023-08-01 23:32:23 +02:00
Bart
05e3ea353b
TaskDialog: Add some ToDo in Win32 WS code.
2023-08-01 17:04:07 +02:00
rich2014
777364cdc6
Cocoa: fix a bug in TCocoaWSCustomTabControl.ShowTabs()
2023-08-01 22:59:58 +08:00
rich2014
64aab7afc8
Cocoa: fix cursor calculation issue in TabControl
...
In fact, it is related to the container control with LayoutDelta. currently, only TabControl in Cocoa is affected by this bug.
2023-08-01 22:59:58 +08:00
Bart
a0e0744618
TaskDialog: implement OnHyperlinkClicked and associated property URL. Native Vista+ dialog only.
2023-08-01 16:54:50 +02:00
Bart
b5f0aca3ea
TaskDialog: use DoOnXXX methods to call the event handlers.
...
Also rename some methods of LCLTaskDialog for a bit more consistency.
2023-08-01 16:39:53 +02:00
Bart
d31e76a1f6
TaskDialog: implement OnRadioButtonClicked event.
2023-08-01 15:54:34 +02:00
Bart
a2a14d0641
TaskDialog: Win32 WS: don't let TaskDialogIndirect fail if tfUseCommandLinks is set and no custom buttons ar defined.
2023-08-01 14:47:22 +02:00
Bart
188b9b863d
TaskDialog: add some comments about the meaning of parameters in the callback function for the Win32 WS code.
2023-08-01 12:58:41 +02:00
Bart
70a178c88e
TaskDialog: add OnTimer event.
2023-08-01 11:44:25 +02:00
Bart
213b32e0c7
TaskDialog: add OnExpand event (native Windows dialog only).
2023-08-01 11:06:26 +02:00
Juha
13d54fc4cb
LCL: Refactor Colorbox code. Issue #40376 , patch by n7800.
2023-08-01 11:55:14 +03:00
Bart
5ed01b1884
TaskDialog: TLCLTaskDialog: fix calculation of height of labels. Issue #40421 .
2023-07-31 23:22:59 +02:00
Bart
72376eacf2
TaskDialog: add comment in Win32 WS code about (not yet supported) field of TTaskDialogConfig.
2023-07-31 23:20:43 +02:00
Bart
4be2e3a717
TaskDialog: don't convert '\n' to LineFeed in captions:
...
Reason: a user might set a button or radiobutton caption to 'Save in "c:\new_folder\new.work"'
See also issue #38676
2023-07-31 18:53:33 +02:00
Bart
05c9e4aa76
TaskDialog: implement some Delphi compatible events:
...
- OnDialogConstructed
- OnDialogCreated
- OnDialogDestroyed
- OnVerificationClicked
Part of Issue #31399 .
2023-07-31 17:52:11 +02:00
Bart
0bed0f65a3
TLCLTaskDialog: fix setting default button for emulated taskdialog.
2023-07-31 16:44:01 +02:00