Commit Graph

76 Commits

Author SHA1 Message Date
mattias
ec89ef7ef4 lcl: TCustomPage: only allow TCustomTabControl as parent
git-svn-id: trunk@53172 -
2016-10-20 00:10:17 +00:00
ondrej
958c53a72e revert r52338 #e26e156a5c
git-svn-id: trunk@52341 -
2016-05-22 10:06:52 +00:00
ondrej
e26e156a5c LCL: add CM_OBJECTINSPECTORSELECT message (to handle OI selection change). Implement it for TPageControl and TNotebook.
git-svn-id: trunk@52338 -
2016-05-22 09:01:20 +00:00
martin
7bd5a7d326 LCL: PageControl,fix wrong tab highlighted after TabVisible:=True . Issue #0023251
git-svn-id: trunk@42699 -
2013-09-09 10:57:58 +00:00
martin
920a610a6c LCL: PageControl revert Revision: 39883 [" update PageIndex in PageControl after setting TabVisible. Issue #23251 2]. See note 69758 on the issue
git-svn-id: trunk@42624 -
2013-09-05 22:02:31 +00:00
juha
ecd140c985 Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
blikblum
f5e292ac03 lcl: remove redundant checks
git-svn-id: trunk@39884 -
2013-01-19 02:21:58 +00:00
juha
ca2fc53e25 LCL: reapply patch from Chronos to update PageIndex in PageControl after setting TabVisible. Issue #23251
git-svn-id: trunk@39883 -
2013-01-19 00:21:51 +00:00
juha
154caf4c01 Revert "LCL: Update PageIndex in PageControl after setting TabVisible", does not work when IDE is built for GTK2. Issue #23648
git-svn-id: trunk@39869 -
2013-01-17 08:49:36 +00:00
juha
f4b61649a6 LCL: Update PageIndex in PageControl after setting TabVisible. Issue #23251, patch from Chronos
git-svn-id: trunk@39837 -
2013-01-12 23:27:29 +00:00
blikblum
88e6c9630c lcl: minor optimization to checks in TCustomPage
git-svn-id: trunk@39665 -
2012-12-27 21:37:32 +00:00
blikblum
8135432816 lcl: remove obsolete gtk1 workaround in TPageControl (Set TPage.Visible directly). Fixes #23301
git-svn-id: trunk@39661 -
2012-12-27 03:04:03 +00:00
zeljko
0ed18d7c13 LCL: reverted r33958 #32c69a923e since it raises problems
git-svn-id: trunk@33966 -
2011-12-05 07:00:17 +00:00
zeljko
32c69a923e LCL: simplified TCustomPage.VisibleIndex
git-svn-id: trunk@33958 -
2011-12-04 16:54:44 +00:00
sekelsenmat
73542b658a Renames TCustomNotebook to TCustomTabControl, a major breakthrough into fixing the tab-controls
git-svn-id: trunk@31767 -
2011-07-20 14:39:50 +00:00
sekelsenmat
ca84ba2f7f Patch from Hans-Peter, starts fixing TTabControl, from bug #19575
git-svn-id: trunk@31686 -
2011-07-13 12:43:43 +00:00
paul
e3e46a4ce2 lcl: don't crash if TabVisible is set for TTabSheet with no parent
git-svn-id: trunk@31349 -
2011-06-24 02:40:56 +00:00
paul
dda71573f7 lcl: TCustomPage.IsControlVisible, TCustomPage.HandleObjectShouldBeVisible must take TCustomPage.Visible setting into account (Samuel Herzog note in issue #0009344)
git-svn-id: trunk@25406 -
2010-05-14 17:05:56 +00:00
paul
bdab0c4699 lcl: GetTabIndex should return the index of Tab, not the index of Page. Remove SetTabIndex.
git-svn-id: trunk@25329 -
2010-05-12 08:23:49 +00:00
paul
c39c87916a lcl: fix TabVisible handling (issue #0016440)
git-svn-id: trunk@25321 -
2010-05-12 00:29:30 +00:00
paul
340c30848d win32: invalidate pagecontrol client rectangle after the page removing (fixes issue #0014625)
git-svn-id: trunk@25122 -
2010-05-02 04:22:33 +00:00
paul
538910a1bd lcl: formatting
git-svn-id: trunk@25121 -
2010-05-02 04:05:05 +00:00
mattias
ed6915b885 LCL: removed wrong TCustomPage.AdjustClientRect, bug #15205
git-svn-id: trunk@24262 -
2010-03-28 08:38:14 +00:00
paul
aa3aa41889 lcl: change ImageIndex property from Integer to TImageIndex for more components
git-svn-id: trunk@22141 -
2009-10-13 09:53:40 +00:00
paul
dcc7044d85 lcl: formatting
git-svn-id: trunk@20769 -
2009-06-30 11:58:06 +00:00
paul
6af0fb9bc9 lcl: fix asterisk position in the copyright comment
git-svn-id: trunk@19477 -
2009-04-18 04:03:13 +00:00
paul
f02c53c71c merge lcl-smartlink branch:
------------------------------------------------------------------------
r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line

lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar)
------------------------------------------------------------------------
r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL
------------------------------------------------------------------------
r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL (more)
------------------------------------------------------------------------
r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line

changed case true => True
------------------------------------------------------------------------
r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line

fix file case
------------------------------------------------------------------------
r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line

Moved Registration of TCustomCalendar
------------------------------------------------------------------------
r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line

Moved PropertyToSkip for TCalender
------------------------------------------------------------------------
r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line

merge r13913 #999e8b059d
------------------------------------------------------------------------
r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line

cleanup WSCalendar
------------------------------------------------------------------------
r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line

finish with ComCtrls
------------------------------------------------------------------------
r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved ExtCtrls, ExtDlgs
------------------------------------------------------------------------
r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved PropertyToSkip
------------------------------------------------------------------------
r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved StdCtrls
------------------------------------------------------------------------
r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved Buttons
------------------------------------------------------------------------
r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove DirSel
------------------------------------------------------------------------
r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterArrow
------------------------------------------------------------------------
r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line

register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton)
------------------------------------------------------------------------
r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomCheckBox
------------------------------------------------------------------------
r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Forms
------------------------------------------------------------------------
r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomGrid + move of RegisterPropertyToSkip
------------------------------------------------------------------------
r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Menus
------------------------------------------------------------------------
r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for PairSplitter
------------------------------------------------------------------------
r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Spin
------------------------------------------------------------------------
r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomRubberBand
------------------------------------------------------------------------
r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line

remove 2 initialization sections
------------------------------------------------------------------------
r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove TPopupNotifier.png from LCL
------------------------------------------------------------------------
r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line

Reduced Unit-Circles, by moving Register* into WS* units
------------------------------------------------------------------------
r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line

Dummy file for gtk
------------------------------------------------------------------------
r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line

Initial move of gtk1 register
------------------------------------------------------------------------
r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line

Missing dependencies in gtk1 wsfactory
------------------------------------------------------------------------
r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy 
------------------------------------------------------------------------
r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line

moved uses for factory
------------------------------------------------------------------------
r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line

corrected a few accidental "Result := False"
------------------------------------------------------------------------
r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line

removed unused units
------------------------------------------------------------------------
r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line

qt: move RegisterWS calls to qtwsfactory
------------------------------------------------------------------------
r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

wince: move RegisterWS calls to WinCEWSFactory
------------------------------------------------------------------------
r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2
------------------------------------------------------------------------
r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2 / missing units
------------------------------------------------------------------------
r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line

Fixed one return value from register
------------------------------------------------------------------------
r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2 registrations for WinControl
------------------------------------------------------------------------
r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2nd registrations
------------------------------------------------------------------------
r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line

wince: forgotten file
------------------------------------------------------------------------
r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

carbon: move RegisterWSComponent to CarbonWSFactory
------------------------------------------------------------------------
r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------

git-svn-id: trunk@19376 -
2009-04-12 08:46:31 +00:00
paul
81fe22f744 lcl: formatting
git-svn-id: trunk@18549 -
2009-02-04 04:00:16 +00:00
paul
2967687379 lcl: fix visibility of pagecontrol pages after window recreation (bug #0011334)
git-svn-id: trunk@18185 -
2009-01-07 10:55:49 +00:00
paul
37e866d1ea lcl: set caption for TCustomPage even it is has not handle allocated but parent has since page caption belongs to pagecontrol, not the page (bug #0011888)
git-svn-id: trunk@18184 -
2009-01-07 09:53:40 +00:00
paul
4d0461b78b qt: use LCL page index when pass events from widgetset to the LCL (resolves #0012901)
git-svn-id: trunk@18034 -
2009-01-02 10:13:50 +00:00
tombo
d07defa7df LCL carbon: fixed 0012572: Clicking on TPanel, TPage etc causes controls to loose focus
git-svn-id: trunk@17239 -
2008-11-05 16:28:41 +00:00
mattias
3af4740453 LCL: TNotebook: fixed updating FShowing on switching PageIndex by user, fixes invisible controls at designtime
git-svn-id: trunk@15937 -
2008-08-03 19:55:42 +00:00
mattias
fa3e4526c8 LCL: undone renaming pfAdded, pfRemoving
git-svn-id: trunk@15863 -
2008-07-25 09:26:35 +00:00
mattias
4969fb1643 carbon: fixed notebook close page, insert page, setpageindex, bug #11719,#11680, #10171
git-svn-id: trunk@15852 -
2008-07-24 01:35:59 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
tombo
591cd49108 LCL: add or remove page in TabVisible setter only if Parent.HandleAllocated
git-svn-id: trunk@14183 -
2008-02-18 14:44:29 +00:00
paul
5242f5d1c4 lcl: prevent removing neighbor Tab on changing TabVisible
git-svn-id: trunk@12596 -
2007-10-26 09:21:07 +00:00
paul
8039ec242a lcl: TabVisible should not affect control in designer (issue #0009997)
git-svn-id: trunk@12595 -
2007-10-26 06:11:40 +00:00
mattias
5bef34477f LCL: TPage: fixed ReAlign of TPage on leave, resize, return, fixed clean up after delayed resizing when parent controls become visible
git-svn-id: trunk@12488 -
2007-10-16 11:45:36 +00:00
mattias
b514d80686 LCL: fixed removing TCustomPage pfAdded when destroying handle
git-svn-id: trunk@11991 -
2007-09-10 19:23:00 +00:00
mattias
128e9c88d9 gtk1 intf: added check if user choose a directory in TOpenDialog
git-svn-id: trunk@11195 -
2007-05-25 09:01:28 +00:00
mattias
e16a765e54 LCL: reactivated sending uninitialized bounds of TCustomPage to interface
git-svn-id: trunk@11191 -
2007-05-24 08:33:49 +00:00
mattias
d45e62cd1b gtk2 intf: disabled removing callbacks, added GetDefaultClientRect for TPage and TNoteBook
git-svn-id: trunk@11189 -
2007-05-23 23:24:14 +00:00
paul
d90cad2972 - moved DoShow, DoHide, OnShow, OnHide from TTabSheet to TCustomPage (ancestor)
- fireing OnShow and OnHide on page changing

git-svn-id: trunk@10816 -
2007-03-28 04:48:30 +00:00
mattias
6a32d1e029 LCL: TCustomNoteBook, when setting TabVisible of current page switch to another page
git-svn-id: trunk@10585 -
2007-02-05 11:28:26 +00:00
micha
305e2a2521 fix removing last page from tcustomnotebook (issue #7839)
git-svn-id: trunk@10525 -
2007-01-28 15:20:40 +00:00
micha
10aecd20d4 fix TPage.TabVisible icw PageIndex, patch by Luiz (issue #7349)
git-svn-id: trunk@10519 -
2007-01-27 19:23:13 +00:00
mattias
3febf01ee8 LCL: TPage: removing pfAdded after destroying handle issue #7611
git-svn-id: trunk@10184 -
2006-11-10 08:29:49 +00:00
mattias
2c2803d0c2 LCL: TPage: removing pfAdded flag after destroying handle, fixes issue #7428
git-svn-id: trunk@10052 -
2006-10-10 06:55:32 +00:00