Ignore:
Timestamp:
Jul 21, 2008, 6:31:41 PM (16 years ago)
Author:
イグトランス (egtra)
Message:

EditBox, TaskMsgの追加。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/ablib/TestCase/UI_Sample/step5_DayTimeCheck.ab

    r559 r561  
    1 '「Win32プログラミング講座 ~ Step5. ボタン コントロールを使う ~」のAB5移植版
    2 'http://www.activebasic.com/help_center/articles/win32/step05/
     1/*!
     2@file
     3@brief 「Win32プログラミング講座 ~ Step5. ボタン コントロールを使う ~」のAB5移植版
     4http://www.activebasic.com/help_center/articles/win32/step05/
    35
    4 '2008/07/20 Egtra
     6@date 2008/07/20
     7@auther Egtra
     8*/
    59
    610#require <Classes/ActiveBasic/Windows/UI/Form.ab>
    711#require <Classes/ActiveBasic/Windows/UI/Application.ab>
    812#require <Classes/ActiveBasic/Windows/UI/Button.ab>
     13#require <Classes/ActiveBasic/Windows/UI/TaskMsg.ab>
    914
    1015Imports ActiveBasic.Windows.UI
    1116Imports System
     17
     18#resource "UI_Sample.rc"
    1219
    1320Class DayTimeCheckForm
     
    5158
    5259    Sub ButtonDate_Click(sender As Object, e As Args)
    53         MessageBox(This, ToTCStr(DateTime.Today.GetDateTimeFormats("yyyy/MM/dd")), "今日の日付", MB_OK)
     60        TaskMsg(This, "今日の日付", DateTime.Today.GetDateTimeFormats("yyyy/MM/dd"), Nothing, MB_OK)
    5461    End Sub
    5562
    5663    Sub ButtonTime_Click(sender As Object, e As Args)
    57         MessageBox(This, ToTCStr(DateTime.Now.GetDateTimeFormats("H:mm:ss")), "今日の日付", MB_OK)
     64        TaskMsg(This, "今日の日付", DateTime.Now.GetDateTimeFormats("H:mm:ss"), Nothing, MB_OK)
    5865    End Sub
    5966
Note: See TracChangeset for help on using the changeset viewer.