Smartbinding and Nullable types

Home Forums kbmMW Smartbinding and Nullable types

Viewing 2 reply threads
  • Author
    Posts
    • #53984
      mrluigi2017
      Participant

      Hi Kim,

      How can I bind an objects property that is a kbmMWNullable? I can bind the lastname from this class, but not the firstname.

      TPerson = class
      private
      FLastName: string;
      FFirstName: kbmMWNullable<string>;
      public
      property FirstName: kbmMWNullable<string> read FFirstName write FFirstName;
      property LastName: string read FLastName write FLastName;
      end;

      Do I need to do something special to make it work?

       

       

    • #53986
      kimbomadsen
      Keymaster

      Hi,

      I need to make support for nullable types in SmartBinding. I will have a look at it for a follow up release.

      best regards

      Kim/C4D

    • #53987
      mrluigi2017
      Participant

      That would be nice because in combination with the orm many objects will have nullable properties I think.

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