Commit Graph

1221 Commits

Author SHA1 Message Date
paul
d94f02eac8 lcl: TCustomEdit.Undo, TCustomEdit.CanUndo
win32, qt: TCustomEdit "undo" support

git-svn-id: trunk@15089 -
2008-05-11 05:22:39 +00:00
paul
906fc15355 ide:
- set parent for frame to show its content
- fix frame positioning in the designer

git-svn-id: trunk@15057 -
2008-05-06 07:57:31 +00:00
paul
4a4324c310 win32: dont clear PopupMenu from WindowInfo in GetMenuItemObject - we need to call this function at least twice
git-svn-id: trunk@15018 -
2008-04-30 15:17:08 +00:00
mattias
4e712a00be win32 intf: fixed TWin32WidgetSet.AttachMenuToWindow using the AMenu.Parent instead of AMenu.Owner for handle
git-svn-id: trunk@15016 -
2008-04-29 22:53:21 +00:00
paul
30d1e0adcc set application hint when user selects menu items:
- TMenuItem.IntfDoSelect
- win32, qt, gtk2 implementation

git-svn-id: trunk@15002 -
2008-04-29 07:06:44 +00:00
paul
dbddffe2cb lcl: bidi mode patch from Ido with modifications
git-svn-id: trunk@14991 -
2008-04-27 14:24:22 +00:00
sekelsenmat
4bae6b0476 Implements CaretPos for TCustomEdit and TCustomMemo under win32.
git-svn-id: trunk@14943 -
2008-04-23 20:06:32 +00:00
paul
d0a99f8c64 win32: revert some constraints, restrict progress bar constraint only for themed windows
git-svn-id: trunk@14937 -
2008-04-23 11:55:32 +00:00
paul
8a7e588df6 win32: don't fill bitbtn content with Brush since other button area cannot be painted with color different from system (fixes #0010910)
git-svn-id: trunk@14928 -
2008-04-22 08:40:24 +00:00
sekelsenmat
cfe715b953 Adds minimum height for ProgressBar under win32. Fixes #10626
git-svn-id: trunk@14926 -
2008-04-22 00:16:26 +00:00
vincents
6955ca8ec0 LCL: enabled WindowsUnicodeSupport for fpc 2.2.1 and higher
git-svn-id: trunk@14883 -
2008-04-18 19:14:14 +00:00
paul
1490cecace lcl: improve win32 theme switching (update brushes) (part of 0010030)
git-svn-id: trunk@14861 -
2008-04-17 08:50:07 +00:00
paul
c2db5ffa0f qt: bidimode depends on TControl.UseRightToLeftAlignment, TControl.UseRightToLeftReading,
TContorl.UseRightToLeftScrollBar more than on BidiMode property since that methods are virtual

git-svn-id: trunk@14847 -
2008-04-16 05:51:23 +00:00
marc
bc64373e6d * Made TWSMenu.SetBidiMode the same as TWSWinControl
git-svn-id: trunk@14840 -
2008-04-15 22:06:01 +00:00
paul
217383a60c win32 listview: fix wrong message target when sending LButtonUp, RButtonUp messages (fixes popup menu in ide watch window)
git-svn-id: trunk@14808 -
2008-04-12 16:02:06 +00:00
vincents
9ed9aa3295 win32 interfaces: added some defines to enable unicode support easily.
git-svn-id: trunk@14801 -
2008-04-11 11:22:20 +00:00
paul
af204c1c8f fix ugly typo in code that breaks KeyPress handling on ansi version of win32 lcl
git-svn-id: trunk@14795 -
2008-04-09 10:45:23 +00:00
paul
1b79e32235 fix win32 KeyPress handling - allow passing ansi chars in system cp
git-svn-id: trunk@14789 -
2008-04-09 08:19:35 +00:00
vincents
95e234bd6e win32 interface: improved wm_char handling
git-svn-id: trunk@14770 -
2008-04-07 08:46:39 +00:00
vincents
a0f9e54e9b win32 interface: fixed range check error from C Western (bug #11096)
git-svn-id: trunk@14739 -
2008-04-02 21:54:03 +00:00
paul
8a48e510c8 qt: take Combobox.DropDownCount into account
git-svn-id: trunk@14728 -
2008-04-02 09:29:47 +00:00
vincents
70a8e35b81 win32 interface: disabled sending CN_CHAR to the LCL, if keycode > 127. Values > 255 will be cut of anyway and for 128 - 255, it is better to use OnUTF8KeyPress
git-svn-id: trunk@14720 -
2008-04-01 20:58:11 +00:00
paul
86f7687fe9 lcl: add Widgetset.LCLCapability function and a set for it with only one member for now lcAsyncProcess
ide: don't use AsyncProcess if widgetset is not capable to handle it (this fixes issues with compiling in qt and gtk2 ide under windows)

git-svn-id: trunk@14710 -
2008-04-01 08:46:13 +00:00
vincents
aa9e2a3230 win32 interface: improved Memo.Lines.Assign to preserve SpecialChars
git-svn-id: trunk@14700 -
2008-03-31 22:38:29 +00:00
vincents
0153631ad7 win32 interface: implemented unicode support for SelectDirectoryDialog
git-svn-id: trunk@14697 -
2008-03-31 19:38:55 +00:00
paul
1a4f957576 win32, wince imagelist: fix bug in Move (issue #0011054)
git-svn-id: trunk@14694 -
2008-03-31 01:09:12 +00:00
vincents
8a9d186eba win32 interface: complete unicode version of the openfile and savefile dialog (bug #10918)
git-svn-id: trunk@14661 -
2008-03-26 21:44:17 +00:00
paul
9d77486ba0 simplify code
git-svn-id: trunk@14596 -
2008-03-20 09:26:25 +00:00
paul
9642488f11 statusbar:
- better fix for statusbar jumping (from top to bottom)
- add SizeGrip property and implement it for win32 (0001705)

git-svn-id: trunk@14591 -
2008-03-20 07:27:55 +00:00
paul
f0081cc693 statusbar: draw themed statusbar if themes are enabled (from ThemeManager of Mike Lischke)
git-svn-id: trunk@14589 -
2008-03-20 06:24:42 +00:00
paul
df0c6930b5 TStatuBar:
- publish more events and properties
- allow have any align/anchors
- win32: don't reposition StatusBar to bottom if it have another align (0010386)

git-svn-id: trunk@14588 -
2008-03-20 03:54:21 +00:00
paul
d0f4ce1d1c win32: invalidate groupbox on enable change if themes are active (issue #0007877), misc
git-svn-id: trunk@14528 -
2008-03-15 13:04:21 +00:00
paul
5cbad91fbf win32: formatting
git-svn-id: trunk@14514 -
2008-03-14 07:30:52 +00:00
paul
76f4d692ba win32: check windows version before call of SPI_GETFLATMENU (maybe fixes #0010592)
git-svn-id: trunk@14511 -
2008-03-14 01:46:47 +00:00
paul
24600c2d4e win32 listview:
- workaround eating of LButtonUp message
- send message to LButtonUp, RButtonUp messages to LCL after Down
(fixes issue #0009958)

git-svn-id: trunk@14482 -
2008-03-09 18:47:55 +00:00
paul
a8587506b5 formatting, misc
git-svn-id: trunk@14481 -
2008-03-09 18:45:10 +00:00
paul
67ebf94a2e lcl: remove LM_INSERTTEXT, LM_DELETETEXT (not used in LCL anymore and fixes #0010930)
git-svn-id: trunk@14461 -
2008-03-07 17:09:25 +00:00
paul
2f24df146a formatting, misc
git-svn-id: trunk@14442 -
2008-03-06 06:44:33 +00:00
paul
7bebb27eab messages:
- change messages name from LM_CUTTOCLIP to LM_CUT, LM_COPYTOCLIP to LM_COPY, LM_PASTEFROMCLIP to LM_PASTE, LM_CLEARSEL to LM_CLEAR since they are come from WM_CUT, WM_COPY, WM_CLEAR, WM_PASTE
- assign windows message number to that messages (fixes issue #0010747)

git-svn-id: trunk@14415 -
2008-03-05 03:52:01 +00:00
paul
8f523aab33 - formatting
- misc

git-svn-id: trunk@14414 -
2008-03-05 03:29:25 +00:00
paul
d409bf4ad2 decapitalize Constructor and Destructor
git-svn-id: trunk@14378 -
2008-03-03 08:28:46 +00:00
paul
11de6af8b9 decapitalize all procedure and function keywords to make all looks the same
git-svn-id: trunk@14375 -
2008-03-03 08:06:26 +00:00
paul
2b483d841f inline few functions
git-svn-id: trunk@14373 -
2008-03-03 06:39:51 +00:00
paul
921cee3b57 win32: make DrawDefaultDockImage more windows like
git-svn-id: trunk@14372 -
2008-03-03 06:38:54 +00:00
paul
c0c5d656fc win32:
- replace few places where combo edit window has been accessed through GetTopWindow instead of GetComboboxInfo (for csSimple style GetTopWindow assumption is not correct)
- simplify window class name extraction

git-svn-id: trunk@14293 -
2008-02-28 04:41:35 +00:00
paul
929eef8853 win32: fix crash with combos w/o edit (csDropDownList for example)
git-svn-id: trunk@14292 -
2008-02-28 04:39:18 +00:00
tombo
ecb6afce2f IDE implemented compatibility issues:
- added Issues tab to Object Inspector
- added View/Issue browser
- added new package file type - issue xml file
- added Windows and Carbon LCL issues
- added jump back and forward images
- removed TButton and TBitBtn Color property hiding
- set mime type for package images
- added TLCLPlatforms set

git-svn-id: trunk@14287 -
2008-02-27 16:23:28 +00:00
paul
8e4a1950a9 more potential range check errors
git-svn-id: trunk@14253 -
2008-02-26 04:30:37 +00:00
paul
7b7eafc985 fix one range check error, formatting
git-svn-id: trunk@14251 -
2008-02-26 04:04:06 +00:00
paul
85e93e8f14 win32: dont send messages to LCL about internal combobox focus changes (fixes firing OnEnter, OnExit more than once, issue #0007241)
git-svn-id: trunk@14250 -
2008-02-26 03:32:38 +00:00