|
Last change
on this file since 673 was 637, checked in by イグトランス (egtra), 17 years ago |
|
Button.OnClickの仕組みを汎用的(WM_COMMAND全般)に。WndProcなどをProtectedへ。
|
|
File size:
646 bytes
|
| Line | |
|---|
| 1 | 'Classes/ActiveBasic/Windows/UI/EditBox.ab
|
|---|
| 2 | #require <Classes/ActiveBasic/Windows/UI/Control.ab>
|
|---|
| 3 |
|
|---|
| 4 | Namespace ActiveBasic
|
|---|
| 5 | Namespace Windows
|
|---|
| 6 | Namespace UI
|
|---|
| 7 |
|
|---|
| 8 | /*!
|
|---|
| 9 | @brief エディトコントロールのクラス
|
|---|
| 10 | @date 2008/07/21
|
|---|
| 11 | @auther Egtra
|
|---|
| 12 | */
|
|---|
| 13 | Class EditBox
|
|---|
| 14 | Inherits WmCommandControl
|
|---|
| 15 | Protected
|
|---|
| 16 | Override Sub GetCreateStruct(ByRef cs As CREATESTRUCT)
|
|---|
| 17 | With cs
|
|---|
| 18 | .lpszClass = "EDIT"
|
|---|
| 19 | End With
|
|---|
| 20 | End Sub
|
|---|
| 21 | Public
|
|---|
| 22 | Override Function RaiseCommandEvent(notificationCode As Word) As Boolean
|
|---|
| 23 | RaiseCommandEvent = False
|
|---|
| 24 | End Function
|
|---|
| 25 |
|
|---|
| 26 | 'ToDo: Lineなどを設ける
|
|---|
| 27 | End Class
|
|---|
| 28 |
|
|---|
| 29 | End Namespace 'UI
|
|---|
| 30 | End Namespace 'Widnows
|
|---|
| 31 | End Namespace 'ActiveBasic
|
|---|
| 32 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.