Print Page | Close Window

ControlNotify

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=10436
Printed Date: 10 May 2025 at 11:15pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ControlNotify
Posted By: Mr.Den
Subject: ControlNotify
Date Posted: 01 May 2008 at 12:28pm
Is there any documentation for the Code to determine which notification was sent?
 
Public Event ControlNotify( _
   ByVal Control As CommandBarControl, _
   ByVal Code As Long, _
   ByVal NotifyData As Variant, _
   ByRef Handled As Variant _
)
 
with an edit control, I am seeing things like:
 
'Code 256 gotfocus
'Code 512 lostfocus
'Code 768 text change
 
And a combo control:
 
'Code 3 .setfocus to combo from code
'Code 7 getfocus with mouse and drop
 
The above are just first impressions, and may be wrong.
 
Any enumeration for the code values would be great
 
Jim AKA Mr.Den



Replies:
Posted By: Aaron
Date Posted: 04 May 2008 at 7:19am
Hi,
 
I totally agree. This is a "plug and pray" event
 
In the beginning I wanted to use it and got major errors (did I do something wrong???? I can't tell if I don't know how I have to deal with it) and if there's no documentation what to expect from the event, you are "afraid" of using it.


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net