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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Double Click on TextBox not selecting after clicking a BarItem

Thread ID:





129779 Apr 3,2017 12:34 PM UTC Apr 6,2017 05:12 AM UTC WinForms 3
Tags: MainFrameBarManager
Asked On April 3, 2017 12:34 PM UTC

When I create a MainFrameBarManager with a BarItem and I click on it.
I can't select text in a readonly TextBox by double clicking if it is placed in a GroupBox.
Another TextBox that is not in the GroupBox works like it should.

Any idea what I'm doing wrong or how I can prevent this behaviour, without changing every TextBox's HideSelection property?

I attached a windows forms application of the problem I'm having.

Thanks in advance

Attachment: BarItemVSTextBoxReproduction_a4189379.zip

Venkateshwaran Ramdoss [Syncfusion]
Replied On April 4, 2017 04:52 PM UTC

Hi Yazid, 
Thank you for contacting Syncfusion Support. 
We have prepared a sample to achieve your requirement. In this sample, we have set the focus to TextBox when MouseDown. The sample and video can be downloaded from the below link. 
Video: GroupBoxVideo  
Please check the above solution and let us know if it is helpful. 
Venkateshwaran V.R. 

Replied On April 5, 2017 06:24 AM UTC

Hi Venkateshwaran,Thanks for the answer, but it is not the correct solution to my problem. With this solution I have to add the focus event (which I should not have to do myself) on each TextBox in groupbox.I want to prevent this behavior, not fix it, so that TextBoxes inside and outside GroupBoxes can be selected as if I have never clicked on the BarItem.Is there a solution to change properties to get the desired result?

Kannan R [Syncfusion]
Replied On April 6, 2017 05:12 AM UTC

Hi Yazid 
Thank you for your update.  
This reported issue has been fixed in our latest Essential Studio version. We are glad to announce that our Essential Studio 2017 Volume 1 Service pack 2 Release v15.1.0.41 is rolled out and is available for download under the following link: 
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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