Change colour of text in listbox

Discussion in 'AutoCAD' started by ajtruckle, Nov 12, 2004.

  1. ajtruckle

    ajtruckle Guest

    Is it possible to change the colour of an item of text in a listbox? ie: to indicate it is a frozen layer?
     
    ajtruckle, Nov 12, 2004
    #1
  2. ajtruckle

    Rudderdl Guest

    I'm not sure if you can get the color to change - per list item... but you may want to try and have the Locked Layer propoerty be identified in your listbox by preceding it with a text identifier maybe [L] or something... That would help the color blind folks also that may be using your program.
     
    Rudderdl, Nov 17, 2004
    #2
  3. ajtruckle

    AKS Guest

    Just use case.

    UCase(<layername>) for non frozen
    LCase(<layername>) for frozen
     
    AKS, Nov 19, 2004
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.