vb课件结构化程序设计.pptVIP

  • 5
  • 0
  • 约1.17万字
  • 约 87页
  • 2021-01-28 发布于河北
  • 举报
3.1 顺序结构程序设计;1. Print方法;2. 与Print方法有关的函数;例;(2)Spc函数;3. 使用位置属性;例:下面程序将图片框相对于窗体居中显示,图片框中的文字居中显示。 Private Sub Form_Click() Dim str1 As String str1 = 图片框相对窗体、文字相对图片框居中显示 Picture1.FontName = 宋体 图片框中文字的字体 Picture1.FontSize = 16 图片框中文字的字号 Picture1.Left = (ScaleWidth - Picture1.Width) / 2 图片框水平位置 Picture1.Top = (ScaleHeight - Picture1.Height) / 2 图片框垂直位置 Picture1.CurrentX = Picture1.ScaleLeft + Picture1.Width / 2 - _

文档评论(0)

1亿VIP精品文档

相关文档