如何隐藏自己写的ocx,急急急!!!
我自己写的ocx,其中加了一个image组件,在object inspector面板中
居然没有visible属性可供设置,不过,可以直接通过.visible属性设置,
可是设置了之后,控件还是可见的。
即使我在自动生成的
procedure TSComMonitor.Set_Visible(Value: WordBool);
begin
Visible := Value;
end;
中加上
procedure TSComMonitor.Set_Visible(Value: WordBool);
begin
Visible := Value;
Image1.visible := value;
end;
其image1是看不见了,可还是会有一个框在引用的窗体上,请问,如何才能
让整个ocx都变为不可见的。