1. This was considered while
adopting the changes. The padding provided is adequate to accommodate the scrollbar width (Windows default 17 pixels) also where necessary. By default, the auto-calculated column width and list-box width are exactly the same retaining backward compatibility in appearance of the listbox. You may check this in real cases.
Please test this sample:
- Code: Select all Expand view
local aData := { { "Hello World", 5, "FiveTech SoftWare" }, { "FiveTech", 4, "Hello World" } }
local aMonths[ 12 ]
AEval( aMonths, { |u,i| aMonths[ i ] := { i, NToCMONTH( i ) } } )
xbrowser aData SETUP ( oBrw:aCols[ 2 ]:nEditType := EDIT_LISTBOX, oBrw:aCols[ 2 ]:aEditListTxt := aMonths )
2. This will be adopted.
Last suggestion: EDIT_GET_BUTTON is provided for such purposes.