guessing, no delphi on hand yet,
you have assigned an onFormShow-event
you could deasssign this event, do your action and reassign again like
var
m : TNotifyEvent, //not in mind yet, which is correct method-type
begin
m := onFormShow;
onFormShow := nil;
try
Visible := false;
RearrangingMyControls;
Visible := true;
finally
onFormShow := m;
end;
end;
just as idea
meikl ;-)
Main Topics
Browse All Topics





by: mikelittlewoodPosted on 2005-08-31 at 07:07:35ID: 14793857
Should you not rearrange the components on the create of the form?
Are you just having problems with the form flickering? Would disabling the form and setting the doublebuffered property of the form the TRUE help?