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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

BannerTextProvider not setting in code.

Thread ID:

Created:

Updated:

Platform:

Replies:

98788 Mar 30,2011 08:11 PM UTC Apr 1,2011 08:37 AM UTC WinForms 3
loading
Tags: Tools
Roland Brooks
Asked On March 30, 2011 08:11 PM UTC

I've been trying to use the BannerTextProvider with multiple TextBoxExt controls. I can set them in the VS Designer but not within code. I've tried the following code snippets without success. (Using VB.NET 2008 Pro)

Dim bannerText As String = "This is a test"

Dim info As Syncfusion.Windows.Forms.BannerTextInfo = bannerTextProvider1.GetBannerText(Me.txtSampleName1)

info.Text = bannerText

'Also tried this ...

Dim info As New Syncfusion.Windows.Forms.BannerTextInfo
info.Text = bannerText
info.Visible = True
info.Color = Color.LightGray
info.Mode = BannerTextMode.FocusMode
info.Font = New Font("Tahoma", 8.0F, FontStyle.Regular)

Me.bannerTextProvider1.SetBannerText(Me.txtSampleName1, info)





Roland Brooks
Replied On March 30, 2011 08:26 PM UTC

I figured out a solution. I first had to set the banner text to an empty string, then set it to the desired string.


Roland Brooks
Replied On March 30, 2011 08:26 PM UTC

I figured out a solution. I first had to set the banner text to an empty string, then set it to the desired string.


Iniyen M A [Syncfusion]
Replied On April 1, 2011 08:37 AM UTC

Hi Roland,

Thanks for your interest in Syncfusion products.

We are glad to hear that you have your problems resolved.

Please let us know if you need any assistance.

Regards,
Iniyen M.A.



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.

Warning Icon 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.Close Icon

;