TextBox BackColor

12 posts, 0 answers
  1. Tim Larson
    Tim Larson avatar
    19 posts
    Member since:
    Sep 2007

    Posted 04 Jan 2007 Link to this post

    The textbox backcolor is set to transparent but it is showing as a white background.  Is there a way to get the background to be truely transparent?

    Thanks,
    Tim
  2. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 05 Jan 2007 Link to this post

    Hi Tim,

    Currently the TextBox controls doesn't support transparent backcolor. Anyway this is on our TODO list and I hope you'll see this feature implemented soon. For now I suggest  you to change the TextBox background color using  the BackColor property.

    Best wishes,
    Tsvetan Raikov
    the telerik team
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Reiner
    Reiner avatar
    3 posts
    Member since:
    Nov 2007

    Posted 23 Nov 2007 Link to this post

    A transparent textbox control is one of our main requirements and would be the buying argument for your controls.
    What is the actual situation of this item in your TODO List?
    I just checked the trial of your winforms Q2 2007 SP1 and made the same experience as Tim Larson did, no transparency at the textbox.

    Thanks

    Reiner Merz
  5. Kiril
    Admin
    Kiril avatar
    158 posts

    Posted 23 Nov 2007 Link to this post

    Hello Reiner,

    Thank you for your interest in our product.

    We have done preliminary research on such a control, but we suspended development because of stability concerns. Still, we are interested in providing such a control. Could you point us to an implementation of this feature?

    If you have any further questions, please contact us.

    Kind regards,
    Kiril
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Reiner
    Reiner avatar
    3 posts
    Member since:
    Nov 2007

    Posted 23 Nov 2007 Link to this post

    Hi Kiril
    unfortunately not. We build one by our own to support our price tag solution, but this one has several drawbacks/problems/faults. Thats the reason we are looking for such a control.
    Basically, it works, when you make screenshots of the background of the control (including controls lying under the textbox) and put that screenshot as a background image in the textbox.
    The problem is the refresh of the background, the context menus in a recttracker  and not to get twisted with all Windows Messages :-) and have a good performance.
    Greetings
    Reiner Merz
  7. Dimitar Kapitanov
    Admin
    Dimitar Kapitanov avatar
    632 posts

    Posted 26 Nov 2007 Link to this post

    Hello Reiner,
    Our initial development isolated the same problem areas. There is no possible way of doing things "by the book" in this case, that are with acceptable level of complexity. We will continue with our research on the topic, but we do not have plans at the moment of introducing an official component of this kind.

    Sincerely yours,
    Dimitar Kapitanov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  8. Reiner
    Reiner avatar
    3 posts
    Member since:
    Nov 2007

    Posted 26 Nov 2007 Link to this post

    Hello
    thats bad , but we can understand your decision :-)
    I think, we'll invest some more Euros on our home-brewed transparent textbox control to get it more stable as there is nothing avaliable in the market.
    thx
    Reiner Merz
  9. Michael
    Michael avatar
    33 posts
    Member since:
    Mar 2009

    Posted 03 Apr 2009 Link to this post

    This is an issue for us as well.  It means that we must eliminate the gradient fade of our outermost panel background so that the TextBox element backgrounds appear to be "transparent" even though they are really white on white.
  10. Nick
    Admin
    Nick avatar
    767 posts

    Posted 07 Apr 2009 Link to this post

    Hi Michael,

    Thank you for writing. What Dimitar Kapitanov wrote about a year and a half ago is still valid - we do not plan to implement this functionality because of the task complexity and the other important features that we want to develop.

    Feel free to write, should you have more questions.

    Kind regards,
    Nick
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  11. Michael
    Michael avatar
    33 posts
    Member since:
    Mar 2009

    Posted 07 Apr 2009 Link to this post

    Nick -

    Having built a full text editor from scratch in Winforms, the task of building a custom edit control doesn't seem that challenging.  The trickiest part seems to me to be the cursor management, but I simply used the small code snippet from Petzold's "Programming Windows with Microsoft C#" book.  The undo/redo is fairly straightforward as well.  Would you mind posting a brief list of the top 2-3 difficulties in doing this as seen by the Telerik development team?

    Thanks,
    - Mike
  12. Vassil Petev
    Admin
    Vassil Petev avatar
    1765 posts

    Posted 10 Apr 2009 Link to this post

    Hi Michael,

    It is not the task itself that is challenging (although it is), but the task in conjunction with all other tasks that we have on our list. We have nearly 50 controls in our suite and all of them deserve their fair part of features and improvements. In addition, our customers are counting on us to provide the features they have requested, and we try to do so, by rating them by importance and number of requests. So far, the demand for a RTF editor has been fairly low, although it is picking up.

    Our experience with building rich text editors (which operate in a web environment, where the rich text/HTML engine already exists as part of the browser) is that this is not as simple as handling undo/redo actions and selection, but rather how to handle tables, images, links, etc and their storage. We are also to decide whether we want a full-blown RTF editor or an HTML editor - what is your preference? Our RadEditor for ASP.NET is probably the best HTML editor on the market, but it took us 7 versions and four years to perfect it and offer Word-like experience.

    Since we are on the topic, please share what features you would like to see implemented, so that we can log them in for review. All feedback we get on this task will help us get a glimpse on your needs, and provide a better featured editor from the start.


    Sincerely yours,
    Vassil
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  13. Michael
    Michael avatar
    33 posts
    Member since:
    Mar 2009

    Posted 10 Apr 2009 Link to this post

    Vassil -

    I very much understand the importance of prioritizing features in the software world where anything is possible, but some things are far more beneficial to customers than others.  All I'm looking for right now is a transparent background on a RadTextBoxElement.  The reason is that we have a hierarchy containing many textboxes above a gradient fade, and we want the text to all look like they blend in with the rest of the document.  Below are two links that show what it currently looks like (White) and what we'd like it to look like (Transparent).  Unfortunately, the transparent version is not editable because it uses TextPrimitives instead of RadTextBoxElements, but I'm considering the idea of catching the mouse hover event and displaying a textbox over the top of the text primitive.


    - Mike
Back to Top
UI for WinForms is Visual Studio 2017 Ready