Skip to main content

I am attempting to incorporate a browser control that does what we need it to do.  I generated a def file using NetDefGen.  When I add a screen section entry referencing this control, I get an intermixed screen format error when compiling.  I am using the 10.5 compiler.  Here is the screen section entry:

I can find no reference to this error in the documentation.

I am attempting to incorporate a browser control that does what we need it to do.  I generated a def file using NetDefGen.  When I add a screen section entry referencing this control, I get an intermixed screen format error when compiling.  I am using the 10.5 compiler.  Here is the screen section entry:

I can find no reference to this error in the documentation.

I believe it is the @SWWEBVIEW2 . The @ typically refers to a property within a .Net assembly. I take it that you have some WEBVIEW2 copybooks up in special-names that define that control?

Screen section syntax would be similar to: 03 NetListBox1 "NETCONTROLS", LINE 5, COL 2,
NAMESPACE IS "NETCONTROLS",
CLASS-NAME IS "ListBox",
EVENT PROCEDURE IS NETCONTROL-EVENTS1.

or use the Create verb:

CREATE "NetDB"
NAMESPACE IS "NetDB",
CLASS-NAME IS "NetDB_MGR",
CONSTRUCTOR IS CONSTRUCTOR1(DB-PATH, QUERY-STRING),
HANDLE IS MY-ASSY-HANDLE.

And you are aware that 10.5.0 has web-browser2 control, which is webview2.