BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using The Code Generated By The XML Data Binding Wizard

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Non-Technical
View previous topic :: View next topic  
Author Message
Larry Maturo
Guest





PostPosted: Fri May 12, 2006 2:14 am    Post subject: Using The Code Generated By The XML Data Binding Wizard Reply with quote



Most of the code is self-explanatory, and easy to use, but I can't see any way of modifying a record, short of deleting it, and readding the modified version. Surely there is a better way. So far, every attempt to modify the list of items returns "Can't modify a read-only property". The Wizard generated the following line:

property Customer[Index: Integer]: IXMLCustomerType
read Get_Customer; default;

which does make property read only, so now what?

Note, it also didn't make saving it easy, as it didn't generate
anything to save it, so you had to get the underlying document and save through it, which is not self-explanatory.

-- Larry Maturo
Back to top
Kevin Frevert
Guest





PostPosted: Fri May 12, 2006 1:15 pm    Post subject: Re: Using The Code Generated By The XML Data Binding Wizard Reply with quote



Larry,

The borland.public.delphi.xml group is probably a better place to ask your
question.

krf

"Larry Maturo" <lmaturo (AT) austin (DOT) rr.com> wrote in message
news:4463e936$1 (AT) newsgroups (DOT) borland.com...
Back to top
Larry Maturo
Guest





PostPosted: Fri May 12, 2006 3:14 pm    Post subject: Re: Using The Code Generated By The XML Data Binding Wizard Reply with quote



Hi Kevin,

Thank you. I didn't realize there was a Delphi xml group. I'll try there.

-- Larry

"Kevin Frevert" <kevin (AT) workdrinkingicewater (DOT) com> wrote in message
news:44647e70$1 (AT) newsgroups (DOT) borland.com...
Quote:
Larry,

The borland.public.delphi.xml group is probably a better place to ask
your question.

krf

"Larry Maturo" <lmaturo (AT) austin (DOT) rr.com> wrote in message
news:4463e936$1 (AT) newsgroups (DOT) borland.com...
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Non-Technical All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.