mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-02-25 04:48:16 +01:00
parent
587bb18cd1
commit
d1f004d8b4
@ -52,7 +52,7 @@ interface
|
||||
uses
|
||||
// LCL
|
||||
LCLType, LCLIntf,
|
||||
Types, contnrs, SysUtils, Classes, TypInfo,
|
||||
Types, contnrs, SysUtils, Classes, TypInfo, Variants,
|
||||
// LCL
|
||||
LResources, LMessages, Messages, LCLMemManager,
|
||||
Graphics, Controls, StdCtrls, ExtCtrls, Buttons, Forms, ClipBrd, Dialogs,
|
||||
@ -2154,7 +2154,7 @@ function GetPropertyValue(PI: PPropInfo; const AObject: TObject): string;
|
||||
|
||||
function GetVariantProperty : string;
|
||||
begin
|
||||
Result := AnsiString(GetVariantProp(AObject, PI));
|
||||
Result := VarToStr(GetVariantProp(AObject, PI));
|
||||
end;
|
||||
|
||||
function GetStringProperty : string;
|
||||
|
||||
@ -224,7 +224,7 @@ function TryColorFromString(S: String; out AColor: TColor; out AErrMsg: String):
|
||||
end;
|
||||
|
||||
var
|
||||
R, G, B, Err: Integer;
|
||||
R, G, B: Integer;
|
||||
begin
|
||||
Result := false;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user