Lazarus

Programming => Widgetset => Carbon => Topic started by: Josh on December 27, 2018, 09:08:00 pm

Title: Lazarus RC3 for Carbon getting Range error.
Post by: Josh on December 27, 2018, 09:08:00 pm
Hi

function TForm1.has_focus:boolean;
begin
  result:=screen.ActiveForm.Name='Form1';
end;

The above gives a range check error in the result line.
Same code works on cocoa and window

TinyPortal © 2005-2018