To work here, I Included functions GetWidth and GetHeight.
I changed the jBitmap class code as follow:
jBitmap = class(jControl)
.....
protected
function GetWidth(): integer;
function GetHeight(): integer;
.....
published
property Width: integer read GetWidth write FWidth;
property Height: integer read GetHeight write FHeight;
.....
function jBitmap.GetWidth(): integer;
begin
//in designing component state: result value here...
if FInitialized then
Result:= jni_func_out_i(FjEnv, FjObject, 'GetWidth');
end;
function jBitmap.GetHeight(): integer;
begin
//in designing component state: result value here...
if FInitialized then
Result:= jni_func_out_i(FjEnv, FjObject, 'GetHeight');
end;
To work here, I Included functions GetWidth and GetHeight.
I changed the jBitmap class code as follow: