Search

Multiline textbox with vertical scrollbar in a SplitContainer on a TabControl on Vista by panpan

Closed
as Fixed Help for as Fixed

5
0
Sign in
to vote
Type: Bug
ID: 250305
Opened: 1/6/2007 7:00:27 AM
Access Restriction: Public
Primary Feedback Item: 180146
0
Workaround(s)
8
User(s) can reproduce this bug
I have on a WinForm a Multiline textbox with vertical scrollbar in a SplitContainer on a TabControl. If I run the program and move the mouse over the textbox, the text in the box disappears.
It happens only on Vista, not on Windows XP SP2.

Is there any bugfix or workaround?
Details (expand)
Product Language
English

Version

Visual Studio 2005 (All Products and Editions) Service Pack 1
Operating System
Windows Vista
Operating System Language
English
Steps to Reproduce
create a form with a tab conttrol
put a split container on the tab page
put a textbox in a panel
with the textbox:
set multiline
set scrollbar vertical
set some text

run the program
move the mouse over the textbox
Actual Results
the textbox will get blank
Expected Results
display the text
TAP Code (if applicable)
 
      You can indicate your satisfaction with how Microsoft handled this issue by completing this quick 3 question survey. [Details]

 

File Attachments
File Name Submitted By Submitted On File Size  
FormTest.Designer.vb (restricted) 1/6/2007 -
Sign in to post a comment.
Posted by Matt Ellen on 3/17/2009 at 6:53 AM
Thanks for the workaround. Pity I can't have a 3D border yet.
Posted by Microsoft on 1/26/2007 at 3:23 PM
I'm afraid there's not a fix for this, but there is a workaround: this happens when you have a multiline textbox with scrollbar on a parent that's not opaque (at least partially transparent). If you add a panel that's the same size as the textbox, you can parent the textbox to that and parent that panel to the splitcontainer's child panel.
-Scott
UIFX Client Team
Posted by jmk on 1/8/2007 at 11:59 AM
A quick workaround is to set the border style property of the text box to "FixedSingle" or "none", instead of "Fixed3D".
Sign in to post a workaround.