SupportBuyTry
BCGSoft: Forums
BCGSoft: Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 BCGControlBar Forums
 BCGControlBar Suggestions List
 new function in CBCGPPropList
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

zaksoft

156 Posts

Posted - 08/31/2007 :  12:48:50 PM  Show Profile  Visit zaksoft's Homepage  Reply with Quote
There are some very usefull function like ResetOriginalValue() or SetModifiedFlag(), but nothing to reset modified status. When you save data and let the user continue (ie APPLY) you need something that reset all modified flags to FALSE.
Without this function if you have an empty field and the user insert a string and save (looping on modified prop you write only new data) and then delete the string the status of prop returns to unmodified and when last save happen the prop is skipped (since not modified) and the data on disk is wrong.

Thanxs.

Davide zaccanti
www.zaksoft.com

Support

2571 Posts

Posted - 09/03/2007 :  07:09:56 AM  Show Profile  Visit Support's Homepage  Reply with Quote
Thanks for suggestion!

In 9.55 (comin soon) we'll add the following simple method:

void CBCGPPropList::CommitModifiedValues (BOOL bRedraw = TRUE);

Best regards,

BCGSoft Technical Support
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To:
BCGSoft: Forums © Copyright (c) 1998-2010 BCGSoft Co Ltd Go To Top Of Page
Snitz Forums 2000
Copyright © 1998-2008 BCGSoft CO Ltd. All rights reserved. Terms of Use | Privacy Statement
Microsoft, Visual C++, Visual Studio, Visual Studio.NET, Outlook, Windows and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. All other trademarks are the property of their respective owners.
Design by Web-Master.spb and Creativemind