Commit Graph

909 Commits

Author SHA1 Message Date
lazarus
45a54d0346 MG: fixes for fpc1.1
git-svn-id: trunk@2105 -
2002-08-17 23:40:57 +00:00
lazarus
a63c3bf7c7 AJ: Partial HintWindow Fix; Added Screen.Font & Font.Name PropEditor; Started to fix ComboBox DropDown size/pos
git-svn-id: trunk@2102 -
2002-08-17 23:40:56 +00:00
lazarus
3cfa4548fb MG: added paint messages for some gtk internal widgets
git-svn-id: trunk@2101 -
2002-08-17 23:40:56 +00:00
mattias
c01ac3a4da reduced speedbutton invalidates, added TCanvas.Frame
git-svn-id: trunk@2100 -
2002-08-17 23:40:56 +00:00
mattias
3d9c75633e implemented TMemo.SelLength, improved OI hints
git-svn-id: trunk@2098 -
2002-08-17 23:40:56 +00:00
mattias
0c16169447 fixed clipboard waiting and kwrite targets
git-svn-id: trunk@2096 -
2002-08-17 23:40:55 +00:00
lazarus
6a4f825241 MG: fixed uncapturing of mouse
git-svn-id: trunk@2094 -
2002-08-17 23:40:55 +00:00
lazarus
2b3ce4681a MG: fixed client origin coordinates
git-svn-id: trunk@2092 -
2002-08-17 23:40:55 +00:00
mattias
831bce3844 reduced focus handling and improved focus setting
git-svn-id: trunk@2091 -
2002-08-17 23:40:55 +00:00
mattias
f2b2481e53 fixed synedit mouse pos to logical column
git-svn-id: trunk@2090 -
2002-08-17 23:40:54 +00:00
lazarus
857e635e3c MG: fixed stopping keypress event if handled by LCL
git-svn-id: trunk@2089 -
2002-08-17 23:40:54 +00:00
mattias
3de794c373 set transient forms with Screen object order
git-svn-id: trunk@2087 -
2002-08-17 23:40:54 +00:00
lazarus
dba5b08be2 MG: made mouse capturing more strict
git-svn-id: trunk@2086 -
2002-08-17 23:40:54 +00:00
lazarus
45e5195ad2 MG: fixed stopping keypress event if handled by LCL
git-svn-id: trunk@2084 -
2002-08-17 23:40:53 +00:00
mattias
ab650debf3 fixed synedit ensure cursor pos visible with tab chars
git-svn-id: trunk@2083 -
2002-08-17 23:40:53 +00:00
mattias
92282e4044 improved focus debugging output
git-svn-id: trunk@2081 -
2002-08-17 23:40:53 +00:00
lazarus
a229d698b5 AJ: added forcelinebreaks
git-svn-id: trunk@2080 -
2002-08-17 23:40:53 +00:00
lazarus
d536c331cd MG: from Andrew: style list fixes, autosize for radio/checkbtns
git-svn-id: trunk@2079 -
2002-08-17 23:40:53 +00:00
mattias
e909c7698d clean ups
git-svn-id: trunk@2078 -
2002-08-17 23:40:52 +00:00
mattias
bf771a6de7 removed SetRadioButtonGroupMode
git-svn-id: trunk@2077 -
2002-08-17 23:40:52 +00:00
lazarus
379bf37e81 MG: added paint messages for some gtk internal widgets
git-svn-id: trunk@2075 -
2002-08-17 23:40:52 +00:00
lazarus
dca4b01b64 MG: improved TComboBox.SetItemIndex
git-svn-id: trunk@2073 -
2002-08-17 23:40:52 +00:00
lazarus
688e139c86 AJ: started GNOME interface & modified gtk interface so everything is public/protected
git-svn-id: trunk@2072 -
2002-08-17 23:40:51 +00:00
mattias
a4134a4191 fixed TRadioGroup.ItemIndex=-1
git-svn-id: trunk@2071 -
2002-08-17 23:40:51 +00:00
lazarus
ea233b19f2 MG: no OnChange event when app sets Text of TComboBox
git-svn-id: trunk@2070 -
2002-08-17 23:40:51 +00:00
mattias
2de2d41d0a fixes for win32 listbox/combobox from Karl Brandt
git-svn-id: trunk@2069 -
2002-08-17 23:40:51 +00:00
mattias
5fab612e19 fixed setting activecontrol after createwnd
git-svn-id: trunk@2065 -
2002-08-17 23:40:50 +00:00
lazarus
afea81a59f MG: added TComboBox.OnPopup+OnCloseUp+ItemWidth
git-svn-id: trunk@2064 -
2002-08-17 23:40:50 +00:00
mattias
242b61c96f added history to identifier completion
git-svn-id: trunk@2062 -
2002-08-17 23:40:50 +00:00
mattias
ce20604cdd focus fixes, reduced lpi size
git-svn-id: trunk@2061 -
2002-08-17 23:40:49 +00:00
mattias
32858fba0c improved but not fixed transient windows
git-svn-id: trunk@2058 -
2002-08-17 23:40:49 +00:00
lazarus
44a63cfd06 MG: deactivated transient modal forms
git-svn-id: trunk@2057 -
2002-08-17 23:40:49 +00:00
lazarus
811719d1e2 MG: fixed transient of modal forms
git-svn-id: trunk@2056 -
2002-08-17 23:40:48 +00:00
mattias
c520af0c4e xmlcfg deletion, focus fixes
git-svn-id: trunk@2055 -
2002-08-17 23:40:48 +00:00
mattias
57fd163501 implemented transient windows for all cases
git-svn-id: trunk@2054 -
2002-08-17 23:40:48 +00:00
lazarus
1fb70b7da7 MG: fixed flickering of modal forms
git-svn-id: trunk@2051 -
2002-08-17 23:40:47 +00:00
mattias
f7b096bb6a fixed transient windows
git-svn-id: trunk@2050 -
2002-08-17 23:40:47 +00:00
mattias
e5395755d3 cleanup
git-svn-id: trunk@2048 -
2002-08-17 23:40:47 +00:00
mattias
57973ac038 added more Delphi win32 compatibility functions
git-svn-id: trunk@2046 -
2002-08-17 23:40:46 +00:00
mattias
409cb9b734 added TControl.HandleObjectShouldBeVisible
git-svn-id: trunk@2045 -
2002-08-17 23:40:46 +00:00
lazarus
de73023577 MG: added DoSaveAll before CloseAll
git-svn-id: trunk@2044 -
2002-08-17 23:40:46 +00:00
mattias
f7dd7796e0 added visiblechanging
git-svn-id: trunk@2042 -
2002-08-17 23:40:45 +00:00
mattias
638395d2fc changes for fpc 1.1
git-svn-id: trunk@2041 -
2002-08-17 23:40:45 +00:00
lazarus
85b0cec36c MWE: Applied patch from "Andrew Johnson" <aj_genius@hotmail.com>
Patch includes:
    -fixes Problems with hiding modal forms
    -temporarily fixes TCustomForm.BorderStyle in bsNone
    -temporarily fixes problems with improper tabbing in TSynEdit

git-svn-id: trunk@2040 -
2002-08-17 23:40:45 +00:00
mattias
c33be71941 added included by to unitinfo and a few win32 functions
git-svn-id: trunk@2039 -
2002-08-17 23:40:44 +00:00
mattias
8e6f4e3b2e localized gtk interface
git-svn-id: trunk@2038 -
2002-08-17 23:40:44 +00:00
lazarus
7db6cc75a8 MWE: Applied patch from "Andrew Johnson" <aj_genius@hotmail.com>
Here is the run down of what it includes -

 -Vasily Volchenko's Updated Russian Localizations

 -improvements to GTK Styles/SysColors
 -initial GTK Palette code - (untested, and for now useless)

 -Hint Windows and Modal dialogs now try to stay transient to
  the main program form, aka they stay on top of the main form
  and usually minimize/maximize with it.

 -fixes to Form BorderStyle code(tool windows needed a border)

 -fixes DrawFrameControl DFCS_BUTTONPUSH to match Win32 better
  when flat

 -fixes DrawFrameControl DFCS_BUTTONCHECK to match Win32 better
  and to match GTK theme better. It works most of the time now,
  but some themes, noteably Default, don't work.

 -fixes bug in Bitmap code which broke compiling in NoGDKPixbuf
  mode.

 -misc other cleanups/ fixes in gtk interface

 -speedbutton's should now draw correctly when flat in Win32

 -I have included an experimental new CheckBox(disabled by
  default) which has initial support for cbGrayed(Tri-State),
  and WordWrap, and misc other improvements. It is not done, it
  is mostly a quick hack to test DrawFrameControl
  DFCS_BUTTONCHECK, however it offers many improvements which
  can be seen in cbsCheck/cbsCrissCross (aka non-themed) state.

 -fixes Message Dialogs to more accurately determine
  button Spacing/Size, and Label Spacing/Size based on current
  System font.
 -fixes MessageDlgPos, & ShowMessagePos in Dialogs
 -adds InputQuery & InputBox to Dialogs

 -re-arranges & somewhat re-designs Control Tabbing, it now
  partially works - wrapping around doesn't work, and
  subcontrols(Panels & Children, etc) don't work. TabOrder now
  works to an extent. I am not sure what is wrong with my code,
  based on my other tests at least wrapping and TabOrder SHOULD
  work properly, but.. Anyone want to try and fix?

 -SynEdit(Code Editor) now changes mouse cursor to match
  position(aka over scrollbar/gutter vs over text edit)

 -adds a TRegion property to Graphics.pp, and Canvas. Once I
  figure out how to handle complex regions(aka polygons) data
  properly I will add Region functions to the canvas itself
  (SetClipRect, intersectClipRect etc.)

 -BitBtn now has a Stored flag on Glyph so it doesn't store to
  lfm/lrs if Glyph is Empty, or if Glyph is not bkCustom(aka
  bkOk, bkCancel, etc.) This should fix most crashes with older
  GDKPixbuf libs.

git-svn-id: trunk@2036 -
2002-08-17 23:40:44 +00:00
mattias
8456870b33 added more windows funcs and fixed jump to compiler error end of file
git-svn-id: trunk@2035 -
2002-08-17 23:40:43 +00:00
mattias
3174e94d47 finshed Make Resourcestring dialog and implemented TToggleBox
git-svn-id: trunk@2033 -
2002-08-17 23:40:43 +00:00
lazarus
703f0b916f MG: added patch from Andrew
git-svn-id: trunk@2032 -
2002-08-17 23:40:43 +00:00
mattias
d7d9155d6f custom controls now support child wincontrols
git-svn-id: trunk@2031 -
2002-08-17 23:40:42 +00:00
lazarus
b92fe41b81 Resize cursors in designer.
git-svn-id: trunk@2029 -
2002-08-17 23:40:42 +00:00
mattias
b99e4f7796 added new ... dialog
git-svn-id: trunk@2028 -
2002-08-17 23:40:42 +00:00
lazarus
f54824f409 MG: renamed designerstr.pas to objinspstrconsts.pas
git-svn-id: trunk@2026 -
2002-08-17 23:40:41 +00:00
mattias
82a79bcc79 improved ExtTxtOut: support for char dist array
git-svn-id: trunk@2025 -
2002-08-17 23:40:41 +00:00
mattias
9d03ecd608 fixed setting TTreeView.ScrollBars
git-svn-id: trunk@2024 -
2002-08-17 23:40:41 +00:00
mattias
fc31a23939 combobox height can now be set, added OI item height option
git-svn-id: trunk@2022 -
2002-08-17 23:40:40 +00:00
lazarus
4bb43f437e MG: gtk mlouse events can now be fetched before or after
git-svn-id: trunk@2021 -
2002-08-17 23:40:40 +00:00
mattias
6655ed568d double byte char font started
git-svn-id: trunk@2020 -
2002-08-17 23:40:40 +00:00
lazarus
58e25a3e72 MG: scrollingwincontrol from Andrew
git-svn-id: trunk@2019 -
2002-08-17 23:40:39 +00:00
mattias
b07c5b226d implemented fsUnderLine for ExtTextOut for gtk
git-svn-id: trunk@2017 -
2002-08-17 23:40:39 +00:00
mattias
c5cc5de28a implemented changing TMenuItem.GroupIndex at runtime
git-svn-id: trunk@2016 -
2002-08-17 23:40:39 +00:00
lazarus
40c4529ddb MG: added multiselection to TTreeView
git-svn-id: trunk@2015 -
2002-08-17 23:40:38 +00:00
mattias
06b1f43748 added Timer patch from Vincent Snijders
git-svn-id: trunk@2013 -
2002-08-17 23:40:38 +00:00
mattias
3f45b7a427 fixed TCustomEdit.SelStart when nothing selected
git-svn-id: trunk@2012 -
2002-08-17 23:40:38 +00:00
mattias
8e135ecbd4 fixed scrolling offset of TScrollingWinControl
git-svn-id: trunk@2011 -
2002-08-17 23:40:37 +00:00
lazarus
c30ed6f2fb EchoMode for TCustomEdit. emNone not implemented for GTK+, falls back to emPassword
behaviour.

git-svn-id: trunk@2009 -
2002-08-17 23:40:37 +00:00
lazarus
ba9a1380a2 MG: fixed TMainMenu creation
git-svn-id: trunk@2008 -
2002-08-17 23:40:37 +00:00
mattias
c8bc6b7ad6 fixed TSpinEdit.Value
git-svn-id: trunk@2007 -
2002-08-17 23:40:36 +00:00
lazarus
f7aeef6c24 MG: fixed gdkwindow checks
git-svn-id: trunk@2006 -
2002-08-17 23:40:36 +00:00
lazarus
2a80832e93 Cleanups plus a fix to TPanel parent/drawing problem.
git-svn-id: trunk@2005 -
2002-08-17 23:40:36 +00:00
lazarus
f8efdc401d MG: fixed LM_LVChangedItem, OnShowHint, small bugs
git-svn-id: trunk@2002 -
2002-08-17 23:40:35 +00:00
mattias
a8fb5c2730 implemented fsStayOnTop+bsNone for forms under gtk (useful for splash)
git-svn-id: trunk@2001 -
2002-08-17 23:40:35 +00:00
lazarus
4dcdd090d2 MG: fixed notebook client area, send messages and minor bugs
git-svn-id: trunk@2000 -
2002-08-17 23:40:35 +00:00
lazarus
f7948ac0f1 MG: fixed Polygon and not winding
git-svn-id: trunk@1999 -
2002-08-17 23:40:34 +00:00
mattias
ddddcfd940 fixed setcolor for streamed components
git-svn-id: trunk@1997 -
2002-08-17 23:40:34 +00:00
lazarus
01d5566007 MG: TNotebook is now streamable
git-svn-id: trunk@1996 -
2002-08-17 23:40:34 +00:00
mattias
c4f54e8a8c clean ups
git-svn-id: trunk@1995 -
2002-08-17 23:40:33 +00:00
lazarus
33c0df6f93 AJ: ignore offset in Polygon Winding, Region/FillRect should take care of it
git-svn-id: trunk@1993 -
2002-08-17 23:40:33 +00:00
lazarus
6a8d07fed4 New dialog for multiline caption of TCustomLabel.
Prettified TStrings property editor.
Memo now has automatic scrollbars (not fully working), WordWrap and Scrollbars property
Removed saving of old combo text (it broke things and is not needed). Cleanups.

git-svn-id: trunk@1992 -
2002-08-17 23:40:33 +00:00
lazarus
17b1955795 MG: fixed GetClipBox
git-svn-id: trunk@1991 -
2002-08-17 23:40:32 +00:00
lazarus
f5f9fc75f5 MG: image support, TScrollBox, and many other things from Andrew
git-svn-id: trunk@1990 -
2002-08-17 23:40:32 +00:00
mattias
9f435a220c fixes for win32 listbox/combobox from Karl Brandt
git-svn-id: trunk@1989 -
2002-08-17 23:40:32 +00:00
lazarus
8b114c41b6 MG: fixed mouse coords on scrolling wincontrols
git-svn-id: trunk@1986 -
2002-08-17 23:40:31 +00:00
lazarus
44be5bffe9 MG: double, triple and quad clicks now works
git-svn-id: trunk@1985 -
2002-08-17 23:40:31 +00:00
mattias
8349a42be9 identifier completion: basically working, still hidden
git-svn-id: trunk@1984 -
2002-08-17 23:40:31 +00:00
mattias
e5a72b3c89 further cleanup
git-svn-id: trunk@1982 -
2002-08-17 23:40:30 +00:00
lazarus
7f7fb2cb15 MG: fixed destroying combobox
git-svn-id: trunk@1981 -
2002-08-17 23:40:30 +00:00
lazarus
2a419eaf2f MG: fixed GetClipBox when clipping region invalid
git-svn-id: trunk@1980 -
2002-08-17 23:40:30 +00:00
lazarus
9c12599844 MG: implemented TControlScrollBar.Size
git-svn-id: trunk@1979 -
2002-08-17 23:40:29 +00:00
mattias
4a7e4840d0 focus fixes, reduced lpi size
git-svn-id: trunk@1978 -
2002-08-17 23:40:29 +00:00
lazarus
7aa2430516 MG: fixed resetting comobobox text
git-svn-id: trunk@1976 -
2002-08-17 23:40:29 +00:00
lazarus
0af33eac34 MG: fixed GetClipBox
git-svn-id: trunk@1975 -
2002-08-17 23:40:28 +00:00
mattias
695d576ca7 xmlcfg deletion, focus fixes
git-svn-id: trunk@1974 -
2002-08-17 23:40:28 +00:00
lazarus
518962c472 MG: MoveWindowOrgEx, Splitted FWinControls/FControls, TControl drawing, Better DesignerDrawing, ...
git-svn-id: trunk@1973 -
2002-08-17 23:40:28 +00:00
lazarus
d76072b95e MG: fixed TComboBox and InvalidateControl
git-svn-id: trunk@1972 -
2002-08-17 23:40:27 +00:00
mattias
debbbef933 fixed SetColor
git-svn-id: trunk@1971 -
2002-08-17 23:40:27 +00:00
lazarus
e3d4a67ca1 MG: fixed return polygon point
git-svn-id: trunk@1970 -
2002-08-17 23:40:27 +00:00
lazarus
fb47c94ac2 MG: reduced paint messages and DC getting/releasing
git-svn-id: trunk@1968 -
2002-08-17 23:40:26 +00:00
mattias
e376417311 added more Delphi win32 compatibility functions
git-svn-id: trunk@1967 -
2002-08-17 23:40:26 +00:00