Hi! I’m aware that there allready are several other topics concerning this issue, but none of them has given me a usefull solution:-) I have created a form, where I want the the user to be able to type a text over several lines. Therefor I’ve placed a textbox with the multiline property = ‘yes’. But it doesn’t seem to do the trick…When I’m typing a “long” line and ENTER, it doesn’t continue on the next line?? What I’m looking for, is a way of using a textbox as editor?? Does anyone have a clue??? Jens
Hi, will jump to the next control - this is standard Navision behaviour. You can simulate a forced linebreak using a Backslash “”. Be aware, though, that the backslash character will show up in controls where the MultiLine property is set to false or if the height of the control cannot contain the number of lines - so this, really, isn’t a very good solution. Text-editing facilities in (standard) Navision are very poor. It can be remedied using an OCX and blobfields - but that’s another story [;)]
Hi, This might be a solution. Create a form and on that form place 5 textboxes on the form. Change the property ‘border’ to No and the property ‘AutoEnter’ to Yes of every textbox. This way when you press enter in the textbox or when the first textbox is full it jumps to the next textbox. regards, Wendy
Hi Wendy I’ve thought of that solution myself, but to have this work properly you would have to define as many variables as in the “original” variabel and place them in the same number of textboxes - but yes, that would work! Jens
Create a form and on that form place 5 textboxes on the form. Change the property ‘border’ to No and the property ‘AutoEnter’ to Yes of every textbox. This way when you press enter in the textbox or when the first textbox is full it jumps to the next textbox.
Originally posted by naessenswendy - 2005 May 25 : 10:05:12
Hm, so far so good. What do you suggest for “inserting” characters if you exeed the length of the textfield?