View Issue Details

IDProjectCategoryView StatusLast Update
0003649JEDI VCL00 JVCL Componentspublic2006-04-27 07:37
ReporterchuckjAssigned ToInformatix 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.20 
Target VersionFixed in Version3.30 
Summary0003649: TJvDBMaskEdit edit mask disappears upon entering component during D2006 runtime.
Description1)Define an EditMask for TJvDBMaskEdit at design time in Delphi 2006, e.g. the phone number mask. Point TJvDBMaskEdit at a 13 char database field.
2)Compile and run the program.
3)The edit mask is gone when you go to the field at runtime.
Additional InformationLooking at the source for TJvDBControls, line 837 in TJvDBMaskEdit.DataChange(Sender: TObject) reads:

    EditMask := FDataLink.Field.EditMask;

If you define the EditMask property for the control at design time, this line will wipe out your design time settings. On the other hand, if you somehow have the edit mask defined for the database field, this will work OK. My solution was to comment out this line and recompile. The component then works as I expect it to. I am a newbie at Delphi so the only way I have used EditMask is by defining it at design time.
TagsNo tags attached.

Activities

obones

2006-04-20 00:40

administrator   ~0009151

Please provide the zipped sources of a standalone application with a database so that we can test it.

2006-04-20 09:15

 

DelphiExample.zip (7,206 bytes)

obones

2006-04-21 03:08

administrator   ~0009164

See newsgroup discussion for details:

news://forums.talkto.net:119/e18cl4$3g5$1@news.talkto.net

Informatix

2006-04-27 07:37

developer   ~0009192

It is fixed and in SVN.

Issue History

Date Modified Username Field Change
2006-04-19 18:59 chuckj New Issue
2006-04-20 00:40 obones Note Added: 0009151
2006-04-20 00:40 obones Status new => feedback
2006-04-20 09:15 chuckj File Added: DelphiExample.zip
2006-04-20 11:18 obones Status feedback => acknowledged
2006-04-21 03:08 obones Note Added: 0009164
2006-04-27 07:36 Informatix Status acknowledged => assigned
2006-04-27 07:36 Informatix Assigned To => Informatix
2006-04-27 07:37 Informatix Status assigned => resolved
2006-04-27 07:37 Informatix Resolution open => fixed
2006-04-27 07:37 Informatix Note Added: 0009192