简体   繁体   中英

Delphi Cannot change this property when using LiveBindings

Can anybody explain to me what the error message " Cannot change this property when using LiveBindings " is telling me?

I am new to FMX / Live Bindings and I had something working, but I changed a few things and now, I am getting this error when trying to bind the fields of a TFDMemTable to a TGrid.

I had the same fields from the same table bound to the grid before!

I know this is an old question but I just encountered the same thing and this was the only reference to this error I could find. After playing around with my LiveBindings for a bit and trying different things, not being able to save the form, I went searching through the Delphi source for that error message and found it to only be raised for TCustomGrid components.

I was indeed using a TCustomGrid descendent, TGrid, and as soon as I removed it, the error stopped happening. Thinking it had simply been hooked up wrong somehow, I re-added it but immediately started getting the error again.

Replacing it with a TStringGrid was the solution for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM