source: trunk/ab5.0/ablib/src/Classes/ActiveBasic/Windows/UI/ApplicationEvent.sbp@ 551

Last change on this file since 551 was 551, checked in by イグトランス (egtra), 16 years ago

Buttonの追加。WM_COMMANDから子のClickイベントを発生させる仕組みの追加など。

File size: 413 bytes
Line 
1Public
2 Sub AddThreadExit(h As Handler)
3 If IsNothing(threadExit) Then
4 threadExit = h
5 Else
6 threadExit += h
7 End If
8 End Sub
9 Sub RemoveThreadExit(h As Handler)
10 If Not IsNothing(threadExit) Then
11 threadExit -= h
12 End If
13 End Sub
14Protected
15 Sub OnThreadExit(e As Args)
16 If Not IsNothing(threadExit) Then
17 threadExit(This, e)
18 End If
19 End Sub
20Private
21 threadExit As Handler
22
Note: See TracBrowser for help on using the repository browser.