DCL popup_list looks like a button

DCL popup_list looks like a button

C.Utzinger
Collaborator Collaborator
1,009 Views
8 Replies
Message 1 of 9

DCL popup_list looks like a button

C.Utzinger
Collaborator
Collaborator

 

HI

 

I'm using a popup_list and it looks like a button, but i want to have it like a white field.

 

Should i do that with edit_box?

 

Please, need a little help...

 

 

 

 

0 Likes
1,010 Views
8 Replies
Replies (8)
Message 2 of 9

rkmcswain
Mentor
Mentor

Perhaps you want a list_box instead of a popup_list?

 

 

list_boxlist_box

 

 

 

popup_listpopup_list

R.K. McSwain     | CADpanacea | on twitter
0 Likes
Message 3 of 9

C.Utzinger
Collaborator
Collaborator

 

I want this:

 

I want this.jpg

 

I have this (popup_list)

 

Now.jpg

 

Kind regards

 

 

0 Likes
Message 4 of 9

rkmcswain
Mentor
Mentor
The actual rendering of the various controls is dependent on the platform you are running (Windows, Mac, Sun, etc.) AFAIK, there is no more control that what you have on the DCL side of things.
R.K. McSwain     | CADpanacea | on twitter
0 Likes
Message 5 of 9

C.Utzinger
Collaborator
Collaborator

OK thank you.

 

Both images are from the same system and AutoCAD.

 

 

Kind regards.

0 Likes
Message 6 of 9

rkmcswain
Mentor
Mentor

Are both of them using the same DCL code?

R.K. McSwain     | CADpanacea | on twitter
0 Likes
Message 7 of 9

C.Utzinger
Collaborator
Collaborator

 

No. the other one is from another Programm I use for AutoCAD. Perhaps it's not a DCL.

 

 

0 Likes
Message 8 of 9

paullimapa
Mentor
Mentor

Looks like you have this combination of text label with edit_box and popup_list.

 

But I believe AutoCAD when reading DCL will always show the popup_list with a grey background and not a white one.

 

 

test : dialog {
: row {
  : text {
    label = "Massstab:";
  }
  : edit_box {
    label = "1:";
    value = "50";
    key = "massstab";
    mnemonic = "1"; 
    edit_width = 13;
    width = 13;
   }
 }
 : popup_list {
   label = "Einheiten";
   value = "0";
   key = "einheiten";
   mnemonic = "E";
   list = "Zentimeter";
   edit_width = 12;
   width = 12;
  }
 ok_only;
}

Area Object Link | Attribute Modifier | Dwg Setup | Feet-Inch Calculator
Layer Apps | List on Steroids | VP Zoom Scales | Exchange App Store


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 9 of 9

john.uhden
Mentor
Mentor

My popup_lists in 2002 show a white background.  Of course when you select one the background turns blue.

John F. Uhden

0 Likes