
Quote from rcohen on March 14, 2022, 11:14 pmHiya,
I have always had an issue with Neo and now Visual Neo where using Ctrl+A inside of text objects in my pubs. So I assumed it was some limitation with VNeo. I was just told by Zaeem that this works fine for him, even MY pubs that run on his system. So I'm wondering what would affect this on just MY machine... and if this is a problem with anyone else ?
Ctrl+A works in literally every other software I run... just not Neo. Any thoughts on the subject are greatly appreciated.
And thanks!
Hiya,
I have always had an issue with Neo and now Visual Neo where using Ctrl+A inside of text objects in my pubs. So I assumed it was some limitation with VNeo. I was just told by Zaeem that this works fine for him, even MY pubs that run on his system. So I'm wondering what would affect this on just MY machine... and if this is a problem with anyone else ?
Ctrl+A works in literally every other software I run... just not Neo. Any thoughts on the subject are greatly appreciated.
And thanks!


Quote from rcohen on March 14, 2022, 11:27 pmI'm not doing this via script. I'm talking about when I work directly in the multiline text input and I wish to select all. The actual Ctrl+A keys do not work for me, but they work for others...
I'm not doing this via script. I'm talking about when I work directly in the multiline text input and I wish to select all. The actual Ctrl+A keys do not work for me, but they work for others...

Quote from Vadim on March 15, 2022, 5:32 am@rcohen
Perhaps some program has overridden this keyboard shortcut on your computer.
You can try simply removing the keyboard from Device Manager, then click "Update Hardware Configuration" in Device Manager. Once the keyboard appears again, highlight it and click "Update Drivers". Then restart your computer.
You can also check what this combination is used for in MS Office, if it is installed.
https://support.microsoft.com/en-us/office/customize-keyboard-shortcuts-9a92343e-a781-4d5a-92f1-0f32e3ba5b4dYou can also try some utility that can reset keyboard shortcuts to their original settings, restore defaults.
Perhaps some program has overridden this keyboard shortcut on your computer.
You can try simply removing the keyboard from Device Manager, then click "Update Hardware Configuration" in Device Manager. Once the keyboard appears again, highlight it and click "Update Drivers". Then restart your computer.
You can also check what this combination is used for in MS Office, if it is installed.
https://support.microsoft.com/en-us/office/customize-keyboard-shortcuts-9a92343e-a781-4d5a-92f1-0f32e3ba5b4d
You can also try some utility that can reset keyboard shortcuts to their original settings, restore defaults.

Quote from rcohen on March 15, 2022, 6:06 amHi @Vadim,
I checked that years ago also. But after a long long time of chasing answers, the ONLY software it affects is Neo created applications. I can have a Neo app and say notepad open side by side. Notepad will work just fine, the Neo app will not. I have no clue why. I was guessing / hoping it was a setting someplace in VisualNeo.
But at least I know it's just me, so I guess I can live with it.
The other thing is, Ctrl+A is a global standard hotkey in Windows. I really don't see another application hijacking that one... We'll find this one on the show Unsolved Mysteries at some point, I just know it ;-)
Hi @Vadim,
I checked that years ago also. But after a long long time of chasing answers, the ONLY software it affects is Neo created applications. I can have a Neo app and say notepad open side by side. Notepad will work just fine, the Neo app will not. I have no clue why. I was guessing / hoping it was a setting someplace in VisualNeo.
But at least I know it's just me, so I guess I can live with it.
The other thing is, Ctrl+A is a global standard hotkey in Windows. I really don't see another application hijacking that one... We'll find this one on the show Unsolved Mysteries at some point, I just know it ;-)

Quote from Vadim on March 15, 2022, 6:09 am@rcohen
Yeah, that's pretty interesting ))
Ctrl+A doesn't work in a compiled application or during development?
Yeah, that's pretty interesting ))
Ctrl+A doesn't work in a compiled application or during development?

Quote from rcohen on March 15, 2022, 7:28 amThis is correct and I find this equally weird. But I'm not THAT curious as to stop everything and start digging deep ;-0 I've worked about that now for years ;-9 I figured perhaps someone else may have bumped into this and found a setting or something ;-) And both... IDE and compiled...
This is correct and I find this equally weird. But I'm not THAT curious as to stop everything and start digging deep ;-0 I've worked about that now for years ;-9 I figured perhaps someone else may have bumped into this and found a setting or something ;-) And both... IDE and compiled...
Quote from Gaev on March 15, 2022, 10:32 pm@rcohen
For what it is worth, it works on my NeoBook v 5.8. (sorry I have not upgraded).
Given all the "works/doesn't work" scenarios you listed, the possible root cause narrows down to ...
a) something on Robert's machine ... can you copy the .exe file to another PC of yours and see how it behaves there ?
b) something about Robert (LOL); seriously though, is the focus on the multi-line Text object at the time you do the Ctrl+A thing ? i.e. is the blinking vertical bar in the focused TextArea at the time you hold down the Ctrl key and before you press the A key ?
I suggest you start with a clean (new) pub with just one Multi-line Text object.
a) Type something in the box and the do the Ctrl+A thing.
b) Just a Hail Mary Pass but, even if it does not change to a blue background, try Ctrl+C ... and then try a Ctrl+V into notepad.exe ... see if it is the just the "selected indicator" that is the problem.
c) Also, you might try an add a Button whose code is ...
SendKeys "" "{CtrlDn}a{CtrlUp}"... see if that works.
For what it is worth, it works on my NeoBook v 5.8. (sorry I have not upgraded).
Given all the "works/doesn't work" scenarios you listed, the possible root cause narrows down to ...
a) something on Robert's machine ... can you copy the .exe file to another PC of yours and see how it behaves there ?
b) something about Robert (LOL); seriously though, is the focus on the multi-line Text object at the time you do the Ctrl+A thing ? i.e. is the blinking vertical bar in the focused TextArea at the time you hold down the Ctrl key and before you press the A key ?
I suggest you start with a clean (new) pub with just one Multi-line Text object.
a) Type something in the box and the do the Ctrl+A thing.
b) Just a Hail Mary Pass but, even if it does not change to a blue background, try Ctrl+C ... and then try a Ctrl+V into notepad.exe ... see if it is the just the "selected indicator" that is the problem.
c) Also, you might try an add a Button whose code is ...
SendKeys "" "{CtrlDn}a{CtrlUp}"
... see if that works.

Quote from rcohen on March 16, 2022, 1:16 amHi @gaev
Great idea (try to copy/paste anyway despite lack of highlight). I'll give that a try.
I have had my own pubs checked (as exe's) on other systems, including Zaeem's and it worked fine, so I know the issue is me. ;-)
I'll report back ;-)
Thanks.
PS: Did my email make it to you? Not sure I have your current addy
Hi @gaev
Great idea (try to copy/paste anyway despite lack of highlight). I'll give that a try.
I have had my own pubs checked (as exe's) on other systems, including Zaeem's and it worked fine, so I know the issue is me. ;-)
I'll report back ;-)
Thanks.
PS: Did my email make it to you? Not sure I have your current addy

Quote from rcohen on March 16, 2022, 1:25 amHi @gaev
The button not only didn't work (I started with a focus object) but it dinged (error). Didn't generate any error in Neo .... just didn't work.
Interestingly enough however, was the right mouse "Select All" works just fine. Just NOT the hotkey. ;-0
The blind cut and paste did not work ;-0
Hi @gaev
The button not only didn't work (I started with a focus object) but it dinged (error). Didn't generate any error in Neo .... just didn't work.
Interestingly enough however, was the right mouse "Select All" works just fine. Just NOT the hotkey. ;-0
The blind cut and paste did not work ;-0
Quote from Gaev on March 16, 2022, 4:43 am@rcohen
I have had my own pubs checked (as exe's) on other systems, including Zaeem's and it worked fine, so I know the issue is me. ;-)
I know that; but if YOU replicate it on another machine, you can be sure that YOUR actions are being replicated (unbeknownst to you, Zaeem might be doing something different/correct) ... the result could point to Device difference vs. Robert difference.
The button not only didn't work (I started with a focus object) but it dinged (error).
Try this code in the Button (to make sure the TextArea object has focus (clicking on the button might make the TextArea lose Focus) ...
FocusObject "nameOfYourTextEntryObjectHere" SendKeys "" "{CtrlDn}a{CtrlUp}"Also, can you tell if Ctrl+V pastes text into the TextArea when it has focus ? (you will have to copy something from notepad into the clipboard first).
I have had my own pubs checked (as exe's) on other systems, including Zaeem's and it worked fine, so I know the issue is me. ;-)
I know that; but if YOU replicate it on another machine, you can be sure that YOUR actions are being replicated (unbeknownst to you, Zaeem might be doing something different/correct) ... the result could point to Device difference vs. Robert difference.
The button not only didn't work (I started with a focus object) but it dinged (error).
Try this code in the Button (to make sure the TextArea object has focus (clicking on the button might make the TextArea lose Focus) ...
FocusObject "nameOfYourTextEntryObjectHere"
SendKeys "" "{CtrlDn}a{CtrlUp}"
Also, can you tell if Ctrl+V pastes text into the TextArea when it has focus ? (you will have to copy something from notepad into the clipboard first).

Quote from Vadim on March 16, 2022, 7:23 am
@gaev @rcohen
Interestingly, this method works in the compiled application and does not work in test mode. Try the demo file.
I have extended the code a bit:
FocusObject "TextEntry1"
If "[NBMode]" "=" "D"
SendKeys "CtrlA_Test.exe" "{CtrlDn}a{CtrlUp}"
Else
SendKeys "CtrlA.exe" "{CtrlDn}a{CtrlUp}"
EndIF
Interestingly, this method works in the compiled application and does not work in test mode. Try the demo file.
I have extended the code a bit:
FocusObject "TextEntry1"
If "[NBMode]" "=" "D"
SendKeys "CtrlA_Test.exe" "{CtrlDn}a{CtrlUp}"
Else
SendKeys "CtrlA.exe" "{CtrlDn}a{CtrlUp}"
EndIF
Uploaded files:

Quote from rcohen on March 16, 2022, 8:55 amHi @vadim
Thanks for the pub. I ran it both in IDE and as an exe, and it failed both times in exactly the same way. It "dinged" as with an error and did absolutely nothing.
It doesn't seem to matter what triggers an Ctrl+A call, they all bump into the same brick wall ;-0
Thanks again for the attempt. But like I mentioned, as long as it's just on MY end, it's not an issue. If it works on other persons machines then it's all good with me ;-)
Whatever the problem is, is absolutely with me and me alone, so it seems ;-)
Thanks again Vadim!
Hi @vadim
Thanks for the pub. I ran it both in IDE and as an exe, and it failed both times in exactly the same way. It "dinged" as with an error and did absolutely nothing.
It doesn't seem to matter what triggers an Ctrl+A call, they all bump into the same brick wall ;-0
Thanks again for the attempt. But like I mentioned, as long as it's just on MY end, it's not an issue. If it works on other persons machines then it's all good with me ;-)
Whatever the problem is, is absolutely with me and me alone, so it seems ;-)
Thanks again Vadim!