View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001423 | JEDI VCL | 00 JVCL Components | public | 2004-03-04 09:23 | 2004-03-18 00:10 |
Reporter | KarlheinzJansen | Assigned To | user72 | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | OS | W2K | OS Version | ||
Product Version | 3.00 BETA | ||||
Target Version | Fixed in Version | ||||
Summary | 0001423: Bug in JvValidator system | ||||
Description | If you open the example JvValidators it happens most of the time that the controls TJvRangeValidator, TJvRequiredFieldValidator,TJvCustomValidator, TJvRegularExpressionValidator are not existend for the IDE. I checked Mainfrm.dfm with notepad and found the code at the end of this message and everything seems to be OK. If you open the form in Delphi7Pro the code is not there. During loading you get the message from the IDE that the objects are missing. I tried it also with a new form and the same happens when I load the form. The IDE could not find the items, but they are in the DFM. Any ideas what happend?? ... snip object JvRequiredFieldValidator1: TJvRequiredFieldValidator Valid = True ControlToValidate = edRequired PropertyToValidate = 'Text' Enabled = True ErrorMessage = 'Value in edRequired cannot be empty' end object JvCustomValidator1: TJvCustomValidator Valid = True ControlToValidate = edRequired10Chars PropertyToValidate = 'Text' Enabled = True ErrorMessage = 'Value in "edRequired10Chars" requires at least 10 characters' OnValidate = JvCustomValidator1Validate end object JvRegularExpressionValidator1: TJvRegularExpressionValidator Valid = True ControlToValidate = edRegExpr PropertyToValidate = 'Text' Enabled = True ErrorMessage = 'Value in "edRegExpr" does not match "A.B.C."' ValidationExpression = '^A.B.C.*' end object JvRangeValidator1: TJvRangeValidator Valid = True ControlToValidate = udRange0to100 PropertyToValidate = 'Position' Enabled = True ErrorMessage = 'Value in "udRange0to100" must be between 0 and 100' MinimumValue = 0 MaximumValue = 100 end end ... snip Regards Karlheinz | ||||
Tags | No tags attached. | ||||
|
Someone has been over-zeaolus removing initalization sections. Add this to the initialization section (at the bottom of JvValidators.pas): initialization RegisterBaseValidators; Rebuild the JvValidator run-time package and it should work |
|
Fixed in CVS |
Date Modified | Username | Field | Change |
---|---|---|---|
2004-03-04 09:23 | KarlheinzJansen | New Issue | |
2004-03-04 09:38 |
|
Note Added: 0003190 | |
2004-03-04 09:38 |
|
Assigned To | => user72 |
2004-03-04 09:38 |
|
Status | new => feedback |
2004-03-18 00:10 |
|
Status | feedback => resolved |
2004-03-18 00:10 |
|
Resolution | open => fixed |
2004-03-18 00:10 |
|
Note Added: 0003373 |