We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

TextAlignment obsolete warnings on CheckBoxAdv

Thread ID:

Created:

Updated:

Platform:

Replies:

43079 Apr 13,2006 09:01 AM Apr 17,2006 10:11 AM Windows Forms 1
loading
Tags: Tools
Christophe Aubry
Asked On April 13, 2006 09:01 AM

Hi I''m using ComboBoxAdv controls. When compiling, I''m getting warnings (in French) : "''Syncfusion.Windows.Forms.Tools.CheckBoxAdv.TextAlignment'' est obsolète" I''ve tried to remove the corresponding line in the InitializeComponent() method, but it always comes back when I''m switching to design mode in VisualStudio. Can you help me to make these annoying warnings disappear ? Thanks

Anupama Roy [Syncfusion]
Replied On April 17, 2006 10:11 AM

Hi Christophe, I assume that you have set the TextContentAlignment property of CheckBoxAdv and due to that TextAlignment property got initialized automatically.If you do not want to set the alignment of the Text,then remove both the lines similar to the below given from your InitializeComponent() method this.checkBoxAdv1.TextAlignment = Syncfusion.Windows.Forms.Tools.TextAlignment.Center; this.checkBoxAdv1.TextContentAlignment = System.Drawing.ContentAlignment.MiddleCenter; For now,if you want to specify the alignment of Text,then set TextContentAlignment in the FormLoad event and this will remove the unwanted warnings. We are able to reproduce the cause and will make the necessary changes immediately. Sorry for any inconvienience caused. Thanks, Anu.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;