P
power2010
Unregistered / Unconfirmed
GUEST, unregistred user!
自己一个人傻想了几天了,不如放在坛上让大家帮助一下,哈,万分感谢
注:TAALabel是一个扩展的LABEL类,与月共舞大侠写的
var AALabelObject: TAALabel;
begin
AALabelObject:=TAALabel.Create(Application);
AALabelObject.Parent := Self;
AALabelObject.Left := 20;
AALabelObject.Top := 20;
AALabelObject.Effect.Transparent:=True;
AALabelObject.Font.Size:=26;
AALabelObject.PopupMenu:=PopupMenu17;
AALabelObject.OnClick:=FormClick;
AALabelObject.OnMouseDown:=LMDLabelFill1MouseDown;
AALabelObject.OnMouseMove:=LMDLabelFill1MouseMove;
AALabelObject.OnMouseUp:=LMDLabelFill1MouseUp;
AALabelObject.Caption:='新的文字行';
end
用以上代码可以在屏幕上生成,但我想将其保存到INI文件夹,等下次程序载入时,再次载入这个LABEL
注:TAALabel是一个扩展的LABEL类,与月共舞大侠写的
var AALabelObject: TAALabel;
begin
AALabelObject:=TAALabel.Create(Application);
AALabelObject.Parent := Self;
AALabelObject.Left := 20;
AALabelObject.Top := 20;
AALabelObject.Effect.Transparent:=True;
AALabelObject.Font.Size:=26;
AALabelObject.PopupMenu:=PopupMenu17;
AALabelObject.OnClick:=FormClick;
AALabelObject.OnMouseDown:=LMDLabelFill1MouseDown;
AALabelObject.OnMouseMove:=LMDLabelFill1MouseMove;
AALabelObject.OnMouseUp:=LMDLabelFill1MouseUp;
AALabelObject.Caption:='新的文字行';
end
用以上代码可以在屏幕上生成,但我想将其保存到INI文件夹,等下次程序载入时,再次载入这个LABEL