Column/List Width (1 Viewer)

Dreamweaver

Well-known member
Local time
Today, 14:24
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.


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
 

June7

AWF VIP
Local time
Today, 06:24
Joined
Mar 9, 2014
Messages
5,425
I tested code setting ColumnCount, ColumnWidths, ListWidth and it works.
 

Dreamweaver

Well-known member
Local time
Today, 14:24
Joined
Nov 28, 2005
Messages
2,466
I tested code setting ColumnCount, ColumnWidths, ListWidth and it works.


I'll try the list width again and take a screen shoot of the result
what value did you use for the listwidth?
 

June7

AWF VIP
Local time
Today, 06:24
Joined
Mar 9, 2014
Messages
5,425
I used 5000 for ListWidth. This is TWIPS measure. What did you use?
 

Users who are viewing this thread

Top Bottom