View Issue Details

IDProjectCategoryView StatusLast Update
0004693JEDI VCL00 JVCL Componentspublic2009-04-29 14:25
ReporterChristian_SciberrasAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.36 
Target VersionFixed in Version3.37 
Summary0004693: Moving a selected component on a TJvDesignPanel
DescriptionWhen moving a *selected* component on a TJvDesingPanel *programmatically*, the selection border around the selected component stays at the older place.

Two possible solutions:
-The component/hook also checks for programmatic movement and updates automatically.
-A general purpose procedure called after movement changes (called by the the component's user), which rearranges all borders with selected components.

Included with the report is an image showing the bug with a demo project.

NB: Refreshing or redrawing the form doesn't help: the border control doesn't need redrawing, but repositioning.
PS: Testing done on Delphi 7, WinXP SP3.
TagsNo tags attached.

Activities

2009-02-04 08:25

 

bug.zip (14,407 bytes)

obones

2009-04-29 12:17

administrator   ~0015459

Seeing this quite well, not sure why though.

obones

2009-04-29 13:24

administrator   ~0015461

You can add this line:

JvDesignPanel1.Surface.UpdateDesigner;

It will work. I'm trying to see if it can be automated

obones

2009-04-29 14:25

administrator   ~0015462

This is now fixed in SVN. Use revision 12290 and above and you will not need the addition code.

Issue History

Date Modified Username Field Change
2009-02-04 08:25 Christian_Sciberras New Issue
2009-02-04 08:25 Christian_Sciberras File Added: bug.zip
2009-04-29 12:17 obones Note Added: 0015459
2009-04-29 12:17 obones Status new => confirmed
2009-04-29 13:24 obones Note Added: 0015461
2009-04-29 14:25 obones Note Added: 0015462
2009-04-29 14:25 obones Status confirmed => resolved
2009-04-29 14:25 obones Fixed in Version => Daily / SVN
2009-04-29 14:25 obones Resolution open => fixed
2009-04-29 14:25 obones Assigned To => obones