font.height为什么会是负值呢。

解决方案 »

  1.   

    If the value is negative, the internal leading that appears at the top of each line of text is not measured. If the value is positive, Height represents the height of the characters plus the internal leading.
      

  2.   

    比如showmessage(inttostr(edit1.font.height))
      

  3.   

    他本来就是负的,你直接点font那里选择的下面,你看看好了,直接就是负的,如果选择是9号字,他就是-9
      

  4.   

    别忘了,screen坐标是左上角为(0,0),row为x轴,col为y轴
    font.height=font.top-font.bottom,在screen坐标系里top比bottom要小
      

  5.   

    microjuz(天才弟弟) :你好,请问照你的说法如何解释窗体的高度是正的这一事实。sgr0426() :能不能说得详细一点。zlyanyan(zl):我想问一下,这一段英文的意思是什么,我不太看得懂。