Click here to Skip to main content
15,906,708 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: which control in windows for Drop Down Pin
Ben Fair9-Jan-09 6:24
Ben Fair9-Jan-09 6:24 
Questiontablelayoutpanel in usercontrol allow user adjust col / row size in design time Pin
Michael Yip27-Dec-08 4:24
Michael Yip27-Dec-08 4:24 
Questiontablelayoutpanel into usercontrol Pin
Michael Yip27-Dec-08 4:23
Michael Yip27-Dec-08 4:23 
QuestionA user menu according to a Data Base role ?¿ [modified] Pin
azariel.rodrigo26-Dec-08 19:33
azariel.rodrigo26-Dec-08 19:33 
AnswerRe: A user menu according to a Data Base role ?¿ Pin
Ashfield5-Jan-09 3:07
Ashfield5-Jan-09 3:07 
QuestionDeveloping Themes in WPF Pin
kinnuP24-Dec-08 0:26
kinnuP24-Dec-08 0:26 
QuestionPossitioning of controls in Arabic Support Pin
shaik abdul gani23-Dec-08 20:08
shaik abdul gani23-Dec-08 20:08 
AnswerRe: Possitioning of controls in Arabic Support Pin
Rob Smiley31-Dec-08 0:53
Rob Smiley31-Dec-08 0:53 
Unfortunately you cannot make .net align your controls automatically, you have to perform the layout yourself for each required culture. Fortunately, visual studio makes this relatively easy (i tested this in 2008, don't know if sequence is different in earlier versions). Open the form that needs 'translating' and set the form.localizable property to true. Notice that the language property is set to (default). this means the current layout will be applied to all cultures. To make your changes, set the language property to Arabic, then rearrange your controls as required for a rigth->left layout. Note that most controls (inc. label & numericUpDown) have a RightToLeft property. Set this to true, rather than changing other properties like TextAlign etc.

When you build the project, your should see a folder 'ar' in the bin. This should contain a dll which represents the Arabic specific layout. Now, to use the arabic layout at runtime, the ui thread must be set to Arabic. This will happen automatically is the windows regional settings are in Arabic, if not you can override these settings using Thread.CurrentThread.CurrentUICulture and Thread.CurrentThread.CurrentCulture (Arabic cultureInfo code is 'ar-SA'). Any other configured langauge will use the (default) layout.

Hope all this makes sense! I can e-mail you an example project if required.

"An eye for an eye only ends up making the whole world blind"

GeneralRe: Possitioning of controls in Arabic Support Pin
shaik abdul gani12-Jan-09 17:17
shaik abdul gani12-Jan-09 17:17 
QuestionSolve the Error Pin
Anup_Debnath23-Dec-08 0:11
Anup_Debnath23-Dec-08 0:11 
AnswerRe: Solve the Error Pin
EliottA23-Dec-08 3:06
EliottA23-Dec-08 3:06 
GeneralRe: Solve the Error Pin
EliottA23-Dec-08 3:08
EliottA23-Dec-08 3:08 
GeneralRe: Solve the Error Pin
Anup_Debnath23-Dec-08 19:56
Anup_Debnath23-Dec-08 19:56 
GeneralRe: Solve the Error Pin
EliottA24-Dec-08 2:45
EliottA24-Dec-08 2:45 
QuestionChild window stuck behind parent window Pin
Kevnar22-Dec-08 10:28
Kevnar22-Dec-08 10:28 
AnswerRe: Child window stuck behind parent window Pin
Dave Kreskowiak22-Dec-08 11:07
mveDave Kreskowiak22-Dec-08 11:07 
GeneralRe: Child window stuck behind parent window Pin
andy_p26-Mar-10 4:32
andy_p26-Mar-10 4:32 
GeneralRe: Child window stuck behind parent window Pin
Dave Kreskowiak26-Mar-10 13:50
mveDave Kreskowiak26-Mar-10 13:50 
GeneralRe: Child window stuck behind parent window Pin
andy_p27-Mar-10 7:44
andy_p27-Mar-10 7:44 
Questionhow to store the image Pin
Anup_Debnath21-Dec-08 19:14
Anup_Debnath21-Dec-08 19:14 
AnswerRe: how to store the image Pin
Thomas Stockwell22-Dec-08 6:23
professionalThomas Stockwell22-Dec-08 6:23 
GeneralRe: how to store the image Pin
Anup_Debnath22-Dec-08 18:11
Anup_Debnath22-Dec-08 18:11 
AnswerRe: how to store the image Pin
Giorgi Dalakishvili22-Dec-08 6:28
mentorGiorgi Dalakishvili22-Dec-08 6:28 
GeneralRe: how to store the image Pin
Anup_Debnath22-Dec-08 18:12
Anup_Debnath22-Dec-08 18:12 
GeneralRe: how to store the image Pin
Giorgi Dalakishvili22-Dec-08 18:43
mentorGiorgi Dalakishvili22-Dec-08 18:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.