Dreamweaver
Well-known member
- Local time
- Today, 01:47
- Joined
- Nov 28, 2005
- Messages
- 2,466
I Use code below in a click event of a frame which changes A combobox to reflect what the user wants to enter data into the list, I can change the Column Count and widths properties but when i try and change the width using both ColumnWidth or ListWidth The list width returns to the size of the combobox width like it would with auto set.
I have done a few searches and found a few topics but these seem to relate to the onopen events but could find nothing after that event.
I have done a few searches and found a few topics but these seem to relate to the onopen events but could find nothing after that event.
Code:
If Not IsNothing(Me![cboPoOrder]) Then
Me![ProductID].ColumnWidths = "0cm;2.6cm;8.5cm;0cm;1.2cm,1.3cm;1cm"
Me![ProductID].ColumnCount = 7
Else
Me![ProductID].ColumnWidths = "0cm;2.51cm;8cm;0cm"
Me![ProductID].ColumnCount = 4
End If