![]() |
【转帖】vb6 add-in multiline textbox in taskpane
vb6 add-in: multiline textbox in taskpane
hi everybody, i coded an addin which creates a taskpane view. the taskpane view is a vb6 activex control. it contains several text boxes, combo boxes and buttons. now i tried adding a multiline textbox to the control. now when i use my addin the control works. except that pressing the return key doesn'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 and selecting 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 and 2009 sp1 i did some more tests: a multiline richtextbox works as long as you only use the return key. as soon as you type a letter the return key will no longer work. try ctrl + enter tried that long ago. didn't help. |
所有的时间均为北京时间。 现在的时间是 02:57 PM. |