VB程序,让print输出的字体变大一些
代码如下PrivateDeclareFunctionSetWindowPosLib"user32"(ByValhwndAsLong,ByValhWndInsertAfte...
代码如下Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As LongConst HWND_TOPMOST = -1Const SWP_SHOWWINDOW = &H40Private Sub Form_Load()SetWindowPos Me.hwnd, HWND_TOPMOST, Me.CurrentX, Me.CurrentY, 198, 193, SWP_SHOWWINDOWEnd SubPrivate Sub Text1_Change()Form1.ClsPrint Val(Text1.Text) * 1.5End SubPrivate Sub Form_Click()Form1.ClsText1.Text = ""End Sub
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询