CF1.1 multi-language support

  • Thread starter Thread starter Mikael Sorensen
  • Start date Start date
M

Mikael Sorensen

I'm trying to add multi-language support to my netcf 1.1 application based
on the article "Build World-Ready Device Applications",
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/worldready.asp

(The article is partly based on Chris Tacke's blog
http://blog.opennetcf.org/ctacke/PermaLink.aspx?guid=64C28B10-D3A8-4C6B-B11A-2AE2DE4BDAF1)

The principles are working great for controls added directly to the form,
but controls added to tabpages on the form do not get translated.

I have tried traversing the form in order to get the names of the controls
on tabpages - but so far without success.

Can anybody give me a clue as how to do what I want?

Regards,
Mikael Sorensen
 
It's a bug in my original code. Well maybe an oversight more than a bug.
The issue is that it looks only through direct children of the Form, so it
will checkl the container itself, but not controls in the container - so it
will fail for tab pages, group boxes, panels, etc. You need to alter the
code a bit - have it drill down when it finds a container control.

-Chris
 
Back
Top