Smartbinding

Home Forums kbmMW Smartbinding

Viewing 4 reply threads
  • Author
    Posts
    • #53963
      mrluigi2017
      Participant

      Hi,

      Does smartbinding has some kind of “dataset” state?

      Thanks in advance!

    • #53967
      kimbomadsen
      Keymaster

      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

    • #53968
      mrluigi2017
      Participant

      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.

       

       

      • This reply was modified 9 months, 2 weeks ago by mrluigi2017.
      • #53970
        kimbomadsen
        Keymaster

        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

    • #53971
      mrluigi2017
      Participant

      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?

      • This reply was modified 9 months, 2 weeks ago by mrluigi2017.
      • #53973
        kimbomadsen
        Keymaster

        Yes… SmartBind will bind to kbmMW’s ORM data in addition to binding to traditional datasets.

        best regards

        Kim/C4D

    • #53974
      mrluigi2017
      Participant

      Supercool ๐Ÿ™‚ Can’t wait to try it out.

Viewing 4 reply threads
  • You must be logged in to reply to this topic.