Commit Graph

224 Commits

Author SHA1 Message Date
lazarus
efc3f06b00 MG: fixed transient of modal forms
git-svn-id: trunk@865 -
2002-02-09 01:47:09 +00:00
lazarus
3910775314 MG: fixed flickering of modal forms
git-svn-id: trunk@859 -
2002-02-09 01:47:08 +00:00
lazarus
8f8e7c2a31 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@855 -
2002-02-09 01:47:07 +00:00
lazarus
66157c2b17 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@854 -
2002-02-09 01:47:06 +00:00
lazarus
f179bc7742 MG: fixed TPanel and Frame3D
git-svn-id: trunk@850 -
2002-02-09 01:47:05 +00:00
lazarus
b37639ec39 MG: accelerated designer drawings
git-svn-id: trunk@848 -
2002-02-09 01:47:04 +00:00
lazarus
960069d6bd MG: added patch from Andrew
git-svn-id: trunk@843 -
2002-02-09 01:47:03 +00:00
lazarus
b081c0a951 MG: fixed mem leak in TComboBox
git-svn-id: trunk@841 -
2002-02-09 01:47:02 +00:00
lazarus
069da21d6f MG: replaced halt with raiseexception
git-svn-id: trunk@837 -
2002-02-09 01:47:01 +00:00
lazarus
65d4b907d4 Resize cursors in designer.
git-svn-id: trunk@835 -
2002-02-09 01:47:00 +00:00
lazarus
cb40c565c3 MG: fixed calling DestroyHandle if not HandleAllocated
git-svn-id: trunk@833 -
2002-02-09 01:46:59 +00:00
lazarus
8ca757f0f6 MG: removed the 1x1 bitmap from TBitBtn
git-svn-id: trunk@829 -
2002-02-09 01:46:58 +00:00
lazarus
f2c02170fd Cleanups, extended TStatusBar, graphic control cleanups.
git-svn-id: trunk@827 -
2002-02-09 01:46:57 +00:00
lazarus
3425ca1904 MG: gradient fill, minor issues from Andrew
git-svn-id: trunk@825 -
2002-02-09 01:46:56 +00:00
lazarus
246f198a0e MG: added TLabel.WordWrap for gtk-interface from Vincent
git-svn-id: trunk@823 -
2002-02-09 01:46:55 +00:00
lazarus
45b0bd34d0 MG: TListView now works handleless and SetSelection implemented
git-svn-id: trunk@821 -
2002-02-09 01:46:54 +00:00
lazarus
b2b3f03cef MG: scrollingwincontrol from Andrew
git-svn-id: trunk@820 -
2002-02-09 01:46:53 +00:00
lazarus
8ff70eb8c0 Fixed and simplified TRadioButton
git-svn-id: trunk@817 -
2002-02-09 01:46:52 +00:00
lazarus
97ba666b7e MG: fixed streaming visible=false
git-svn-id: trunk@816 -
2002-02-09 01:46:51 +00:00
lazarus
625d865249 Make TComboboxes sort again, including in OI
git-svn-id: trunk@814 -
2002-02-09 01:46:50 +00:00
lazarus
10b0fcfea4 EchoMode for TCustomEdit. emNone not implemented for GTK+, falls back to emPassword
behaviour.

git-svn-id: trunk@811 -
2002-02-09 01:46:49 +00:00
lazarus
db8e61d100 Enabled cursor property + property editor.
git-svn-id: trunk@810 -
2002-02-09 01:46:48 +00:00
lazarus
648351e905 Cleanups plus a fix to TPanel parent/drawing problem.
git-svn-id: trunk@807 -
2002-02-09 01:46:47 +00:00
lazarus
6e5fba456d MG: fixed notebook client area, send messages and minor bugs
git-svn-id: trunk@805 -
2002-02-09 01:46:46 +00:00
lazarus
a5013f860e MG: activated InvalidateControl for TWinControls
git-svn-id: trunk@803 -
2002-02-09 01:46:45 +00:00
lazarus
7b68ee0230 MG: TNotebook is now streamable
git-svn-id: trunk@801 -
2002-02-09 01:46:44 +00:00
lazarus
6cab36934a 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@799 -
2002-02-09 01:46:43 +00:00
lazarus
65f88cab6d Workaround GTK accelerator bug.
git-svn-id: trunk@797 -
2002-02-09 01:46:42 +00:00
lazarus
328ab9b40f MG: improved streaming error handling
git-svn-id: trunk@795 -
2002-02-09 01:46:41 +00:00
lazarus
d526439109 Added shortcut keys to labels
Support for alphabetically sorting the properties
Standardize message and add shortcuts ala Kylix
Published BorderStyle, unpublished BorderWidth
ShowAccelChar and FocusControl
ShowAccelChar and FocusControl for TLabel, escaped ampersands now work.

git-svn-id: trunk@793 -
2002-02-09 01:46:40 +00:00
lazarus
83ece02b83 MG: image support, TScrollBox, and many other things from Andrew
git-svn-id: trunk@791 -
2002-02-09 01:46:39 +00:00
lazarus
f697080808 MG: TNoteBook now starts with no Page and TPage has no auto names
git-svn-id: trunk@789 -
2002-02-09 01:46:38 +00:00
lazarus
bd541db19e MG: double, triple and quad clicks now works
git-svn-id: trunk@788 -
2002-02-09 01:46:37 +00:00
lazarus
80bb95f0d1 MG: fixed destroying combobox
git-svn-id: trunk@785 -
2002-02-09 01:46:36 +00:00
lazarus
aacb5b985f MG: fixed range check error in ampersands2underscore
git-svn-id: trunk@783 -
2002-02-09 01:46:35 +00:00
lazarus
dbd0fcac48 MG: fixed resetting comobobox text
git-svn-id: trunk@781 -
2002-02-09 01:46:34 +00:00
lazarus
e667655f3e MG: added failure exit
git-svn-id: trunk@780 -
2002-02-09 01:46:33 +00:00
lazarus
0986a72b0f MG: MoveWindowOrgEx, Splitted FWinControls/FControls, TControl drawing, Better DesignerDrawing, ...
git-svn-id: trunk@777 -
2002-02-09 01:46:32 +00:00
lazarus
876d96e817 Fixed alignment of multiline TLabel.
Simplified and prettified MessageBoxen.

git-svn-id: trunk@775 -
2002-02-09 01:46:31 +00:00
lazarus
8881110579 Use comboboxes. Use history. Prettify the dialog. Preselect text on show.
Make the findreplace a dialog. Thus removing resiying code (handled by Anchors now anyway).
Make Anchors work again and publish them for various controls.
SelStart and Co. for TEdit, SelectAll procedure for TComboBox and TEdit.
Clean up and fix some bugs for TComboBox, plus selection stuff.

git-svn-id: trunk@773 -
2002-02-09 01:46:30 +00:00
lazarus
349421ad28 MG: fixed TComboBox and InvalidateControl
git-svn-id: trunk@772 -
2002-02-09 01:46:29 +00:00
lazarus
3c89be8141 MG: reduced paint messages and DC getting/releasing
git-svn-id: trunk@770 -
2002-02-09 01:46:28 +00:00
lazarus
664c4ebebf MG: propedits text improvements from Andrew, uncapturing, improved comobobox
git-svn-id: trunk@768 -
2002-02-09 01:46:27 +00:00
lazarus
164859d39c MG: fixed designer component deletion
git-svn-id: trunk@765 -
2002-02-09 01:46:26 +00:00
lazarus
34ab2cdf10 MG: ShortCut support for buttons from Andrew
git-svn-id: trunk@764 -
2002-02-09 01:46:25 +00:00
lazarus
6a19dcfe33 MG: fixed speedbutton in designmode
git-svn-id: trunk@761 -
2002-02-09 01:46:24 +00:00
lazarus
4cf549126b MG: fixed unallocated spinedit handle bug
git-svn-id: trunk@759 -
2002-02-09 01:46:23 +00:00
lazarus
0368a16f32 MG: fixed mouse capturing, OI edit focus
git-svn-id: trunk@757 -
2002-02-09 01:46:22 +00:00
lazarus
9e3d612153 MG: fixed double click recognition
git-svn-id: trunk@756 -
2002-02-09 01:46:21 +00:00
lazarus
76ec3220a0 MG: fixed bracket hilighting
git-svn-id: trunk@753 -
2002-02-09 01:46:20 +00:00