mauricebaker
Programmer
I have been having a few problems with Visual Basic 6 which I am sure
are obvious to the seasoned user but have eluded me. I should be most
grateful if someone could could help.
1. When entering text into a Text Box, you would think that there would be be an Event when SCROLLING takes place. I cannot find such an event in the textbooks. If the MaxLength is set, then this does not ensure that the whole of the available space can be used because characters are of differing widths even for the same font. This problem applies to single line and multiple line Text Boxes. How on earth can you use all the available space in a text box WITHOUT AUTOMATIC SCROLLING taking place?
2. How can you stop Tab Keys and arrow keys from causing unwanted effects such as changing the Focus when Text is being entered into a Text Box? I have managed to prevent the Tab Key changing the Focus by disabling TabSet in all Controls, but this is hardly satisfactory!
are obvious to the seasoned user but have eluded me. I should be most
grateful if someone could could help.
1. When entering text into a Text Box, you would think that there would be be an Event when SCROLLING takes place. I cannot find such an event in the textbooks. If the MaxLength is set, then this does not ensure that the whole of the available space can be used because characters are of differing widths even for the same font. This problem applies to single line and multiple line Text Boxes. How on earth can you use all the available space in a text box WITHOUT AUTOMATIC SCROLLING taking place?
2. How can you stop Tab Keys and arrow keys from causing unwanted effects such as changing the Focus when Text is being entered into a Text Box? I have managed to prevent the Tab Key changing the Focus by disabling TabSet in all Controls, but this is hardly satisfactory!