delphi 中 form的update方法是什么意思?(10)

Discussion in '编程心得' started by rgp1581, Jun 26, 2009.

  1. rg

    rgp1581 New Member Member

    如果是刷新窗体,我会先想到form.refresh,但update又是做什么用的呢?它和refresh有何区别呢? 没有积分了,分少了点谅解!
     
  2. gu

    guanyue7613 New Member Member

    update会调用Invalidate标记一个需要重绘的无效区域,并不意味着调用该函数后就立刻进行重绘,而refresh总是进入重绘。
     
  3. rg

    rgp1581 New Member Member

    接受答案了.