<Alt>+F, "C" to close a file...

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
HwyStar
Enthusiast
Enthusiast
Posts: 101
Joined: Mon Apr 05, 2010 7:13 pm
Location: Reno, Nevada

<Alt>+F, "C" to close a file...

Post by HwyStar »

"I think" that a pseudo-windows standard keystroke combination to close a file from the file menu is: <Alt>+F, "C".

The default PB environment uses <Ctrl>+W.

Alt+F and "C" do not close a file even though the "C" is underlined.
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

Re: <Alt>+F, "C" to close a file...

Post by Fluid Byte »

Works fine for me.
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: <Alt>+F, "C" to close a file...

Post by Vera »

Hi HwyStar,

unfortunatly I can confirm this for Windows and it's corrupt since PB 4.50. Besides it doesn't only concern the <Alt>+F, "C" - none of any menushortcuts work, you can only open the menu.

I also couldn't make out any dependencies with e.g. chosen language or theme nor case sensitises. The only other mischief that is not dissolved yet are some double occupancies of predefined shortcuts, but this shouldn't cripple the whole menu.

Seems this is less a feature request but a bug report.

greetings ~ Vera
User avatar
Michael Vogel
Addict
Addict
Posts: 2797
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: <Alt>+F, "C" to close a file...

Post by Michael Vogel »

Vera,
do you have problems with File/Close only or with ALL menu shortcuts, like Compiler/Options etc.?

I do (using Windows XP) and need to press cursor up/down now for these things, creating an exe file for example: Alt+C, up, up, up, up :twisted:

Michael
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: <Alt>+F, "C" to close a file...

Post by Vera »

Michael Vogel wrote:Vera,
do you have problems with File/Close only or with ALL menu shortcuts, like Compiler/Options etc.?
Yes - with all of them (XP SP2).
I didn't try your method yet (I think it would work as well) as I've got used to using the mouse only for the menu and assigned shortcuts for several, often used functions.

Vera
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Re: <Alt>+F, "C" to close a file...

Post by Trond »

I also have this problem. It's annoying, please fix it! The worst part is that all programs created with PB will have this problem.
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: <Alt>+F, "C" to close a file...

Post by Vera »

Trond wrote:I also have this problem. It's annoying, please fix it! The worst part is that all programs created with PB will have this problem.
Yes, but for the worst - that's not the IDE, that's only occuring when using imaged menus (and styling). With normal menus hotkeys still work.

see bugreports:
http://www.purebasic.fr/english/viewtop ... =4&t=42407 / http://www.purebasic.fr/english/viewtop ... =4&t=41792 / http://www.purebasic.fr/english/viewtop ... =4&t=39625
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Re: <Alt>+F, "C" to close a file...

Post by Trond »

You could turn off styled menus in the IDE too, right?
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: <Alt>+F, "C" to close a file...

Post by Vera »

Trond wrote:You could turn off styled menus in the IDE too, right?
No, the IDE isn't styled like #PB_Menu_ModernLook (luckily, and I hope it never will) and you can't deselect the icon display nor make it a none-imaged-menu.
It worked allright up to 4.41 - so why not afterwards as well ?
User avatar
HwyStar
Enthusiast
Enthusiast
Posts: 101
Joined: Mon Apr 05, 2010 7:13 pm
Location: Reno, Nevada

Re: <Alt>+F, "C" to close a file...

Post by HwyStar »

If I go to File, Preferences, General, Themes, and deselect Display Icons in the Menu, then the Alt+F, "C" works!

I could care less about the Icons... I use multiple editors and this was the only one that didn't work. Good Job People!

Just update the preferences text in the Display Icons in the Menu section to let us know that keyboard shortcuts will not work because the images are present... My other compiler does not have images present and it works as advertised. Hmmm a Windows thing? Who cares! Just document it and move on! Some people use the mouse a lot, old-timers like me never use the mouse if we don't have to. We could care less for more real-estate to click on.
User avatar
TomS
Enthusiast
Enthusiast
Posts: 342
Joined: Sun Mar 18, 2007 2:26 pm
Location: Munich, Germany

Re: <Alt>+F, "C" to close a file...

Post by TomS »

HwyStar wrote:If I go to File, Preferences, General, Themes, and deselect Display Icons in the Menu, then the Alt+F, "C" works!
Thank you. 8)
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: <Alt>+F, "C" to close a file...

Post by Vera »

@HwyStar

thanks too ;)

I never see these check-options as I'm blinded by the 4 icon previews I have in there.

But turning off the icon display to regain the shortcut function, that previously used to work, is like abandoning any feature containing a bug one after the other ... until you'll end up without any OS :mrgreen:
Post Reply