L lwsi Unregistered / Unconfirmed GUEST, unregistred user! 2002-05-11 #1 Form上放一panel,设panel为alCient,然后在上面放image显示图片, 当窗口大小变化时,怎么样才能使image始终在panel的中间显示?
Y yr220 Unregistered / Unconfirmed GUEST, unregistred user! 2002-05-11 #2 Form1.OnResize() { image.left:=... image.top:=... }
C coolbaby Unregistered / Unconfirmed GUEST, unregistred user! 2002-05-11 #3 image.left:=(panel1.width-image.width) div 2; image.top:=(panel1.height-image.height) div 2;