View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005783||JEDI VCL||00 JVCL Components||public||2012-02-03 22:12||2012-03-12 19:27|
|Product Version||Daily / GIT|
|Target Version||Fixed in Version|
|Summary||0005783: Add feature: JV Docking should notify client TForms when they are docked and undocked.|
|Description||From JVCL newsgroups:|
I am willing to add the following feature to JvDocking...
Saw this question on StackOverflow:
TForm has events OnUnDock and OnEndDock, but these are not fired when Jedi
JvDocking does a dock or undock operation. There are also no "on dock" or
"on float" events available anywhere in the code. This seems like a design
oversight by the original Chinese Delphi developers who contributed the
original JvDocking code, which I have done some improvements on.
My answer is that JvDocking does not support it, but I can fix it so it
does. Any JVCL devs have an opinion on this? SHould I fix it?
In short, the JvDocking code in JvDockSupportControl.pas needs to check for
Dock Client = TForm, and check if TForm.OnUnDock is assigned, and if so,
fire an event so that the form is notified that it is being undocked. Same
approach will work for Docking.
OBones replied; Go ahead.
|Tags||No tags attached.|
||Comitted change as revision 13273|
||Please report any JvDocking issues to me via email firstname.lastname@example.org for quicker attention since I only rarely check mantis or the newsgroup.|
|2012-02-03 22:12||wpostma||New Issue|
|2012-02-03 22:12||wpostma||Assigned To||=> wpostma|
|2012-02-22 15:07||obones||Status||new => confirmed|
|2012-03-12 19:26||wpostma||Note Added: 0019661|
|2012-03-12 19:27||wpostma||Note Added: 0019662|
|2012-03-12 19:27||wpostma||Status||confirmed => resolved|
|2012-03-12 19:27||wpostma||Resolution||open => fixed|
|2012-03-12 19:41||wpostma||Relationship added||related to 0005023|