xsharp.eu • How to solve class related code issues possible in VO but not in .Net? - Page 4
Page 4 of 4

How to solve class related code issues possible in VO but not in .Net?

Posted: Sun Apr 11, 2021 8:25 am
by Chris
Guys,

We have added a new GLOBAL DefaultFormDialogClassName AS SYMBOL in the VOGUI classes for the next build. So all you will have to do in order to use a custom FormDialog Dispatch() is to define the subclass as mentioned earlier and assign the name of this class to the global:

Code: Select all

CLASS MyFormDialogWindow INHERIT __FormDialogWindow
METHOD Dispatch(oEvent) 
...
END CLASS

FUNCTION Start()
...
DefaultFormDialogClassName := #MyFormDialogWindow
no other changes should be needed apart from that.