- Timestamp:
- Jul 22, 2008, 1:12:35 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/ablib/src/Classes/ActiveBasic/Windows/UI/ControlEvent.sbp
r561 r564 176 176 177 177 Public 178 Sub AddMouseLeave(h As MouseHandler)178 Sub AddMouseLeave(h As Handler) 179 179 If IsNothing(mouseLeave) Then 180 180 mouseLeave = h … … 183 183 End If 184 184 End Sub 185 Sub RemoveMouseLeave(h As MouseHandler)185 Sub RemoveMouseLeave(h As Handler) 186 186 If Not IsNothing(mouseLeave) Then 187 187 mouseLeave -= h … … 189 189 End Sub 190 190 Protected 191 Sub OnMouseLeave(e As MouseArgs)191 Sub OnMouseLeave(e As Args) 192 192 If Not IsNothing(mouseLeave) Then 193 193 mouseLeave(This, e) … … 195 195 End Sub 196 196 Private 197 mouseLeave As MouseHandler197 mouseLeave As Handler 198 198 199 199 Public … … 395 395 destroy As Handler 396 396 397 Public 398 Sub AddPaintBackground(h As PaintBackgroundHandler) 399 If IsNothing(paintBackground) Then 400 paintBackground = h 401 Else 402 paintBackground += h 403 End If 404 End Sub 405 Sub RemovePaintBackground(h As PaintBackgroundHandler) 406 If Not IsNothing(paintBackground) Then 407 paintBackground -= h 408 End If 409 End Sub 410 Protected 411 Sub OnPaintBackground(e As PaintBackgroundArgs) 412 If Not IsNothing(paintBackground) Then 413 paintBackground(This, e) 414 End If 415 End Sub 416 Private 417 paintBackground As PaintBackgroundHandler 418
Note:
See TracChangeset
for help on using the changeset viewer.