Silverfrost Forums

Welcome to our forums

%ac number key accelerators

10 Jul 2013 10:22 #12580

I'm trying to use the number keys + Ctrl as accelerators but they don't seem to work (tried in old and latest versions of the compiler).

%ac[Ctrl+1] or %ac[Ctrl+Shift+1] etc. have no effect with number keys 1-0.

Is there something special I should be doing or some good reason why number keys don't work? (Catching the key presses in WM_KEYDOWN works fine).

Thanks

10 Jul 2013 2:17 #12581

I have fixed this and uploaded a new salflibc.dll to http://www.silverfrost.com/beta/salflibc.exe.

This is a self-extracting archive. Save your old salflibc.dll and salflibc.lib and replace with those extracted from the archive.

4 Feb 2015 8:18 #15597

I'm having trouble using %ac for a shifted tab (aka the back-tab). My %ac looks like:

 k = winio@('%ac[Shift+Tab]&',back_tab_key)

This is part of a text array (%tx) whose creation is:

k = winio@('%^80.25tx[FULL_CHAR_INPUT,USE_TABS]&',
     SCREEN_DATA,SCREEN_ATTR,MMC,MMR,KEYSTROKE)

The function KEYSTROKE is picking up the TAB key, but not the SHIFT+TAB. I've tried this with USE_TABS and without, but the same results that the back tab is not being picked up.

I can't figure out what is wrong, or if it is just not possible. Bill

5 Feb 2015 6:49 #15602

I have logged this for investigation but Shift+Tab is used by Windows to move to the previous control (in the 'tab' order) in the dialog so it might not be available to ClearWin+ users.

25 May 2016 3:46 #17515

This has been fixed for the next release. SHIFT+TAB will respond correctly.

25 May 2016 5:31 #17516

Thanks, Paul!

Please login to reply.