Announcement

Collapse
No announcement yet.

Saving Custom Colors

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

  • Saving Custom Colors

    When using PBForms (or firefly) I can add "custom colors". Where are they stored? What I create in one program doesn't seem to appear in another. And if I re-load windows on the computer, it all goes away. Is there some utility that will make the custom color list transportable?
    Real programmers use a magnetized needle and a steady hand

  • #2
    Not really - you have to handle custom colors yourself - you can provide that list to the color common dialog stored possibly from a file.
    Adam Drake
    PowerBASIC

    Comment


    • #3
      You can make an include file with constants for your favorite colors.
      for example:
      %color_MyDarkRed = &h00080488

      When setting color with a hex constant the format is:
      &h00bbggrr (bb is blue, gg is green, rr is red)

      Cheers,
      Dale

      Comment

      Working...
      X