Localization is messing up component alignment

  • Thread starter Thread starter greg
  • Start date Start date
G

greg

Hi!

I have an input form with a mix of windows and custom components.

When I select the form in designed and localize it, the alignments on the
custom components becomes all messed up. The windows controls are unaffected.

I'm not even sure what other information to provide at this point, I'm
pretty confused why localizing is changing control placement! :)

Thanks,
Greg
 
Hi Greg,

Thanks for using Microsoft Newsgroup Service. My name is Hongye Sun [MSFT]
and it is my pleasure to work with you on this issue.

This issue seems to be caused by custom component code. I did a quick test
to localize a simple custom control but unable to reproduce the issue. Can
you copy the custom component code and the main form code here or, if they
are too big, send them to my email box directly.
([email protected], remove 'online.') So that I could perform
further research on them.

For your reference, I provide some information which is useful when you do
troubleshooting:
In Visual Studio, when the "Localizable" property in the form is set, the
designer will re-render the whole form and reset all the properties ,which
has attribute "Localizable" in every control. That may cause your problem,
when the "localizable" property of the custom component will impact the
placement of the control. It may also be caused by other controls, whose
size is changed when the language is changed. Its size change will also
cause the controls next to it change their position. For example, button
size may be changed when its text become longer or shorter.

Finally, in order to eliminate any misunderstanding between us, can you
clarify follow question for me?
1. Is "custom component" the same as "custom control"?
2. How do you localize the form? By setting "Localizable" and "Language"
properties?
3. How is the alignments of custom components messed up? You mean the
position of the control changed?

Thanks in advance for your cooperation. I will be waiting for your reply.

Have a nice day.

Regards,
Hongye Sun ([email protected], remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi Greg,

I have not heard from you for several days. I have writing to check the
status of this issue. I am still waiting for your email with the source
code of your component control for further troubleshooting. Have you ever
had a chance to view my last reply?

Please let me know any progress on your side and anything I can support
you. Thanks.

Regards,
Hongye Sun ([email protected], remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top