P panwu Unregistered / Unconfirmed GUEST, unregistred user! 2000-12-18 #1 在一窗体中放一控件statusbar,设置simplepanel为false,并分为多个面板,请问如何才 能让各子面板的大小随窗体的大小而改变。
J JohnsonGuo Unregistered / Unconfirmed GUEST, unregistred user! 2000-12-18 #2 响应TStatusBar.OnResize,自己写代码实现。
E eyes4 Unregistered / Unconfirmed GUEST, unregistred user! 2000-12-20 #3 procedure TForm1.StatusBar1Resize(Sender: TObject); begin statusbar1.Panels[0].Width:=x; statusbar1.Panels[1].Width:=x; statusbar1.Panels[2].Width:=x; end;
procedure TForm1.StatusBar1Resize(Sender: TObject); begin statusbar1.Panels[0].Width:=x; statusbar1.Panels[1].Width:=x; statusbar1.Panels[2].Width:=x; end;