sagulnet / winforms-geplugin-control-library

Automatically exported from code.google.com/p/winforms-geplugin-control-library
GNU General Public License v3.0
0 stars 0 forks source link

VB 2010: KmlTreeView Public Properties Not Available #111

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use VB 2010
2. Add KmlTreeView to form
3.

What is the expected output? What do you see instead?
Ability to set the "Public Properties" through code or through the Visual 
Designer. None of the "Public Properties" show in the code suggestion or under 
"Control Options" of the KmlTreeView

What version of the product are you using? On what operating system?
Rev 539. Win7 64 Bit

Please provide any additional information below.

Original issue reported on code.google.com by nhi...@vt.edu on 18 Jul 2013 at 12:47

GoogleCodeExporter commented 8 years ago
This is almost certainly a problem with visual studio, or with the reference to 
the dll. Try simply closing and reopening the project, or else removing and 
reading the reference to the control's dll.

Original comment by fraser.c...@gmail.com on 18 Jul 2013 at 1:36

GoogleCodeExporter commented 8 years ago
I deleted the DLL reference and removed the GE controls from my app. Removed 
the control references from the Toolbox. Then I added the GE controls back into 
the "Toolbox" by right clicking on the Toolbox and clicking "Choose Items". I 
browsed to the FC.GEPluginCtrls.dll I compiled. Added all GE controls back to 
form. I still can't access KmlTreeView public properties.

Attached is my compiled Dll. Maybe I compiled it wrong.

Original comment by nhi...@vt.edu on 18 Jul 2013 at 2:03

Attachments:

GoogleCodeExporter commented 8 years ago
Hi,

There is nothing wrong with the library.

The only control option, and the only custom property, is there to toggle 
checkboxes - but in any case you probably don't want to change that.

All the classes public methods are all accessible as are all the inherited 
public properties and methods. 

If your Intellisense isn't working, or you don't see the control properties in 
your designer then you almost certainly have a problem with Visual Studio. 

What happens if you call a method on the control. e.g.

kmlTreeView1.setBrowserInsatnce(geWebBrowser1);

Is the method there or not?

Original comment by fraser.c...@gmail.com on 18 Jul 2013 at 3:45

GoogleCodeExporter commented 8 years ago
kmlTreeView1.setBrowserInsatnce(geWebBrowser1) works fine.

What I'm looking for is for the "Public Properties" as shown in the doc at:

http://code.google.com/p/winforms-geplugin-control-library/wiki/KmlTreeView

For example, I can't see:

public bool FlyToOnDoubleClickNode

in the designer properties or intellisense.

Original comment by nhi...@vt.edu on 18 Jul 2013 at 3:49

GoogleCodeExporter commented 8 years ago
Ah - sorry for the confusion - the wiki page is simply out of date. I 
simplified the KmlTreeView control sometime ago and it no longer has any of 
those properties. I have now updated the wiki page to show the changes. 

Thanks for bringing this up.

If you do want to control the behaviour of the control when, for example, you 
double click on a node then you should override the OnNodeMouseDoubleClick 
method.

Original comment by fraser.c...@gmail.com on 19 Jul 2013 at 8:54