Announcement

Collapse
No announcement yet.

Farbe

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Farbe

    Hallo, wie kann ich die Farbe von Label1->Caption in #00000 umwandeln? Danke

  • #2
    Wie ich schon X-Mal sagte:

    Formulier die Frage so, dass man sie verstehen kann.

    Was hat die Caption mit der Farbe zu tun
    Christian

    Comment


    • #3
      Ich möchte die Farbe von dem Label1->Color auslesen und im #00000-format in Label1->Caption laden

      Comment


      • #4
        Was ist denn das #00000-Format

        Comment


        • #5
          Na vermutlich HTML schreibweise. kann ich heute Abend sagen. muss zu Hause nachschaue
          Christian

          Comment


          • #6
            I.O. dank

            Comment


            • #7
              Label->Caption="#"+IntToHex(GetRValue(Label1->Color ),2)+IntToHex(GetGValue(Label1->Color ),2)+IntToHex(GetBValue(Label1->Color ),2)
              Christian

              Comment

              Working...
              X