Rev | Line | |
---|
[551] | 1 | 'Classes/ActiveBasic/Windows/UI/Button.ab
|
---|
| 2 |
|
---|
| 3 | #require <Classes/ActiveBasic/Windows/UI/Control.ab>
|
---|
| 4 |
|
---|
| 5 | Namespace ActiveBasic
|
---|
| 6 | Namespace Windows
|
---|
| 7 | Namespace UI
|
---|
| 8 |
|
---|
| 9 | /*!
|
---|
| 10 | @date 2008/07/13
|
---|
| 11 | @brief ボタンを表すクラス。
|
---|
| 12 | @author Egtra
|
---|
| 13 | */
|
---|
| 14 | Class Button
|
---|
| 15 | Inherits Control
|
---|
| 16 | Protected
|
---|
| 17 | Override Sub GetCreateStruct(ByRef cs As CREATESTRUCT)
|
---|
| 18 | With cs
|
---|
| 19 | .lpszClass = "BUTTON"
|
---|
| 20 | .style Or= BS_PUSHBUTTON
|
---|
| 21 | End With
|
---|
| 22 | End Sub
|
---|
| 23 | Public
|
---|
| 24 | Sub RaiseClick()
|
---|
| 25 | OnClick(Args.Empty)
|
---|
| 26 | End Sub
|
---|
| 27 |
|
---|
| 28 | End Class
|
---|
| 29 |
|
---|
| 30 | End Namespace 'UI
|
---|
| 31 | End Namespace 'Widnows
|
---|
| 32 | End Namespace 'ActiveBasic
|
---|
Note:
See
TracBrowser
for help on using the repository browser.