Hi All,
This is probably something basic but I just need a hand with starting it off. We used to have a ABL screen with a TreeView OCX used in progress OE 10.1. We have recently upgrade to 11.5 64bit and therefore can no longer use the OCX as there is no 64 bit as far as I'm aware. I'm trying to replace it with a .Net TreeView but I'm not sure where to start.
I've managed to replace the Crystal Viewer successfully but that was mainly due to example codes that were already available in the KB (mainly http://knowledgebase.progress.com/articles/Article/000056268?q=.net+crystal&fs=Search&pn=1&l=en_US). That was also simpler to do because the form only had the crystal viewer on it. The current screen I'm working on has a number of other ABL controls and widgets that needs to remain along with the .Net Tree View. Is this possible to do?
I tried copying what I did for the crystal viewer by doing something like the below:
This works for displaying it stand-alone but how can I incorporate it into an existing .w file?
Hopefully this makes sense. Thanks in advance!
This is probably something basic but I just need a hand with starting it off. We used to have a ABL screen with a TreeView OCX used in progress OE 10.1. We have recently upgrade to 11.5 64bit and therefore can no longer use the OCX as there is no 64 bit as far as I'm aware. I'm trying to replace it with a .Net TreeView but I'm not sure where to start.
I've managed to replace the Crystal Viewer successfully but that was mainly due to example codes that were already available in the KB (mainly http://knowledgebase.progress.com/articles/Article/000056268?q=.net+crystal&fs=Search&pn=1&l=en_US). That was also simpler to do because the form only had the crystal viewer on it. The current screen I'm working on has a number of other ABL controls and widgets that needs to remain along with the .Net Tree View. Is this possible to do?
I tried copying what I did for the crystal viewer by doing something like the below:
def var FormObjectRef as class Progress.Windows.Form NO-UNDO.
def var CFTreeView as class System.Windows.Forms.TreeView No-undo.
FormObjectRef = NEW Progress.Windows.Form().
CFTreeView = NEW System.Windows.Forms.TreeView().
FormObjectRef:Controls:Add(CFTreeView).
WAIT-FOR FormObjectRef:ShowDialog().
def var CFTreeView as class System.Windows.Forms.TreeView No-undo.
FormObjectRef = NEW Progress.Windows.Form().
CFTreeView = NEW System.Windows.Forms.TreeView().
FormObjectRef:Controls:Add(CFTreeView).
WAIT-FOR FormObjectRef:ShowDialog().
This works for displaying it stand-alone but how can I incorporate it into an existing .w file?
Hopefully this makes sense. Thanks in advance!