Hayley Baxter
02-15-2002, 08:29 AM
I have a text box which is set to memo. When a record is selected from my combo box the text is highlighted ie selected. I cannot go to properties and set it to enabled = no because I want the user to have the option of scrolling down here as it contains large amounts of text. How else can I achieve what I am aiming for?
Many thanks in advance
Hayley
Jack Cowley
02-15-2002, 08:38 AM
Search Help for SelStart(). You can use this to insert the cursor where you like and it will not highlight all the text.
Hayley Baxter
02-15-2002, 08:41 AM
Thanks Jack, I actually found another way. Instead of hiding my primary key on the form I made it visible and filled in the box and border colours so it couldn't be seen. I then set the tab index to 0.
[This message has been edited by Hayley Baxter (edited 02-15-2002).]