zeljko
eb25b3d5e7
Gtk2: delay SetSelLength if it's called from OnChange event of TCustomEdit.
...
git-svn-id: trunk@36086 -
2012-03-16 11:26:45 +00:00
zeljko
2ae4a52ad0
Gtk2: implemented Cut,Copy,Paste for WSCustomEdit (TCustomEdit & TCustomMemo).part of issues #9715 and #19106
...
git-svn-id: trunk@36081 -
2012-03-16 09:35:30 +00:00
zeljko
d734ac880e
Gtk2: inform lcl when return pressed on GtkButton, so it can update internal varibles or properties. issue #21483
...
git-svn-id: trunk@36032 -
2012-03-15 13:29:13 +00:00
zeljko
290986b478
Gtk2: cleanup of spinedit code, also added proper cast when control is spinedit. Removed usage of PGtkOldEditable
...
git-svn-id: trunk@36019 -
2012-03-15 07:33:58 +00:00
zeljko
9f7ab89220
Gtk2: make selstart for GtkEntry setting consistent with other ws. issue #11802
...
git-svn-id: trunk@35596 -
2012-02-26 09:59:33 +00:00
zeljko
3389d8edaa
Gtk2: fixed GetDroppedDown result for gtk2 < 2.10. Property "popup-shown" was introduced in gtk2 2.10, so anything below 2.10 doesn't work.
...
git-svn-id: trunk@35209 -
2012-02-07 09:16:49 +00:00
zeljko
8d96082dc1
Gtk2: fixed font changing on TCheckBox & TRadioButton
...
git-svn-id: trunk@35162 -
2012-02-05 16:33:05 +00:00
zeljko
c63431d8b0
Gtk2: fix accel char in TCheckBox and TRadioButton. issue #21048
...
git-svn-id: trunk@34673 -
2012-01-09 07:51:35 +00:00
blikblum
2d40e8a38c
gtk2: update combo text only if has a edit box
...
git-svn-id: trunk@34414 -
2011-12-25 20:07:31 +00:00
zeljko
f84b0a0a4e
Gtk2: fix inaccurate paint of checkbox and radiobutton when caption is empty. issue #20764
...
git-svn-id: trunk@34261 -
2011-12-18 18:17:53 +00:00
blikblum
b360e5a0bf
gtk2: clear content of combobox when setting ItemIndex to -1
...
git-svn-id: trunk@34097 -
2011-12-10 21:41:49 +00:00
zeljko
7b99f8bda3
Gtk2: ability to change TGroupBox color.Patch by cobines, modified by me. fixes issue #20372
...
git-svn-id: trunk@33030 -
2011-10-22 19:10:21 +00:00
zeljko
acb9636064
Gtk2: TCustomEdit: added CellEditable hook, so it won't focus another control by pressing VK_UP or VK_DOWN. issue #11115
...
git-svn-id: trunk@31562 -
2011-07-04 18:30:57 +00:00
zeljko
7b6d0a6667
Gtk2: do not remove focus chain from combobox container, focusing by tab is fixed using another approach. issue #17662
...
git-svn-id: trunk@31560 -
2011-07-04 16:58:08 +00:00
zeljko
9d6ccb72d3
Gtk2: unset focus chain from combobox container, so it does not select combobox menu button when combobox is editable.
...
git-svn-id: trunk@31558 -
2011-07-04 16:32:18 +00:00
marco
6e953d396f
* small fix that forces type of gtrue to longint. This makes lazarus compatible with both boolean32 based gboolean type (in FPC/trunk since r17923) while keeping compat with the old (longbool, which will remain in 2.4.x)
...
git-svn-id: trunk@31546 -
2011-07-03 20:39:13 +00:00
jesus
3e230c04f9
LCL, gtk/qt, fix scrollbar issues in customcontrols generated since r31447 #ab611393ae, from August Klein, issue #14728
...
git-svn-id: trunk@31483 -
2011-07-01 03:33:50 +00:00
juha
ab611393ae
LCL: fire correct ScrollCodes in TScrollbar.OnScroll event. Patch from August Klein, issue #14728
...
git-svn-id: trunk@31447 -
2011-06-29 00:16:05 +00:00
paul
762aef652a
gtk2: don't show widget by default if it is not requested by TCreateParams (for TCheckBox, TButton, TCombobox, TEdit for now)
...
git-svn-id: trunk@31353 -
2011-06-24 07:36:16 +00:00
zeljko
01f454abce
LCL: introduced TWSScrollBar.SetKind() to avoid usage of RecreateWnd when changing kind of TScrollBar, because it crashes on 64bit installations.Fixed AV with qt and gtk2 under 64bit
...
git-svn-id: trunk@30853 -
2011-05-22 09:53:34 +00:00
juha
88e6da2538
LCL: fix custom draw Combobox. Patch from August Klein, issue #19356
...
git-svn-id: trunk@30792 -
2011-05-18 10:03:37 +00:00
juha
5ee9d4d079
LCL GTK2: fire OnExit event when leaving Combobox. Patch by August Klein, issue #18962
...
git-svn-id: trunk@30564 -
2011-05-05 23:56:49 +00:00
zeljko
ecc941f2f6
Gtk2: fixed bug where combobox returned caret position for selection length. issue #19081
...
git-svn-id: trunk@30185 -
2011-04-04 16:11:17 +00:00
paul
aecfd2f738
lcl: implement TListBox.ScrollWidth:
...
- win32, wince: set/get scrollwidth using LB_SETHORIZONTALEXTENT/LB_GETHORIZONTALEXTENT (issue #0018912 )
- qt, gtk2: don't show listbox horizontal scrollbar by default. show it only when scrollwidth > content area
git-svn-id: trunk@30138 -
2011-04-02 17:30:44 +00:00
juha
5d796b9cbb
LCL: Remove OldShortCut from SetShortCut parameters and add the real shortcut keys there.
...
git-svn-id: trunk@29872 -
2011-03-16 16:53:36 +00:00
juha
4e95f6a390
LCL: Show menu shortcuts also when they are sequencial keys combinations (like Ctrl+Q, B)
...
git-svn-id: trunk@29853 -
2011-03-15 14:05:55 +00:00
juha
01db3bb47c
LCL (mostly), Replace Assert(False... with //DebugLn(... Now Assert can be used for its original purpose again.
...
git-svn-id: trunk@29820 -
2011-03-13 18:21:51 +00:00
zeljko
7077bce83c
Gtk2: fixed vertical centering of text inside readonly combobox. issue #15367
...
git-svn-id: trunk@29686 -
2011-02-27 16:15:14 +00:00
zeljko
9b53bfd7b2
Gtk2: implemented ScrollBars property for TMemo. patch by theo. issue #18735
...
git-svn-id: trunk@29478 -
2011-02-12 08:05:09 +00:00
zeljko
84cd9c95e2
Gtk2: call gtk2ws directly from combobox showhide.Fixes issue #18261
...
git-svn-id: trunk@28783 -
2010-12-20 08:13:46 +00:00
zeljko
2d8d01da6c
Gtk2: fixed font changing on readonly combobox, issue #18206
...
git-svn-id: trunk@28704 -
2010-12-13 15:02:40 +00:00
zeljko
db41426263
Gtk2: fixed crash in TListBox selection handling.Fixes issue #17888
...
git-svn-id: trunk@28287 -
2010-11-17 08:18:10 +00:00
zeljko
650a8ad5d0
Gtk2: fix gtk errors when calling TGtk2WSCustomGroupBox.GetPreferredSize() with nil label. fixes issue #17948
...
git-svn-id: trunk@28269 -
2010-11-16 12:40:01 +00:00
zeljko
99cd9b4bbe
Gtk2: fixed weird behaviour of TListBox selection. Fixes #16972 .
...
git-svn-id: trunk@27968 -
2010-10-30 10:32:05 +00:00
zeljko
9da784edf0
Gtk2: removed unused units.
...
git-svn-id: trunk@27642 -
2010-10-10 18:11:22 +00:00
zeljko
59cfec4d13
Gtk2: implemented GetCaretPos() & SetCaretPos() for TCustomEdit.Patch by Torsten Bonde Christiansen. fixes #17187
...
git-svn-id: trunk@27218 -
2010-08-28 11:45:03 +00:00
zeljko
d0a7a15d11
Gtk2: properly set wordwrap for TGtk2WSCustomMemo. fixes #16875
...
git-svn-id: trunk@26535 -
2010-07-08 20:29:59 +00:00
zeljko
00475aa337
Gtk2: postpone SetSelStart() since selStart can be changed in OnChange event. fixes #16678
...
git-svn-id: trunk@26253 -
2010-06-22 11:55:23 +00:00
marc
46ebaabc7a
gtk-splitup: merged gtk source into gtk2, removed gtk1 ifdefs
...
git-svn-id: trunk@26012 -
2010-06-09 23:01:52 +00:00
zeljko
8c493d95f2
Gtk2: fixed TListBox.TopIndex returning.patch by Evgeny Duryagin, fixes #14613
...
git-svn-id: trunk@25450 -
2010-05-15 21:39:32 +00:00
blikblum
25f7120344
gtk2: use AParams info to set TCustomListBox BorderStyle at handle creation
...
git-svn-id: trunk@25391 -
2010-05-14 03:49:24 +00:00
paul
4f31973425
lcl, gtk2: don't force combobox to have 0 ItemIndex - it needs to be -1 if not really assigned (issue #0016354 )
...
git-svn-id: trunk@25060 -
2010-04-29 03:13:10 +00:00
zeljko
f3ed9e12d7
Gtk2: do not hide event box window, otherwise Z order cannot be setted up for buttons. fixes #11381,#15742
...
git-svn-id: trunk@24293 -
2010-03-30 10:00:30 +00:00
blikblum
ee9e74300f
*gtk2: supress warning in older gtk2 (code to fix the vertical position of the button text)
...
git-svn-id: trunk@24228 -
2010-03-26 19:17:44 +00:00
zeljko
7e24823c22
Gtk2: scrollbar - fixed pagesize calculation, fixes #16001
...
git-svn-id: trunk@24188 -
2010-03-24 11:16:24 +00:00
mattias
ccc0c4846e
gtk2 intf: fixed crash gtk2 combobox: items are initialzed in InitializeWnd, bug #16037
...
git-svn-id: trunk@24084 -
2010-03-18 14:32:06 +00:00
zeljko
3d77cd4d3c
Gtk2: fix for listbox itemindex. fixes #15784
...
git-svn-id: trunk@23966 -
2010-03-12 15:13:57 +00:00
blikblum
3a1ec8cac1
gtk2: initialize inner_border property to nil. Bug #15949
...
git-svn-id: trunk@23925 -
2010-03-10 17:11:29 +00:00
mattias
b4dee09450
gtk2 intf: groupbox: use default frame border until style initialized
...
git-svn-id: trunk@23850 -
2010-03-06 22:35:55 +00:00
paul
b9baabfc09
gtk2: redo clearing of listbox selection (fixes bug #0015627 )
...
git-svn-id: trunk@23695 -
2010-02-12 02:22:04 +00:00