|
Post by Stefan on Apr 27, 2023 11:00:29 GMT -5
George,
v23111
The "OK to Send to Recylce Bin" window is not always large enough to show all three buttons.
I think the window width may vary only with the length of the file name and the STATE file name.
When the names are short, the "NO" button can "fall off the edge".
Perhaps your can bring the 3 buttons closer together and ensure the minimum window width is always enought to show all three buttons.
As a suggestion in the same space, I would also welcome keyboard support for this window rather than having to move the mouse and click. Not a big deal, when you're on a single display, but on dual display systems, the window is quite possibly on the other display and moving the mouse there is a pain.
Perhaps you could allow
Key "Y" to mean "Yes, this selection" Key "A" to mean "Yes, ALL selections" Key "N" to mean "No"
Forgive me, but I also wonder about the word "Selection". Perhaps the Buttons should say [ Delete ALL ] and [ DELETE Each ] and [ Cancel ]
Why...?
If I select several files to delete with 'D' on each line, then yes, I have made SEVERAL "Selections". However, if I select a block of files using the 'DD...DD' notation, I have made only ONE "Selection".
Maybe in the "DD...DD" case, SPFLite should accept a reply of "YES, This Selection" as meaning "delete the block of files" without re-prompting for each file in the block? Just a thought.
|
|
|
Post by George on Apr 27, 2023 14:37:08 GMT -5
Stefan: Yes the dialog gets tricky as it tries to self adjust to the various filename lengths, I'm sure I can fix that. As far as a 'Delete ALL' type response, this may get trickier as all the FM commands, even ranges, are mapped to individual line commands.
Not impossible, just somewhat trickier.
Let's see what I can manage.
George
|
|
|
Post by Stefan on Apr 28, 2023 2:08:52 GMT -5
George,
If the DD..DD notation acting "as one" is tricky, leave the logic asis and just implement the Delete-All, Delete-Each and Cancel proposal. Which effectively does yhe same thing already. You're really only getting rid of the concept of "Selections" in yhe buttons
|
|
|
Post by George on Apr 28, 2023 11:08:16 GMT -5
Stefan: Turns out the support for the Delete ALL version was done a while back. I've revised the private MSGBOX routine to finally get the dialog size calculated properly (I hope). I also changed the button text and added the KB single character replies. Here's what one looks like: George
|
|