View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002599||JEDI VCL||00 JVCL Components||public||2005-02-04 01:40||2005-02-12 09:11|
|Target Version||Fixed in Version||3.00|
|Summary||0002599: OnEnter/OnExit do not occur if JvIPAddress is on the form|
Drop JVCL components on the form and assign their OnEnter/OnExit to show a message box.
See that nothing happens when the focus shifts from one control to the next.
The attached example shows it with two controls, based on latest CVS version.
|Tags||No tags attached.|
onenter_onexit.zip (3,234 bytes)
Solution might be to add
Perform(WM_SETFOCUS, 0, 0);
Don't know why the ip control does not receive a WM_SETFOCUS.
The solution was indeed that, with a little precaution related to mouse focusing (see source for details).
As to why TJvIPAddress does not receive the message in the first place, I suspect it is because the embedded edits are not children of the control from Delphi's point of view.
|2005-02-04 01:40||obones||New Issue|
|2005-02-04 01:40||obones||File Added: onenter_onexit.zip|
|2005-02-04 01:42||obones||Relationship added||parent of 0002564|
|2005-02-05 05:03||remkobonte||Note Added: 0006420|
|2005-02-12 02:58||obones||Assigned To||=> obones|
|2005-02-12 02:58||obones||Status||new => assigned|
|2005-02-12 02:58||obones||Summary||OnEnter/OnExit do not occur for most JVCL Components => OnEnter/OnExit do not occur if JvIPAddress is on the form|
|2005-02-12 09:11||obones||Status||assigned => resolved|
|2005-02-12 09:11||obones||Fixed in Version||=> 3.00|
|2005-02-12 09:11||obones||Resolution||open => fixed|
|2005-02-12 09:11||obones||Note Added: 0006471|