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

This forum is meant for questions and discussions about the X# language and tools
User avatar
Chris
Posts: 4907
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

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

Post 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.
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
Post Reply