[DUG] TDBEDIT funnies

Alister Christie alister at salespartner.co.nz
Thu Aug 30 14:42:00 NZST 2007


It's probably because Modified is a property of TCustomEdit and not 
related to any data-awareness.
 From the Help: Use Modified to determine whether the user changed the 
Text <StdCtrls_TCustomEdit_Text.html> property of the edit control. 
Modified is only reset to *False* when you assign a value to the Text 
<StdCtrls_TCustomEdit_Text.html> property. In particular, it is not 
reset when the control receives focus.

Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266
http://www.salespartner.co.nz
PO Box 13085
Johnsonville
Wellington 



Rohit Gupta wrote:
> In both D7 and D2007, just on dbedit on one form has a sticky modified 
> property.  Once the value is changed, the modified goes to true and 
> stays there.  Even after post, cancel or scroll, until the form is 
> killed.  Obviously, there is nothing in any event that modifies the 
> value.... only the user does.
>
> Has anyone come across this or can postulate a reason for it ?
>
>
> -- 
> *Rohit Gupta*
> * B.E. Elec.   M.E.   Mem IEEE    Associate IEE*
> *Technical Manager*
> *Computer Fanatics Limited*
> ** 
> *Tel*     +64 9 4892280
> *Fax*    +64 9 4892290
> *Email  *rohit at cfl.co.nz <mailto:rohit at cfl.co.nz>**
> *Web    *www.cfl.co.nz <http://www.cfl.co.nz/>
>  
> ------------------------------------------------------------------------
> This email and any attachments contain information, which is 
> confidential and may be subject to legal privilege and copyright. If 
> you are not the intended recipient, you must not use, distribute or 
> copy this email or attachments. If you have received this in error, 
> please notify us immediately by return email and then delete this 
> email and any attachments.
> ------------------------------------------------------------------------
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject: unsubscribe
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition. 
> Version: 7.5.484 / Virus Database: 269.12.10/977 - Release Date: 28/08/2007 4:29 p.m.
>   


More information about the Delphi mailing list