BBjWindow::setEventMask

Description

In BBj 23.02 and higher, this BBjWindow method changes the set of events that are reported by a given window.

Syntax

Return Value Method
void setEventMask(byte[] mask)

Parameters

Parameter Description
mask A byte string that specifies the set of events to be reported by this window.

Return Value

None.

Remarks

This method is identical to the 'EVENTMASK' mnemonic.

Example

rem ' BBjWindow::setEventMask

sysgui = unt
open (sysgui)"X0"
title$ = "BBjWindow::setEventMask"
sysgui! = bbjapi().getSysGui()
window! = sysgui!.addWindow(100,100,300,75,title$,$00090083$)
mask$ = window!.getEventMask()
window!.setEventMask(mask$)
window!.addStaticText(101,25,25,250,25,"getEventMask: $"+hta(mask$)+"$",$$)
window!.setCallback(window!.ON_CLOSE,"eoj")
process_events

eoj:
release

ClosedVersion History

  • BBj 23.02: BBjWindow::setEventMask added.

See Also

EVENTMASK Mnemonic - Change Event Mask

BBjWindow::getEventMask()

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.