1 / 4

形状控件

形状控件. 坐标位置的确定. ( 1 )创建表单 FM.SCX ( 2 )在表单上创建标签 Label1 和形状 Shape1 各一个 ( 3 )椭圆的宽是标签宽的 1.3 倍 , 椭圆的高是标签高的 2 倍 ( 4 )椭圆距离表单顶部为表单高度的四分之一 , 椭圆在表单中水平居中 , 并且标签位于椭圆内部的居中位置 . (5) 在表单单击鼠标右件 , 则表单退出. 计算示意图. ( 2 ) Form1 的 RightClick 事件代码编写. thisform.release 表单运行后屏幕显示如下,按鼠标右键退出.

amy-oliver
Download Presentation

形状控件

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 形状控件 坐标位置的确定

  2. (1)创建表单FM.SCX (2)在表单上创建标签Label1和形状Shape1各一个 (3)椭圆的宽是标签宽的1.3倍,椭圆的高是标签高的2倍 (4)椭圆距离表单顶部为表单高度的四分之一,椭圆在表单中水平居中,并且标签位于椭圆内部的居中位置. (5) 在表单单击鼠标右件,则表单退出.

  3. 计算示意图

  4. (2) Form1的RightClick事件代码编写 thisform.release 表单运行后屏幕显示如下,按鼠标右键退出

More Related