Can anyone explain why the drop down box referenced by $did(2) is a lot longer than the one in $did(4)? It looks like the box is a minimum of 8 times the size that it needs to be.

Here's the layout for the dialog:
Code:
 dialog Observer {
  title "Observer"
  size -1 -1 665 215
  option pixels
  text "Account", 1, 5 5 120 16, center
  combo 2, 5 21 120 100, edit drop
  text "Route", 3, 125 5 60 16, center
  combo 4, 125 21 60 100, edit drop
  text "Name", 5, 190 6 50 16
  edit "", 6, 240 5 285 20
  text "Address", 7, 190 27 50 16
  edit "", 8, 240 25 230 20
  text "Apt", 9, 475 27 20 16
  edit "", 10, 495 25 45 20, right
  text "Phone", 11, 545 6 30 16
  edit "", 12, 575 5 85 20
  text "Special Directions", 13, 190 45 50 40, center
  edit "", 14, 240 45 420 40, multi
  box "Deliveries", 15, 5 120 70 90
  check "Daily", 16, 7 134 50 16
  check "MP/LL", 17, 7 150 50 16
  check "Sat. Only", 18, 7 166 65 16
  check "Vacation", 19, 7 182 65 16
  box "Billing", 20, 73 120 60 90
  radio "PIO", 21, 75 134 40 16, group
  radio "CMP", 22, 75 150 40 16
  radio "Mthly", 23, 75 166 45 16
  radio "Bi-Wkly", 24, 75 182 55 16
  text "Start", 25, 190 125 100 15, center
  list 26, 190 140 100 70, size
  text "Stop", 27, 290 125 100 15, center
  list 28, 290 140 100 70, size
  text "Deliveries", 29, 390 125 55 15, center
  list 30, 390 140 55 70, size
  text "Billing", 31, 445 125 50 15, center
  list 32, 445 140 50 70, size
  text "Payment Amount && Date", 33, 495 125 150 15, center
  list 34, 495 140 50 70, size
  list 35, 545 140 100 70, size
  edit "", 37, 495 105 50 20
  text "Balance", 38, 545 106 50 16, center
  edit "", 39, 595 105 50 20, read
  button "OK", 40, 135 125 50 18, ok
  button "Save", 41, 135 145 50 18
  button "Apply", 42, 135 165 50 18, default
  text "Paid To", 43, 190 90 100 16, center
  edit "", 44, 190 105 100 20, right
  text "Expiry", 45, 290 90 100 16, center
  edit "", 46, 290 105 100 20, read right
  button "Cancel", 36, 135 185 50 18, cancel
  text "Postal Code", 47, 545 27 60 16
  edit "", 48, 605 24 55 21
}
 

Last edited by RusselB; 27/06/06 11:41 PM.