Oracle Forms (MOSC)

MOSC Banner

Unable to enable sysevent

in Oracle Forms (MOSC) 3 commentsAnswered ✓

Forms 14.1.2 JDK 21

When defining a system event (p.e. type System notification) with Auto subscribe YES it is possible to unsubscribe it with set_event_object_property('…..',EVENT_ENABLED,PROPERTY_FALSE);

But enabling it isn't possible.

You can reproduce it by making a simple form:

With the following code

:info := 'Event SYSNOTIFY';
:info := :info||chr(10)||'Current status:'||get_event_object_property('SYSNOTIFY',EVENT_ENABLED);

set_event_object_property('SYSNOTIFY',EVENT_ENABLED,PROPERTY_FALSE);
:info := :info||chr(10)||'Status after set to False:'||get_event_object_property('SYSNOTIFY',EVENT_ENABLED);
set_event_object_property('SYSNOTIFY',EVENT_ENABLED,PROPERTY_TRUE);

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center