![]() |
Here is the syntax for TreeView.KeyDown().
Last year my question of what TreeView's KeyDown event's syntax is was
unanswered. After a lot of trial & error, it is: TreeView1_KeyDown(KeyCode As Integer, ByVal Shift As Integer) VBA help *wrongly* says KeyDown(KeyCode As Integer, Shift As Integer). (And expected syntax KeyDown(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer) is equally wrong. TreeView belongs to MSComCtlLib, not MSForms. MSComCtlLib has no object like "ReturnInteger", etc.) A small repayment for all ye Knights of the Group who've helped me in the past. *** |
All times are GMT +1. The time now is 07:35 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com