Stan Berka wrote:
> Wonderfull!
> Why isn't the new "undo" function called simply "Make Table Uneditable"
> or make it a check-type menu item called "Table Editable"?
Glad you like it.
It's called "Undo Make Editable" because the "Make Editable" is
implemented as an override of what you have selected in the Session
Properties. If we called it "Make Read-only" or some such, then if your
session properties were set to "Editable Table", you would expect to be
able to temporarilly set the table to read-only by selecting that item
in the menu, and that's not how the code is currently designed.
As for a check-type menu, I suppose it could have been built that way.
It didn't occur to me because I already had the menu item for "Make
Editable". I was able to piggy-back the "Undo" on the existing
mechanism by generalizing it just a bit, so reusing the existing code
seemed the best way to go.
Of course, if a check-type menu is important to you, the code IS open
source! :-)
Glenn
>
> Stan
>
> Glenn Griffin wrote:
>
>> Stan,
>>
>> The current dev version now has a feature that lets you undo the
>> effect of the "Make Editable" menu option. If you have the Session
>> Properties for the Table set to either "Table" or "Text" and you
>> select "Make Editable" on a table, you may later select "Undo Make
>> Editable" from the right-mouse button and it will return you to the
>> mode specified in the Session Properties.
>>
>> (Colin; As you see, your invaluable help allowed me to get CVS working
>> again. Thanks.)
>>
>> Glenn
>>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Sleepycat Software
> Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to
> deliver higher performing products faster, at low TCO.
> http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
> _______________________________________________
> Squirrel-sql-develop mailing list
> Squ...@li...
> https://lists.sourceforge.net/lists/listinfo/squirrel-sql-develop
>
|