Commit Graph

1279 Commits

Author SHA1 Message Date
BDisp
cc7aca4e50 Setting CanFocus also sets TabIndex and TabStop accordingly. 2020-07-07 15:00:36 +01:00
Charlie Kindel
db1186e1a9 Merge pull request #747 from BDisp/listview-reseting
Reset the ListView when the source is defined.
2020-07-06 15:52:49 -07:00
Charlie Kindel
f54b0c4849 Merge pull request #745 from BDisp/view-tab-index-feature
Fixes #742. Added a TabIndex to the View.
2020-07-06 15:51:44 -07:00
Charlie Kindel
24d382f7a8 Merge pull request #693 from tig/idisposable
Adds IDisposable to Responder and implements Dispose pattern throughout
2020-07-06 15:48:51 -07:00
Charlie Kindel
da54dece1f dealt with Removed 2020-07-06 15:42:02 -07:00
BDisp
d07b3fc3ec Fixing an inutile exception. 2020-07-06 22:41:23 +01:00
BDisp
967d55bee6 Merge from #742 2020-07-06 22:34:26 +01:00
Ross Ferguson
5eb5b72658 ComboBox. Fix #742 2020-07-06 22:29:58 +01:00
Ross Ferguson
dedd799710 ComboBox. Wire-up Home/End keys down to listview 2020-07-06 22:29:58 +01:00
Ross Ferguson
94fd180469 ComboBox. Adhere to ListView interface, added:-
SelectedItem (read only) from @BDisp
OpenSelectedItem
2020-07-06 22:29:57 +01:00
Ross Ferguson
d107b085fe ComboBox. Use Clear() instead of Redraw() 2020-07-06 22:29:57 +01:00
Ross Ferguson
4ef53018eb ComboBox hand pick @BDisp changes:-
Test dir more robust "\Windows"
Use ListViewItemEventArgs
2020-07-06 22:29:56 +01:00
Ross Ferguson
f66f426e80 ComboBox. Allow user to set ColorScheme 2020-07-06 22:29:56 +01:00
Ross Ferguson
b1db3a8f97 ComboBox wire source directly to ListView 2020-07-06 22:29:56 +01:00
Ross Ferguson
938c95dbb5 Accomodate changes for PR #724 2020-07-06 22:29:55 +01:00
Ross Ferguson
9b7510cc4c ComboBox. Use SuperView to determine if control has been added to a container view 2020-07-06 22:29:55 +01:00
Ross Ferguson
5e86932413 Correct width/height 2020-07-06 22:29:54 +01:00
BDisp
7fa45e609f Removed Loaded event and changed LayoutComplete event. 2020-07-06 22:29:54 +01:00
Ross Ferguson
174ddbaa88 ComboBox. Supports Unicode. Add dropdown arrow from @BDisp. Support PageUp / PageDown 2020-07-06 22:29:41 +01:00
BDisp
5c74bcae26 Made changes as suggested. 2020-07-06 22:28:19 +01:00
BDisp
2013877cbc Fixes #723 Views now are notified when they are added or removing. 2020-07-06 22:27:23 +01:00
Ross Ferguson
61d51025f8 ComboBox. Bracket single statements. Minor Re-factor 2020-07-06 22:26:53 +01:00
Ross Ferguson
9748970b0a Fix unit test 2020-07-06 22:26:52 +01:00
Ross Ferguson
363367f92e Add constructor that takes a text argument 2020-07-06 22:26:38 +01:00
Ross Ferguson
6531dd1694 Accomodate upstream changes 2020-07-06 22:26:13 +01:00
Ross Ferguson
58b3fa0401 Add constructor that takes a text argument 2020-07-06 22:26:13 +01:00
Ross Ferguson
485c573fab Fixed AllViewsTester.cs crash 2020-07-06 22:26:12 +01:00
Ross Ferguson
b81d43d486 ComboBox multiple fixes. Dim.Fill() incorrectly calculated. List height not resizing. SetSource() not immeadiately updating list. Double click not selecting item. Example now demo resizes with view 2020-07-06 22:26:01 +01:00
BDisp
2f9056acb1 Made changes as suggested. 2020-07-06 22:22:21 +01:00
BDisp
1cb87cbd72 Fixes #723 Views now are notified when they are added or removing. 2020-07-06 22:21:25 +01:00
BDisp
33d4cbc65f Redoing the mysterious disappearances of the Added and Removed events. 2020-07-06 18:44:20 +01:00
BDisp
75d4ff0e7c Added TabIndex and TabStop properties. 2020-07-06 18:33:51 +01:00
BDisp
5741cf3171 Added TabIndex and TabStop properties. 2020-07-06 17:38:09 +01:00
BDisp
f7a2c9e35f Fixes #742. Added a TabIndex to the View. 2020-07-06 17:36:14 +01:00
BDisp
cae0bf57fd Merge branch 'view-tab-index-feature' into listview-reseting 2020-07-06 17:31:09 +01:00
BDisp
b5a6e3bdc4 Added TabIndex and TabStop properties. 2020-07-06 17:29:22 +01:00
Charlie Kindel
4047eb035e merge with master 2020-07-06 08:20:39 -07:00
Charlie Kindel
98e224ad6b Merge pull request #710 from fergusonr/combobox_fixes2
ComboBox multiple fixes
2020-07-06 08:01:29 -07:00
Charlie Kindel
0f64ac6ea9 Merge pull request #724 from BDisp/added-removing-view-events
Fixes #723 Views now are notified when they are added or removing.
2020-07-06 07:58:05 -07:00
Charlie Kindel
82f3122f19 Merge pull request #744 from BDisp/enter-leave-events
Fixes #743. Added View argument to the Enter and Leave events.
2020-07-06 07:47:13 -07:00
Ross Ferguson
7d8f3cac9e Merge branch 'added-removing-view-events' of https://github.com/BDisp/gui.cs into combobox_fixes2 2020-07-06 15:18:55 +01:00
Ross Ferguson
3800a233b3 ComboBox. Fix #742 2020-07-06 13:05:19 +01:00
Ross Ferguson
d464525d61 ComboBox. Wire-up Home/End keys down to listview 2020-07-06 05:06:49 +01:00
BDisp
e0c6067b39 Fixing the Removed test. 2020-07-06 00:45:56 +01:00
BDisp
e8972f43ad Changed to removed because it is safer to perform actions after deletion. 2020-07-06 00:38:07 +01:00
BDisp
f4cae986f3 Gets the height based on the LayoutStyle. 2020-07-05 21:22:11 +01:00
BDisp
fc8ceff025 Merge branch 'enter-leave-events' into view-tab-index-feature 2020-07-05 21:11:54 +01:00
BDisp
7a32bcf6af Fixing some bugs. 2020-07-05 21:10:24 +01:00
BDisp
8cbaed1a37 Preventing SelectedChanged event being fired using a mouse if it isn't needed. 2020-07-05 17:42:20 +01:00
BDisp
06b4459c54 Forgot to check if the source.Count > 0. 2020-07-05 14:55:30 +01:00