Exemple Code

Home Forums CodeSite Exemple Code

Viewing 2 reply threads
  • Author
    Posts
    • #1420
      Wagner Freitas
      Participant

        I try use CodeSite.SendList
        Sorry but I don’t
        Please write code sample these method
        Thanks

      • #1429
        Ray Konopka
        Keymaster

          The SendList method is designed to handle generic TList instances. For example,

          uses
          System.Generics.Collections;

          procedure TForm12.RzButton1Click(Sender: TObject);
          var
            IntList: TList<Integer>;
          begin
            IntList := TList<Integer>.Create;
            IntList.Add( 14 );
            IntList.Add( 23 );
            IntList.Add( 58 );
            CodeSite.SendList<Integer>( 'Generic List', IntList );
          end;

          Hope this helps.
          Ray

        • #1430
          Wagner Freitas
          Participant

            Thanks Ray
            Helped a lot

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