Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 100
Default 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.

***
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Keydown Problem WLMPilot Excel Programming 4 January 11th 08 04:42 PM
Treeview, avoid selecting node on keydown or up RB Smissaert Excel Programming 0 November 4th 05 04:37 PM
keydown event Peter T Excel Programming 0 April 18th 05 02:03 PM
keydown event K Dales[_2_] Excel Programming 0 April 18th 05 12:46 PM
keydown event jim c. Excel Programming 1 October 10th 03 03:16 AM


All times are GMT +1. The time now is 12:52 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"