AC 6.50 scolorSelect access violation

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33423
    KRis
    Participant

    Hi,
    i've migrated my project to the new version AC 6.50 and i get an access violation when i click on a sColorSelect button.
    here is where the exception is raised, unit sColorDialog, the first line of this procedure :

    CODE
    procedure TsColorDialogForm.CreateExtBmp;
    var
      x, y : integer;
      ImgWidth, ImgHeight : integer;
    begin
      ImgWidth := ColorPanel.Width – dblWidth;
      ImgHeight := ColorPanel.Height – dblWidth;

      ExtBmp := CreateBmp24(ImgWidth, ImgHeight);

      for y := 0 to ImgHeight – 1 do
        for x := 0 to ImgWidth – 1 do ExtBmp.Canvas.Pixels[x, y] := Hsv2Rgb(x * 360 / ImgWidth, 1 – y / ImgHeight, 1 – y / (ImgHeight * 3)).C;
    end;

    I do not understand, because when i put a scolorselect button on a new project, i do not have this problem…?
    what can i do ?

    Regards,
    Christophe

    #41156
    Support
    Keymaster

    Hello

    Some checkings will be added in this procedure in the nearest release, wait a few days please.

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