안드로이드 폰에서 실행했습니다.
델파이XE7으로 컴파일했구요 Multi-Device Application 으로 생성했습니다.
Rectangle 을 하나 올린 후
Visible을 False 로 했다가 다시 True로 하면
그 Rectangle이 보이지 않습니다.
어떻게 해도 안보입니다.
그 Rectangle 이 아래 소스의 Rectangle1 입니다.
소스는
unit uMain;
interface
uses
System.SysUtils, System.Types, System.Classes, FMX.Types, FMX.Controls,
FMX.Objects, FMX.Forms;
type
TfMain = class(TForm)
Rectangle1: TRectangle;
Rectangle2: TRectangle;
Rectangle3: TRectangle;
private
{ Private declarations }
public
{ Public declarations }
end;
var
fMain: TfMain;
implementation
{$R *.fmx}
{$R *.LgXhdpiPh.fmx ANDROID}
end.
이고 Form 파일은 다음과 같습니다.
object fMain: TfMain
Left = 0
Top = 0
Caption = 'Test'
ClientHeight = 620
ClientWidth = 370
FormFactor.Width = 320
FormFactor.Height = 480
FormFactor.Devices = [Desktop]
DesignerMasterStyle = 3
object Rectangle1: TRectangle
Align = Top
Fill.Color = claYellow
Size.Width = 370.000000000000000000
Size.Height = 30.000000000000000000
Size.PlatformDefault = False
Stroke.Thickness = 0.000000000000000000
end
object Rectangle2: TRectangle
Align = Top
Fill.Color = claRed
Position.Y = 30.000000000000000000
Size.Width = 370.000000000000000000
Size.Height = 50.000000000000000000
Size.PlatformDefault = False
end
object Rectangle3: TRectangle
Align = Top
Fill.Color = claGreen
Position.Y = 80.000000000000000000
Size.Width = 370.000000000000000000
Size.Height = 30.000000000000000000
Size.PlatformDefault = False
Stroke.Thickness = 0.000000000000000000
end
end
Rectangle1 만 Visible 이 안먹히고 그냥 계속 안보입니다.
다른 Rectangle은 잘 되는데요.
아시는 분 제발 갈쳐주세요~~
|