Jump to content

Recommended Posts

Posted

Hi,

 

I want to some values in an popup_list box to be in colour red becourse I want to show that it is not standard. Is it possible to do that?.

 

For example in the code below I want "22 kW" to be red and the rest black.

 

 
(setq myList1(list "Välj" "---ABB---" "22 kW" "30 kW" "37 kW" "45 kW" "55 kW" "110 kW" "--Siemens--"));; Small 

 

/Dan

Posted

Sorry, this isn't possible to achive in standard DCL dialog boxes.

What I can suggest you is to add a small image control next to pop-up list and fill it with neutral color (-15) for regular selections and with red (2) for non-standard ones.

 

Regards,

Mircea

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...