Smooth sliding of form..
I'm trying to make a part of my form slide out when I press a button..
The problem is that this really doesn't look good, I've tried to create a couple of threads which would all do that.. but it doesn't work either. Anyone got an idea how to fix this?
- Code: Select all
for i := 0 to 200 do
begin
frMain.Width := frMain.Width + 2;
end;
The problem is that this really doesn't look good, I've tried to create a couple of threads which would all do that.. but it doesn't work either. Anyone got an idea how to fix this?