Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Database/Data Aware Controls/TDBGrid    [ Add a report in this area ]  
Report #:  86088   Status: Need Feedback
Windows 7 problem
Project:  Delphi Build #:  14.0.3513.24210
Version:    14.0 Submitted By:   Mathieu Tremblay
Report Type:  Minor failure / Design problem Date Reported:  7/8/2010 9:20:12 AM
Severity:    Serious / Highly visible problem Last Updated: 7/8/2010 9:18:02 PM
Platform:    64 Bit Internal Tracking #:  
Resolution: Need More Info (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
DisplayFormat and EditMask are not represent correctly in DBGrid ans Windows 7

Steps to Reproduce:
Create a DBGrig
Add 3 column liked with Database (Number,Telephone,Total)

Number Integer;
Telephone VARCHAR(10)
Total DECIMAL(8,2)

Link and connect information to Database and format the StringField and the FloatField

(dgr1.Fields[1] as TStringField).EditMask:= '!(###)\-###\-####;0; ';

if the telephone number is "0123456789" this should be represent like this "(012)-345-6789". Its OK in Windows XP but in Windows 7 its represent like this "345-6789-(012)"

Same thing with FloatField

(dgr1.Fields[2] as TFloatField).DisplayFormat:='0.00 $';

if the amout is "10.99" this should be represent like this "10.99 $". Its OK in Windows XP but in Windows 7 its represent like this "$ 10.99"

Its seems to be inverted !!




Workarounds
None
Attachment
None
Comments

Tomohiro Takahashi at 7/8/2010 9:18:10 PM -
Could you please attach sample project(w/ sample db file(e.g., Paradox/BDE)) to reproduce your issue?

Server Response from: ETNACODE01