Borrowed from the Clipper
Code: Select all
Keyboard Chr(K_END)The demo is attached below.
Moderator: Rathinagiri
Code: Select all
Keyboard Chr(K_END)Keyboard is a console mode command. It does not work in GUI mode.Czarny_Pijar wrote:How to move programically the cursor to the end in the textbox?
Borrowed from the Clipperseems to be useless.Code: Select all
Keyboard Chr(K_END)
The demo is attached below.
Hi CzarnyCzarny_Pijar wrote:How to move programically the cursor to the end in the textbox?
Borrowed from the Clipperseems to be useless.Code: Select all
Keyboard Chr(K_END)
The demo is attached below.
Code: Select all
Main.Text_1.CaretPos := LEN( Main.Text_1.Value )I have no time right now to comment in detail, but (unless i have misunderstood your question) you may find what you are looking for into attached code.Czarny_Pijar wrote:Tank you all, this works, but... We come back to the auto-trim inside the textbox problem discussed earlier here. Because of this, the new problem emerged:
How to programically add the space sign to the end of the string inside the textbox?
I suspect this is not possible, but... Let ours gurus confirm this.
You're right! And this "losing functionality" is probably due to some serious "feature" (or should i say bug?)Czarny_Pijar wrote:Thank you PeteWG for your code. I tried to use it, here's the stripped down version. Unfortunately it lost its functionality for no apparent (for me) reason. At this stage I see, only the predefined values of the strings can be SMART-ENDED