Hi everybody,
I coded an addin which creates a taskpane view. The taskpane viewis a VB6 ActiveX control. It contains several text boxes, comboboxes and buttons.
Now I tried adding a multiline textbox to the control. Now when Iuse my addin the control works. Except that pressing the return keydoesn't create a new line. I can write letters, numbers, symbols -you name it. But I cannot create new lines.
Pressing return doesn't call any event handlers (I tested KeyUp,KeyDown and KeyPress). But return work for pressing buttons andselecting items from a combo box.
How can I make a multiline textbox react to the return key?
Regards,
Simon
BTW: This behaviour occurs in SolidWorks 2007 SP5, 2008 SP4 and2009 SP1SolidworksApi macros

I coded an addin which creates a taskpane view. The taskpane viewis a VB6 ActiveX control. It contains several text boxes, comboboxes and buttons.
Now I tried adding a multiline textbox to the control. Now when Iuse my addin the control works. Except that pressing the return keydoesn't create a new line. I can write letters, numbers, symbols -you name it. But I cannot create new lines.
Pressing return doesn't call any event handlers (I tested KeyUp,KeyDown and KeyPress). But return work for pressing buttons andselecting items from a combo box.
How can I make a multiline textbox react to the return key?
Regards,
Simon
BTW: This behaviour occurs in SolidWorks 2007 SP5, 2008 SP4 and2009 SP1SolidworksApi macros