StormbringerX
Programmer
Hey gang,
I hope there's a simple solution but I can't see it...
I have a form with a mskedbox. This box is the key field on the form and once the data is validated the entire record is found and loaded onto the form. I also have a search button that loads the search results into a listview. The drag and drop from the listview to the mskedbox is working fine. The problem is: when dropping onto the box, the drop occurs wherever the user is pointing to in the mskedbox. Which means that unless they are very careful, they can drop the information into the middle of the field and it gets truncated. What I'm looking for is a way to left justify anything that gets dropped into the mskedbox. Is there some way to capture the data BEFORE it gets dropped so that I can manually do what I need to do? Is there some function or procedure that I'm missing?
Thanks for any help you can give...
Dave
I hope there's a simple solution but I can't see it...
I have a form with a mskedbox. This box is the key field on the form and once the data is validated the entire record is found and loaded onto the form. I also have a search button that loads the search results into a listview. The drag and drop from the listview to the mskedbox is working fine. The problem is: when dropping onto the box, the drop occurs wherever the user is pointing to in the mskedbox. Which means that unless they are very careful, they can drop the information into the middle of the field and it gets truncated. What I'm looking for is a way to left justify anything that gets dropped into the mskedbox. Is there some way to capture the data BEFORE it gets dropped so that I can manually do what I need to do? Is there some function or procedure that I'm missing?
Thanks for any help you can give...
Dave