T
ThomasAJ
An important user wants to have a '*' inserted at the beginning of a NEW LINE
in certain controls when the ENTER key is pressed.
OK so in the Form_KeyDown event I can determine if the enter key has been
pressed, and I also know the name of the ActiveControl. The controls in
question have the NewLine property set to YES.
So how to insert a '*' at the beginning of the new line. I have tried some
silly code in the Form_KeyDown event but I think it is the wrong place to go
changing control text.
Also bear in mind that the ENTER key may have been pressed in the middle of
existing text and not just at the end.
in certain controls when the ENTER key is pressed.
OK so in the Form_KeyDown event I can determine if the enter key has been
pressed, and I also know the name of the ActiveControl. The controls in
question have the NewLine property set to YES.
So how to insert a '*' at the beginning of the new line. I have tried some
silly code in the Form_KeyDown event but I think it is the wrong place to go
changing control text.
Also bear in mind that the ENTER key may have been pressed in the middle of
existing text and not just at the end.