Re: CF1.1 multi-language support



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

"Mikael Sorensen" <no@xxxxxxxx> wrote in message
news:%23qKpsGnGGHA.1192@xxxxxxxxxxxxxxxxxxxxxxx
> 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
>
>


.



Relevant Pages

  • Re: OOP in database programming - Newbie question
    ... I have no formal Delphi training, but I have written several database ... in them and all data is accessed through database controls. ... manipulating this data and then passing the data ... If I create a class representing the container ...
    (borland.public.delphi.non-technical)
  • Re: Component
    ... Yes I'm using Container to call dispose in all of the components of my ... Controls (I use a Control Composite (here I need to do other little change, ... don't implement IComponent (because this maybe will be not a class that I ...
    (microsoft.public.dotnet.framework.compactframework)
  • Picture Box Tranparent, CreateDIBPatternBrushPT, PackedDIB
    ... themselves use picture boxes for their drawing.(i.e no User Control ... in order for my controls to "blend in" nicely with their ... save, for each object, the pattern gradiant of its container. ...
    (microsoft.public.vb.winapi.graphics)
  • Re: Contained Controls
    ... loop through only those contrls in that container. ... form VB supplies a Controls collection that contains the ... SetForeColor vbBlue, Groups, Groups ... Set grp = New Collection ...
    (microsoft.public.vb.general.discussion)
  • Re: Picture Box Tranparent, CreateDIBPatternBrushPT, PackedDIB
    ... > themselves use picture boxes for their drawing.(i.e no User Control ... in order for my controls to "blend in" nicely with their ... > save, for each object, the pattern gradiant of its container. ...
    (microsoft.public.vb.winapi.graphics)