Jump to content
uniGUI Discussion Forums
Sign in to follow this  
dunham

create UniMemo at runtime

Recommended Posts

Hello,

 

 

i 'm creating a memo at runtime but it doesn't appear on the form,

can you explain please what's wrong with this code ?

var MyMemo:TuniMemo;
begin
                       MyMemo:= TUniMemo.Create(Self);
                       MyMemo.Name:='MyMemo';
                       MyMemo.Left:=10;
                       MyMemo.Top:=10;
                       MyMemo.Width:=164;
                       MyMemo.Height:=89;
                       MyMemo.Hint:='';
                       MyMemo.Visible:=true;
                       MyMemo.BringToFront;
end;

Test.zip

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×