File Save not working on new documents

English main discussion
Post Reply
  • Author
  • Message
Offline
Posts: 21
Joined: Mon Mar 14, 2011 1:27 pm

File Save not working on new documents

Post by danf84 »

Any idea why CTRL + S/File Save doesn't work when creating a new document? It appears grayed out. I sometimes create a document before I start editing it. It's a minor thing, but the logic of this feature - which seems like someone's clever idea - is beyond me.

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

danf84
Changed. Now "Save" will be available for a new unchanged document.

Offline
Posts: 2247
Joined: Tue Aug 07, 2007 2:03 pm
Location: Vinnitsa, Ukraine

Post by FeyFre »

Instructor, I hope it will be optional and NOT default behaviour?

Offline
Posts: 21
Joined: Mon Mar 14, 2011 1:27 pm

Post by danf84 »

@FeyFre If it is to become optional, the default should be the standard behaviour (which is to be able to save even an empty document, for the purposes of creating the file physically).

Offline
Posts: 2247
Joined: Tue Aug 07, 2007 2:03 pm
Location: Vinnitsa, Ukraine

Post by FeyFre »

danf84, save what? Nothing? You can do it without AP:

Code: Select all

copy nul "filename"
Standard behaviour is "no changes - no urgency to save". Will you provide me and whoever ask you with extra flash devices, because of your "Standard behaviour" which is destructible for devices with limited write cycles?

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

FeyFre
All that was changed:
AkelPad.c wrote:EnableMenuItem(hMainMenu, IDM_FILE_SAVE, (lpFrameCurrent->ei.bModified || !lpFrameCurrent->wszFile[0])?MF_ENABLED:MF_GRAYED);

Offline
Posts: 1
Joined: Fri Nov 02, 2012 6:10 am
Location: new york

Post by brad000123 »

Instructor thank you tip work for me


ben shapiro
one piece
https://techmagzine.com/
Post Reply