The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I'm trying to reproduce functionality that I had in VB6. I used to use the Textbox control that came with Forms 2.0 control (fm20.dll) it had an attribute that allowed you to set the background to transparent (fmBackStyleTransparent) I need to this same functionality in vb.net. In particular I need to be able to display foreground text with a gradient background or a bitmap.
Any ideas?
- Phillip
PSPrakash S Syncfusion Team April 19, 2002 12:14 PM UTC
Philip,
I doubt whether this effect can be achieved using the .NET TextBox as this is just a wrapper around the Win32 EDIT control. The Win32 EDIT control paints it's background everytime the text changes and working around this behavior, while still retaining the control's full functionality, is a non-trivial affair and will involve extensive customization. Unfortunately, I am not aware of any code samples that show this. I suggest that you check out the various Win32 newsgroups/forums or go in for some 3rd party controls that have the functionality pre-built.
Prakash
Syncfusion, Inc.
LMLacy McClartyAugust 15, 2002 09:07 PM UTC
> I'm trying to reproduce functionality that I had in VB6. I used to use the Textbox control that came with Forms 2.0 control (fm20.dll) it had an attribute that allowed you to set the background to transparent (fmBackStyleTransparent) I need to this same functionality in vb.net. In particular I need to be able to display foreground text with a gradient background or a bitmap.
>
> Any ideas?
> - Phillip
If you're willing to move your textbox to a seperate form, you can take advantage of setting an entire form to transparent. Your textbox control would follow suit and still allow the text font to display. This workaround has side effects. For example, you'd need to use the Form's TopMost property to ensure the textbox would still be visible.
Lacy
>