Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Why is the preview for my form different to VS designer?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Infralution Support Forum Index -> Globalizer FAQ
View previous topic :: View next topic  
Author Message
Infralution



Joined: 28 Feb 2005
Posts: 4879

PostPosted: Wed Sep 08, 2010 3:08 am    Post subject: Why is the preview for my form different to VS designer? Reply with quote

If you make changes in the Visual Studio designer to culture specific resources (eg German) these changes will only be shown in the Globalizer Preview if those resources (eg Size and Location) are being scanned and you select “Scan All Cultures”. This is because the preview starts from the Invariant Form/Control and then applies those resources in the Globalizer Workspace to get the localized version of the form/control. If the resources (eg size/location) aren’t being scanned then Globalizer does not know about any changes you have made to them directly via the Visual Studio designer.

Even though the changes you make directly in the culture specific resx using Visual Studio aren’t visible in the Preview window in this case, they will not (by default) be overwritten by Globalizer when it builds resources. So if your workspace does not include (ie is not scanning) sizes/locations then when you build the localized resources from Globalizer any existing culture specific changes you have made to sizes/locations in Visual Studio will not be affected. You can confirm this by opening the form in Visual Studio after you have done a build.

This means that you can have a workspace that only includes strings and then make any final adjustments required to language specific form layout in Visual Studio. The downside of this is that those language specific layout changes won’t be visible in the Globalizer preview. If this bothers you then you can choose to scan Sizes/Locations in Globalizer (via the Scan Filters tab) either for the whole workspace or for specific forms/controls. You can then either use Globalizer to adjust the layout (by changing Sizes/Locations) or you can make the changes in Visual Studio designer and then scan these changes back into the Globalizer Workspace (by selecting "Scan All Cultures").
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Infralution Support Forum Index -> Globalizer FAQ All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group