请问各位高手
  窗体的“OnResize”事件和“OnCanResize”事件有什么区别吗?

解决方案 »

  1.   

    to see online help:Occurs immediately after the control is resized.property OnResize: TNotifyEvent;DescriptionUse OnResize to make any final adjustments after a control is resized.To modify the way a control responds when an attempt is made to resize it, use OnCanResize or OnConstrainedResize.Note:Some controls call this event handler when the control is first created.-----------------------------------------------------------------
    欢迎访问:http://CoolSlob.fykj.com/。目前唯一可以查询CSDN FAQ的站点!
      

  2.   

    Occurs when an attempt is made to resize the control.property OnCanResize: TCanResizeEvent;DescriptionUse OnCanResize to adjust the way a control is resized. If necessary, change the new width and height of the control in the OnCanResize event handler. The OnCanResize event handler also allows applications to indicate that the entire resize should be aborted.If there is no OnCanResize event handler, or if the OnCanResize event handler indicates that the resize attempt can proceed, the OnCanResize event is followed immediately by an OnConstrainedResize event.-----------------------------------------------------------------
    欢迎访问:http://CoolSlob.fykj.com/。目前唯一可以查询CSDN FAQ的站点!
      

  3.   

    呵呵,CoolSlob,你还是回来了呀。
      

  4.   

    不能这么说~~~~~~只是路过而已~~~~~~~~~我看到了CSDN所有新贴,都看了看(上次我无意回复了软件工程版的也就是因为这样)-----------------------------------------------------------------
    欢迎访问:http://CoolSlob.fykj.com/。目前唯一可以查询CSDN FAQ的站点!
      

  5.   

    help is the best book!
      

  6.   

    smilelhh(blue) 说得不错,写英文的朋友也不错,学习,支持。