- This topic has 6 replies, 2 voices, and was last updated 6 years, 7 months ago by .
Viewing 4 reply threads
Viewing 4 reply threads
- You must be logged in to reply to this topic.
Hi,
Does smartbinding has some kind of “dataset” state?
Thanks in advance!
Hi,
Im not sure exactly what you are asking.
But SmartBinding does have the ability to bind to TDataSource and TDataset (descendants) as a source. It also provides a matching navigator for moving around.
best regards
Kim/C4D
Im not sure exactly what you are asking.
I was afraid for that π One more try…
When you use datasets and data-aware controls the data-aware controls change from editable to non editable states depending on the state of the dataset dsEdit, dsBrowse etc. The dbnavigator enables only relevant buttons.This works very easy. I wonder if the same enabling/disabling of input controls can be accomplished with smartbinding and non dataset objects in an easy way.
Hi Luigi,
Smartbinding binds properties, so it could also bind the dataset state property with the enabled property of those controls that supports that.
However generally Smartbinding allows for updating/editing data in the destination (also if it is a dataset), simply by changing the source value.
I recognize that there can be a great potential here for more automation to easily control state of controls. I will keep it in mind and have a think about it π
best regards
Kim/C4D
Most ORM frameworks I know use some kind of dataset between the GUI and the logic. Can the same be accomplished in kbmmw if you twoway smartbind a memtable to a TObjectList/TObject?
Yes… SmartBind will bind to kbmMW’s ORM data in addition to binding to traditional datasets.
best regards
Kim/C4D
Supercool π Can’t wait to try it out.