Changing Form Caption not redraw controls

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #35092
    Schlickmann
    Participant

    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

    #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 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.