ClivePerkins
Programmer
Hi,<br><br>Does anybody know how to fix the size of a design time listbox with a style set to listbox.<br><br>I have the following code<br><br><!--METADATA TYPE="DesignerControl" endspan--><br></TD></TR></TABLE><br></P></TD><br> <TD align=middle style="WIDTH: 35%" vAlign=center width="35%"><br> <!--METADATA TYPE="DesignerControl" startspan<br><OBJECT classid="clsid:B5F0E450-DC5F-11D0-9846-0000F8027CA0" height=69 id=HobbiesListbox2_MULT <br> style="HEIGHT: 69px; LEFT: 0px; TOP: 0px; WIDTH: 296px" width=196><br> <PARAM NAME="_ExtentX" VALUE="2540"><br> <PARAM NAME="_ExtentY" VALUE="1826"><br> <PARAM NAME="id" VALUE="HobbiesListbox2_MULT"><br> <PARAM NAME="DataSource" VALUE=""><br> <PARAM NAME="DataField" VALUE=""><br> <PARAM NAME="ControlStyle" VALUE="1"><br> <PARAM NAME="Lines" VALUE="5"><br> <PARAM NAME="Enabled" VALUE="-1"><br> <PARAM NAME="Visible" VALUE="-1"><br> <PARAM NAME="Platform" VALUE="256"><br> <PARAM NAME="UsesStaticList" VALUE="0"><br> <PARAM NAME="RowSource" VALUE="rsCustomerHobbies"><br> <PARAM NAME="BoundColumn" VALUE="lkCode"><br> <PARAM NAME="ListField" VALUE="lkPrompt"><br> <PARAM NAME="LookupPlatform" VALUE="0"><br> <PARAM NAME="LocalPath" VALUE=""></OBJECT><br>--><br><br>When I change the width properties, regardless of what I put, all I see is a thin strip until data is put into the box. Then it seems to automatically resize to the width of the longest textual element.<br><br>If it is not possible with this control, how else could I achieve it without putting objects on the client<br><br>Cheers<br><br><br>