View Issue Details

IDProjectCategoryView StatusLast Update
0005854JEDI VCL00 JVCL Componentspublic2012-09-10 14:15
ReporterZENsanAssigned Toobones 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformWindowsOSWindows 7 64bitOS Version
Product VersionDaily / GIT 
Target VersionFixed in Version3.46 
Summary0005854: Enabled property is changed inproperly in TJvDBSpinEdit
Descriptionprocedure TJvDBSpinEdit.ActiveChange(Sender: TObject);
begin
  if not (csDesigning in ComponentState) then
    Enabled := FDataLink.Active;
end;

Why Enabled property is changed there? That's absolutely is not normal. You set SpinEdit to Enabled = False in designtime, everything ok. But once you open form in application (dataset opens) your spinedit coincidentally becomes enabled!
TagsNo tags attached.

Relationships

related to 0001814 resolvedremkobonte JvDBDateTimePicker and JvDBDBSpinEdit edit when readonly 

Activities

obones

2012-06-11 17:26

administrator   ~0019850

Please provide the zipped sources of a sample application showing this.

2012-06-12 08:03

 

JvDBSpinEdit.zip (1,260 bytes)

ZENsan

2012-06-12 08:04

reporter   ~0019887

Run application. Editor is disabled as it must be. Now press button (it just opens the dataset). Editor is not disabled anymore.

obones

2012-06-12 17:34

administrator   ~0019935

This comes from this commit:

r7920
remkobonte 22/08/2004 13:54:58
Mantis 0001814: JvDBDateTimePicker and JvDBDBSpinEdit edit when readonly

But that does not make sense to me as I would rather not change anything.
What do you think?

ZENsan

2012-06-13 09:13

reporter   ~0019939

Hm. But this is actually bug. I don't know about that other report (it looks strange a little). If you set control to disabled, it must be always disabled and not change on it's own behalf when it wants.

obones

2012-06-13 14:23

administrator   ~0019953

I agree, it makes no sense.
This has now been removed from SVN

Issue History

Date Modified Username Field Change
2012-04-14 11:50 ZENsan New Issue
2012-06-11 17:26 obones Note Added: 0019850
2012-06-11 17:26 obones Status new => feedback
2012-06-12 08:03 ZENsan File Added: JvDBSpinEdit.zip
2012-06-12 08:04 ZENsan Note Added: 0019887
2012-06-12 09:52 obones Status feedback => acknowledged
2012-06-12 17:32 obones Relationship added related to 0001814
2012-06-12 17:34 obones Note Added: 0019935
2012-06-12 17:34 obones Status acknowledged => feedback
2012-06-13 09:13 ZENsan Note Added: 0019939
2012-06-13 14:23 obones Note Added: 0019953
2012-06-13 14:23 obones Status feedback => resolved
2012-06-13 14:23 obones Fixed in Version => Daily / SVN
2012-06-13 14:23 obones Resolution open => fixed
2012-06-13 14:23 obones Assigned To => obones
2012-09-10 14:15 obones Fixed in Version Daily / SVN => 3.46