Changing Form Caption not redraw controls

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #47898
    guyinwonder
    Participant
      'Schlickmann' wrote:

      Hi,

      When changing form caption on button event or TDataset.AfterScroll the grid is not redraw.

      I get this behavior with TDBGrid, but can be simulated with TStringGrid as included project sample.

      I am using version 7.60

      I am available for any additional information.

      Best Regards,

      Dirceu

      Have you Try TsDBGrid ? did it produce the same error or not ?

      #47901
      Schlickmann
      Participant

        TsDBGrid reproduce de same error.

        On TDataSet assigned to grid handle AfterScroll event, like this:

        procedure TForm1.ClientDataSet1AfterScroll(DataSet: TDataSet);

        begin

        Self.Caption := ClientDataSet1.FieldByName('NAME').AsString;

        end;

        Then You will have a paint problem on grid.

        I made a new sample with TsDBGrid.

        Best regards

        Dirceu

        #47925
        Support
        Keymaster

          Hello!

          Please update the AlphaControls package, this problem should be solved already in the v7.61

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.