TextBox mit transparentem Hintergrund

  • VB.NET

Es gibt 5 Antworten in diesem Thema. Der letzte Beitrag () ist von alecsoft.

    TextBox mit transparentem Hintergrund

    Hallo, weiß jemand ob es möglich ist, bei einer TextBox den Hintergrund auf transparent zu stellen, so dass man auf die Form darunter gucken kann? Danke schonmal im Vorraus! :)
    "People assume that time is a strict progression of cause to effect, but actually, from a non-linear, non-subjective viewpoint, it's more like a big ball of wibbly wobbly, ...timey wimey ...stuff."
    Da gab es schonmal einen Thread soweit ich weiß.

    Ansonsten baue dir dein eigenes Control :)
    In vorhanden Threads habe ich leider nichts gefunden (auch nicht zum transparent-control). Trotzdem danke ;) . Hat evtl. noch jemand eine Idee??
    "People assume that time is a strict progression of cause to effect, but actually, from a non-linear, non-subjective viewpoint, it's more like a big ball of wibbly wobbly, ...timey wimey ...stuff."

    Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von „jmb.96“ ()

    Bräuchte die Antwort schnell

    Push-Posts sind generell unerwünscht und bringen dir die Antwort auch nicht schneller...

    @Topic: Leite die vorhandene TextBox ab und zeichne den Hintergrund mit GDI selbst. In der CreateParams-Eigenschft solltest du evtl. noch "SupportsTransparentBackColor" auf True setzen.

    Und nein, es gibt hier keinen Copy&Paste-Code (zumindest von mir nicht :P ).
    Gruß
    hal2000
    Sorrry für den Push, hab irgendwie nicht richtig überlegt :S ...........

    Thx @ hal2000, die Idee mit GDI ist gut (Zumal ich im Moment ich sowieso versuche mich da mal reinzudenken. Gar nicht so leicht... :whistling: ).
    Ich denke, damit ist das Thema erst mal erledigt, wer noch andere Ideen hat kann sie trotzdem gerne reinschreiben.



    Mfg, jmb.96

    PS @ hal2000: Ich hatte auch keinen Copy&Past-Code erwarted :) ...
    "People assume that time is a strict progression of cause to effect, but actually, from a non-linear, non-subjective viewpoint, it's more like a big ball of wibbly wobbly, ...timey wimey ...stuff."