JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

Minor enhancement for RM

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Software
View previous topic :: View next topic  
Author Message
rickety



Joined: 03 Aug 2003
Posts: 101

                    
PostPosted: Mon Feb 16, 2004 8:34 pm    Post subject: Minor enhancement for RM Reply with quote

When I start RM then use it to load a KM file, it first asks whether I want to save its current upgrade. Can you incorporate an option to realise that no upgrade has yet been loaded and therefore there is no need to ask whether to save an upgrade?

I know that I can navigate with explorer to my km file and then a double click will start it with the km loaded, but that's not usually the way I start the program.
Back to top
View user's profile Send private message MSN Messenger
gfb107
Expert


Joined: 03 Aug 2003
Posts: 3411
Location: Cary, NC

                    
PostPosted: Mon Feb 16, 2004 9:27 pm    Post subject: Reply with quote

Actually, this is not a minor change. Cause what you really want to know is whether or not there's been any changes since the last load or save. I looked into this before, and it isn't as simple as you would think.

You'll just have to set Options->Prompt to Save to "On Exit" or "Never"
_________________
-- Greg
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
Back to top
View user's profile Send private message Visit poster's website
rickety



Joined: 03 Aug 2003
Posts: 101

                    
PostPosted: Tue Feb 17, 2004 6:55 pm    Post subject: Reply with quote

The way I try to do this with my programs and scripts is that when there is any input I set a "dirty flag". I don't really mind if someone overwrites a field with exactly the same data, we just want to know whether they have done anything before they do "New" or "Open".

If no actions that might change the content have occured, when the user does a "New" or "Open" the dirty flag is off so I don't ask whether a save should be done.

I can understand that there are higher priorities, and it's difficult in some programming environments to be aware whether a field has changed. I have added this explanation in case there might be an easier way than comparing file contents.

Best regards
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Software All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control