Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 03/28/24 in Posts

  1. pyscripter

    Using Delphi enum in Python

    result := ExtractPythonObjectFrom(Red);
  2. Thanks, on my list to investigate, might be a couple of weeks. Angus
  3. Uwe Raabe

    Regression - Delphi 12 - IsZero()

    As far as I can see there are no changes in the implementation. Also a quick console example shows no regression. Can you please provide the source for your test case to verify? BTW, could it be only a problem with Watch Variables?
  4. programmerdelphi2k

    Bugs - where to write to fix it?

    you can create yourself "helpers" too... if the class/type dont have it... Vcl.Grids, Vcl.StdCtrls; type TSGMyHelper = class helper for TStringGrid type TMyHack = class(TStringGrid); procedure MyRowMove(IdxFrom, IdxTo: integer); end; TForm1 = class(TForm) StringGrid1: TStringGrid; Button1: TButton; procedure FormCreate(Sender: TObject); procedure Button1Click(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; implementation {$R *.dfm} { TSGMyHelper } procedure TSGMyHelper.MyRowMove(IdxFrom, IdxTo: integer); begin TMyHack(Self).RowMoved(IdxFrom, IdxTo); end; { Form1 } procedure TForm1.FormCreate(Sender: TObject); begin for var i: integer := 0 to (StringGrid1.RowCount - 1) do StringGrid1.Cells[1, i] := 'hello ' + i.ToString; end; procedure TForm1.Button1Click(Sender: TObject); begin StringGrid1.MyRowMove(3, 1); end; end.
  5. Attila Kovacs

    Bugs - where to write to fix it?

    As we have learned from other highly qualified individuals, VCL has not been abandoned; rather, it was completed a long time ago.
×