Commit Graph

59 Commits

Author SHA1 Message Date
rich2014
f484dd2af3 Cocoa: decouple CocoaCustomControl from CocoaPrivate unit to CocoaCustomControl unit 2024-08-23 00:32:37 +08:00
rich2014
ac6d122b39 Cocoa: avoid unexpected changes in the focus control during TabControl update 2024-08-17 23:13:21 +08:00
rich2014
bf65ea023c Cocoa: remove some unit comments 2024-07-29 20:21:18 +08:00
rich2014
b1e0da3394 Cocoa: remove circular unit references, add CocoaCallback/CocoaListView/CocoaWSListView unit 2024-07-28 22:41:11 +08:00
rich2014
8e1a3f0d02 Cocoa: Fix #40939 arithmetic overflow in TabControl 2024-05-12 16:24:38 +08:00
rich2014
0bd3e44eb4 Cocoa/TabControl: improve Robustness 2023-12-16 18:09:06 +08:00
rich2014
312a73b6b7 Cocoa: move const from CocoaTabControls to CocoaConst 2023-11-21 18:28:48 +08:00
rich2014
0a9f5cb472 Cocoa/CrossRef: Remove useless unit references 2023-11-19 18:36:52 +08:00
rich2014
d4af394bac Cocoa/TabControl: clean up 2023-10-14 20:53:22 +08:00
rich2014
0dc0c39f0e Cocoa/TabControl: bug fix in exttabMoveTabViewItem_toIndex() and exttabInsertTabViewItem_atIndex() 2023-10-14 20:53:22 +08:00
rich2014
c34f708ae4 Cocoa/TabControl: exttabRemoveTabViewItem() refactored 2023-10-14 20:53:22 +08:00
rich2014
cbb27a8f6d Cocoa/TabControl: add triggeringByLCL to distinguish whether the operation is triggered by User or Program 2023-10-14 20:53:22 +08:00
rich2014
82d467b50c Cocoa/TabControl: RemovePage() improved 2023-10-14 20:53:22 +08:00
rich2014
70423dd372 Cocoa/TabControl: SetPageIndex() improved 2023-10-14 20:53:22 +08:00
rich2014
0fff5f41d0 Cocoa/TabControl: ReviseTabs() improved 2023-10-14 20:53:22 +08:00
rich2014
f45c278b53 Cocoa/TabControl: exttabMoveTabViewItem_toIndex() and updateVariousIndex() applied 2023-10-14 20:53:22 +08:00
rich2014
2bd05f0474 Cocoa/TabControl: TCocoaTabControl.extselectTabViewItemAtIndex() improved 2023-10-14 20:53:22 +08:00
rich2014
62d199c399 Cocoa/TabControl: TCocoaTabControl.exttabRemoveTabViewItem() improved 2023-10-14 20:53:22 +08:00
rich2014
51f7942433 Cocoa/TabControl: TCocoaTabControl.exttabMoveTabViewItem_toIndex() improved 2023-10-14 20:53:22 +08:00
rich2014
5bfc060093 Cocoa/TabControl: TCocoaTabControl.exttabInsertTabViewItem_atIndex() improved 2023-10-14 20:53:22 +08:00
rich2014
f3add49346 Cocoa/TabControl: TCocoaTabControl.updateVariousIndex() added 2023-10-14 20:53:22 +08:00
rich2014
f7f153694c Cocoa/TabControl: new TCocoaTabControl.attachAllTabs() added 2023-10-14 20:53:22 +08:00
rich2014
e4a5170e36 Cocoa/TabControl: jumping to the First/Last tab supported by the Arrow Button long pressed
Arrow Button pressed longer than NSEvent.doubleClickInterval (usually 0.5 seconds)
2023-10-02 14:37:59 +08:00
rich2014
10862c1cef Cocoa/TabControl: jumping to the First/Last tab supported by Click+ModifierKey
Click the Arrow Button with any key in [Shift,Control,Option,Command]
2023-10-02 14:37:59 +08:00
rich2014
1aaba956ad Cocoa/TabControl: fine-tune the delta value of Bottom, tabs can be shown completely when TabPosition:=tpBottom 2023-09-13 22:38:33 +08:00
rich2014
a65b66983d Cocoa/TabControl: scrolling is supported when TabPosition changed at runtime 2023-09-12 21:38:41 +08:00
rich2014
d65bf5645e Cocoa/TabControl: scrolling is supported when TabPosition:=tpBottom 2023-09-12 21:37:14 +08:00
rich2014
bf6d81c33d Lcl/Cocoa/TabControl: Tabs dragdrop supported 2023-05-22 19:00:24 +08:00
rich2014
8abb468491 Upd: Cocoa: Left/Right Arrow improved in TabControl 2023-05-15 19:52:56 +08:00
Maxim Ganetsky
01d60e2dfd Cocoa: memory leak fixes by David Jenkins, issue #40116 2023-02-27 23:44:23 +03:00
rich2014
97af8d6753 FIX: COCOA: switch to wrong Tab when TabControl is not wide enough (Resize/Prev/Next) 2022-11-15 16:38:21 +00:00
Dmitry Boyarintsev
a1b0518709 Cocoa: fix the callback call for cocoa tabcontrol mouseup event (never happens, but sanity is the best), issue #39731 2022-05-13 00:07:08 +03:00
Dmitry Boyarintsev
7ee95e21d0 Cocoa: only recognizing tab clicks, if they are placed on any of the tab buttons, issue #39731 2022-05-13 00:06:36 +03:00
Dmitry Boyarintsev
cbb2859959 cocoa: making UpdateTabAndArrowVisibility part of the interface 2021-09-30 00:20:16 +03:00
dmitry
2c9df5c82a cocoa: implementing TCocoaWSCustomTabControl.GetTabRect
git-svn-id: trunk@62497 -
2020-01-05 06:34:36 +00:00
dmitry
9bdaa98047 cocoa: calling default NSView lclSetEnabled for tabcontrol
git-svn-id: trunk@61693 -
2019-08-14 12:57:01 +00:00
dmitry
7ffa3b81af cocoa: allowing tab controls to be switched at design time
git-svn-id: trunk@61489 -
2019-06-28 20:05:33 +00:00
dmitry
04d6641daf cocoa: update the proper tab control placement and client dimensions for ShowTabs set to false. #35565
git-svn-id: trunk@61399 -
2019-06-15 21:38:34 +00:00
dmitry
cda71b030d cocoa: updating tabcontrol change notifications
git-svn-id: trunk@61393 -
2019-06-14 19:18:30 +00:00
dmitry
c029e0e53e cocoa: prevent a rangecheck error on adjusting tabs
git-svn-id: trunk@61071 -
2019-04-28 18:04:05 +00:00
dmitry
4c2e6c3028 cocoa: checking the presence of tabview before removing it
git-svn-id: trunk@61070 -
2019-04-28 17:47:45 +00:00
dmitry
aecd84036e cocoa: fix tabVisible for active page. Patch by David Jenkins #35172
git-svn-id: trunk@61009 -
2019-04-18 03:59:20 +00:00
dmitry
11a50ac7d2 cocoa: additional methods (nsview, nscontrol, nsbuttons, nstextfield) for handling fpc issue #34411
git-svn-id: trunk@59331 -
2018-10-21 05:32:52 +00:00
dmitry
a341d94c64 cocoa: workaround for a problem with 64-bit boolean parameter passing (see fpc issue #34411 for details)
git-svn-id: trunk@59329 -
2018-10-21 03:45:35 +00:00
dmitry
b64daa1f84 cocoa: removing tabControl workaround
git-svn-id: trunk@59058 -
2018-09-17 22:43:37 +00:00
dmitry
b3b559273c cocoa: reduce the amount of focus (responders) related code. Process the focus handling in NSWindow only (rather than each control individually). Update tab switch notification to report tab change prior to focus switch
git-svn-id: trunk@59039 -
2018-09-17 01:33:50 +00:00
dmitry
7a0195312f cocoa: preventing NSTabView to appear in chain of responders. That should prevent key event loss. (a very odd cocoa feature)
git-svn-id: trunk@59033 -
2018-09-16 16:43:15 +00:00
dmitry
49c4dbe3c8 cocoa: adding tabcontrols offset to match macOS layout rectangles. #32887
git-svn-id: trunk@58982 -
2018-09-14 02:59:14 +00:00
dmitry
b6dd78878f cocoa: update tab page view resizing for negative sizes
git-svn-id: trunk@58974 -
2018-09-13 20:33:47 +00:00
dmitry
71fdf9349f cocoa: resolve the issue with mouse events not processed by TabControl
git-svn-id: trunk@58645 -
2018-07-28 17:11:20 +00:00