|
-
Oct 12th, 2015, 03:29 PM
#11
Re: CommonControls (Replacement of the MS common controls)
Important update released fixing the following issue:
 Originally Posted by dreammanor
When I create TreeView Control dynamically, the control can not fire 'NodeClick' event, such as:
Set TreeView1 = Me.Controls.Add("Project1.TreeView", "TreeView1")
The issue was that on dynamically added controls only the "InitProperties" event in the UserControl is fired. Problem was that on some controls the UserControl.hWnd was not subclassed and thus caused some lacks of functionality. Like in your case with 'NodeClick' event not firing. This has been fixed by subclassing the UserControl.hWnd also in the "InitProperties" and not only in the "ReadProperties" event on run-time.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|