<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>6 Nov 2015 21:40:00 Z</lastBuildDate><pubDate>6 Nov 2015 09:03:00 Z</pubDate><description>The following line in code works:&#13;
&#13;
Button3..ShortCutKey = VK_F3&#13;
&#13;
Pressing F3 executes the code in the button.&#13;
&#13;
-----&#13;
The following does not work:&#13;
&#13;
MyString is string = "VK_F3"&#13;
Button3..ShortCutKey = MyString&#13;
&#13;
Nothing fires when I hit the F3 Key&#13;
&#13;
-----&#13;
If it is hardcoded it works, but try to assign the value to a variable and it does not. Anybody got any thoughts on how to do this?&#13;
&#13;
Thanks in advance, Art</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/54858-assigning-hotkeys/read.awp</link><title>Assigning hotkeys</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/54858-assigning-hotkeys-54865/read.awp</comments><pubDate>6 Nov 2015 21:40:00 Z</pubDate><description>Stefan, that was the trick, what WD was looking for was an Int. Thanks for pointing me in the right direction.&#13;
Art</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/54858-assigning-hotkeys-54865/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/54858-assigning-hotkeys-54865/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/54858-assigning-hotkeys/read.awp">Assigning hotkeys</source><title>Re: Assigning hotkeys</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/54858-assigning-hotkeys-54859/read.awp</comments><pubDate>6 Nov 2015 09:10:00 Z</pubDate><description>Hi Art,&#13;
&#13;
probably VK_F3 is a constant with a numeric value.&#13;
&#13;
Try:&#13;
&#13;
MyInt is int = VK-F3&#13;
Button3..ShortCutKey = MyInt&#13;
&#13;
a…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/54858-assigning-hotkeys-54859/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/54858-assigning-hotkeys-54859/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/54858-assigning-hotkeys/read.awp">Assigning hotkeys</source><title>Re: Assigning hotkeys</title></item></channel></rss>
