Romanichine
Programmer
Hi,
We have a form using a Combo Box component, which works fine except for one problem: When the focus is in the combo box and the user hit the submit button, it does not submit the form. The user has to hit submit a second time to really submit it. The first hit on sbumit only removes the focus from the combo box.
If the focus is on any other boxes on the form (textareas, listboxes etc..) it works on the first click.
Anyone has ever seen this?
Here's the code for the Combo box:
=======
<OBJECT codebase="../common/SPARCodebase.CAB"
NAME="cboPOPORG"
STYLE="WIDTH: 160px; HEIGHT: 24px"
CLASSID="clsid:8BD21D30-EC42-11CE-9E0D-00AA006002F3"
TABINDEX = 17
VIEWASTEXT id=OBJECT1>
<PARAM NAME="Locked" VALUE="True">
<PARAM NAME="VariousPropertyBits" VALUE="746604571">
<PARAM NAME="Style" VALUE="2">
<PARAM NAME="BackColor" VALUE="2147483653">
<PARAM NAME="ForeColor" VALUE="2147483656">
<PARAM NAME="MaxLength" VALUE="0">
<PARAM NAME="BorderStyle" VALUE="0">
<PARAM NAME="ScrollBars" VALUE="0">
<PARAM NAME="DisplayStyle" VALUE="3">
<PARAM NAME="MousePointer" VALUE="0">
<PARAM NAME="Size" VALUE="4286;635">
<PARAM NAME="PasswordChar" VALUE="0">
<PARAM NAME="ListWidth" VALUE="0">
<PARAM NAME="BoundColumn" VALUE="1">
<PARAM NAME="TextColumn" VALUE="65535">
<PARAM NAME="ColumnCount" VALUE="1">
<PARAM NAME="ListRows" VALUE="8">
<PARAM NAME="cColumnInfo" VALUE="0">
<PARAM NAME="MatchEntry" VALUE="1">
<PARAM NAME="ListStyle" VALUE="0">
<PARAM NAME="ShowDropButtonWhen" VALUE="2">
<PARAM NAME="ShowListWhen" VALUE="1">
<PARAM NAME="DropButtonStyle" VALUE="1">
<PARAM NAME="MultiSelect" VALUE="0">
<PARAM NAME="Value" VALUE="">
<PARAM NAME="Caption" VALUE="">
<PARAM NAME="PicturePosition" VALUE="458753">
<PARAM NAME="BorderColor" VALUE="2147483654">
<PARAM NAME="SpecialEffect" VALUE="2">
<PARAM NAME="Accelerator" VALUE="0">
<PARAM NAME="GroupName" VALUE="">
<PARAM NAME="FontName" VALUE="Verdana">
<PARAM NAME="FontEffects" VALUE="1073741824">
<PARAM NAME="FontHeight" VALUE="180">
<PARAM NAME="FontOffSet" VALUE="0">
<PARAM NAME="FontCharSet" VALUE="0">
<PARAM NAME="FontPitchAndFamily" VALUE="2">
<PARAM NAME="ParagraphAlign" VALUE="1">
<PARAM NAME="FontWeight" VALUE="400">
</OBJECT>
======
Thanks,
Roman
We have a form using a Combo Box component, which works fine except for one problem: When the focus is in the combo box and the user hit the submit button, it does not submit the form. The user has to hit submit a second time to really submit it. The first hit on sbumit only removes the focus from the combo box.
If the focus is on any other boxes on the form (textareas, listboxes etc..) it works on the first click.
Anyone has ever seen this?
Here's the code for the Combo box:
=======
<OBJECT codebase="../common/SPARCodebase.CAB"
NAME="cboPOPORG"
STYLE="WIDTH: 160px; HEIGHT: 24px"
CLASSID="clsid:8BD21D30-EC42-11CE-9E0D-00AA006002F3"
TABINDEX = 17
VIEWASTEXT id=OBJECT1>
<PARAM NAME="Locked" VALUE="True">
<PARAM NAME="VariousPropertyBits" VALUE="746604571">
<PARAM NAME="Style" VALUE="2">
<PARAM NAME="BackColor" VALUE="2147483653">
<PARAM NAME="ForeColor" VALUE="2147483656">
<PARAM NAME="MaxLength" VALUE="0">
<PARAM NAME="BorderStyle" VALUE="0">
<PARAM NAME="ScrollBars" VALUE="0">
<PARAM NAME="DisplayStyle" VALUE="3">
<PARAM NAME="MousePointer" VALUE="0">
<PARAM NAME="Size" VALUE="4286;635">
<PARAM NAME="PasswordChar" VALUE="0">
<PARAM NAME="ListWidth" VALUE="0">
<PARAM NAME="BoundColumn" VALUE="1">
<PARAM NAME="TextColumn" VALUE="65535">
<PARAM NAME="ColumnCount" VALUE="1">
<PARAM NAME="ListRows" VALUE="8">
<PARAM NAME="cColumnInfo" VALUE="0">
<PARAM NAME="MatchEntry" VALUE="1">
<PARAM NAME="ListStyle" VALUE="0">
<PARAM NAME="ShowDropButtonWhen" VALUE="2">
<PARAM NAME="ShowListWhen" VALUE="1">
<PARAM NAME="DropButtonStyle" VALUE="1">
<PARAM NAME="MultiSelect" VALUE="0">
<PARAM NAME="Value" VALUE="">
<PARAM NAME="Caption" VALUE="">
<PARAM NAME="PicturePosition" VALUE="458753">
<PARAM NAME="BorderColor" VALUE="2147483654">
<PARAM NAME="SpecialEffect" VALUE="2">
<PARAM NAME="Accelerator" VALUE="0">
<PARAM NAME="GroupName" VALUE="">
<PARAM NAME="FontName" VALUE="Verdana">
<PARAM NAME="FontEffects" VALUE="1073741824">
<PARAM NAME="FontHeight" VALUE="180">
<PARAM NAME="FontOffSet" VALUE="0">
<PARAM NAME="FontCharSet" VALUE="0">
<PARAM NAME="FontPitchAndFamily" VALUE="2">
<PARAM NAME="ParagraphAlign" VALUE="1">
<PARAM NAME="FontWeight" VALUE="400">
</OBJECT>
======
Thanks,
Roman