Hi Arun,
the DataBrowser is not available in Windows Forms - it is a Win32 control available only in the VO GUI classes.
Or do you are using the new Windows Forms based GUI classes (XSharp.VOGUIClasses.dll)?
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Yes, I'm using Windows Forms based GUI classes (XSharp.VOGUIClasses.dll).
On clicking of "Go To definition" on DataBrowser{self} in code, it points to library:
DataBrowser.prg
PUBLIC CLASS VO.DataBrowser INHERIT VO.Control
Hi Arun,
I don't know it the DataBrowser is yet supported in these classes.
Anyway, you should download the actual sources from Github and use these.
Robert has done several things in these classes since the release of 2.17 (and 2.18 incorporates them). I have no idea when 2.18 will be released, but should be this week for the conference in Memmingen.
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Arun,
You should only reference one of the 2 class libraries in your project. The classes in both libraries have the same name (in a different namespace).
That is why the editor "goes to" the wrong class when you do a goto definition.
We made some fixes in the XSharp.VOGUIClasses (which is a version of the GUI classes built on top of Windows.Forms). These changes will be included in the FOX version of 2.18 which is in Beta right now. Unfortunately there is a breaking issue in the debugger support, which will have to be fixed before we can release 2.18.
I expect the 2.18 release (end of) next week. The whole team is Germany right now, for the X# Summit, and experience has learned us that changing issues like this one during a conference is not a good idea. Wolfgang already has the beta version of this code and showing it during his session about UI alternatives in Memmingen.
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
Arun,
Your topic title mentions "Windows.Forms"
The VOGuiClasses.DLLs is based on the "old" Visual Objects UI classes, so that is NOT Windows.Forms
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
Most likely, you just need to copy all the CATO*.dll files from your VO \Bin folder to the folder where your X# .exe is located. The DataBrowser functionality is included in those dlls, so those need to be available at runtime to your app.