Hi,

I'm Writing an app in C#.Net with an embedded MapX control (this applies to
all you VB.NET people too so don't go deleting this message!)

I have a problem with displaying a MapX map on a tabControl which is a part
of a User Control.  If I put the map on the first tabPage in the tabControl
it works fine, however if I stick the map on a tabPage other than the first
one it won't display!!

Weird  :-/

I smell a bug in .NET.

I've exhausted almost every other avenue with no answers from news lists
that specialise in .NET.  If anyone here has found a workaround I'd be glad
to hear it!

If you don't believe me here's proof:

(Visual Studio designer)
http://www.insightgis.com.au/web/stuff/user_control_designer.gif

(Running app)
http://www.insightgis.com.au/web/stuff/running_app.gif


TO RECREATE:
------------
1. Start a new Win Forms project (VB or C#, doesn't matter)

2. Add a User Control to the project (right click on Solution Explorer).
3. On the User Control add a TabControl.
4. Add two pages to the tabControl.
5. Stick a MapX map on the second page.

6. Add the User Control to the main form in your project.
7. Run the app.
8. Notice something missing on Page2 of the tabControl?
------------


Cheers,

Peter Zyczynski
Analyst Programmer
Insight GIS
Australia
Ph:  (03) 6234-5833
Fax: (03) 6234-5899
[EMAIL PROTECTED]
www.insightgis.com.au




---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 11832

Reply via email to