Text2 not display

Home Forums kbmMW Text2 not display

Viewing 3 reply threads
  • Author
    Posts
    • #55605
      TomYU
      Participant

      Use the following method to bind, Text2 in ListView is not displayed.

      
      procedure TForm3.Button1Click(Sender: TObject);
      begin
      FBindings := TkbmMWBindings.Create;
      FBindings.Bind(DisplayDataSet, 'f1', ListView1, '#Text1');
      FBindings.Bind(DisplayDataSet, 'f2', ListView1, '#Text2');
      FBindings.Bind(DisplaydataSet, '@', ListView1, '@', [mwboTwoWay]);
      
      end;
      
      

      The specific demo program has been emailed.

      best regards

      Tom YU.

       

    • #55606
      TomYU
      Participant

      FMX ListView only displays the content of the first bound field, the others are not displayed.

       

    • #55609
      kimbomadsen
      Keymaster

      Hi,

      Yes, seems to be a new thing for 10.4.2… on 10.3 it works fine.
      I have however figured out what is the reason.

      Listview do not like multiple calls to beginupdate/endupdate, so I have made SmartBind smarter to optimize this problem away.

      Will be in next release.

      /Kim

    • #55621
      TomYU
      Participant

      hi,

      kbmMW 5.15 fixed!

      thanks!

      best regards.

      Tom yu

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