|
Post by George on Jun 23, 2021 11:33:21 GMT -5
Hi, Another release. Mostly bug fixes, but there are two other improvements. - The major improvements to the Help command that Robert and I have been working out recently are included. You should find that searching for assistance in the Help file is now much easier.
- A change to the File Manager sort routine. It will now sort file names in the identical order as Windows Explorer. The significant difference is that numerical strings within file names are handled logically, regardless of the length of the numerical string. e.g. FILE20 will sort after FILE3, 224FILE will sort after 43FILE
See the Change Log for details of the other minor changes.
George
|
|
|
Post by George on Jun 23, 2021 12:46:30 GMT -5
Works fine here. Check the title bar carefully. If you go from FS to non-FS, the non-FS opens with the last used. Which may be in stretchable mode, but fully stretched.
Let me know.
George
|
|
|
Post by George on Jun 23, 2021 13:31:08 GMT -5
CHM is the current viewer and should be updated automatically by Windows Update if needed.
Fire up a trivial PB program with this in it.
LOCAL PID as LONG, lclcmd as STRING lclcmd = "C:\Program Files (x86)\SPFLite2\SPFLite.chm" ' Build path (Verify this location)
lclCmd = "hh.exe -mapid 0 " + lclcmd ' Build command string
PID = SHELL(lclCmd, 1) ' 2nd oper - 1=Windowed, 3=FullScreen
and see what using 1 or 3 for the 2nd SHELL operand does. This is exactly how SPFLite invokes Help.
George
|
|
|
Post by George on Jun 23, 2021 14:27:25 GMT -5
Well, unless I've totally lost it, I use 1 or 3 -- that's why I gave those values for the small test.
Let me go again and review.
Unless you downloaded the 21174 source, then yes, all the SHELL calls were done with 1.
I checked and all looks well. I even looked at the CFG file with DBBrowser and the HelpOpen variable switches from 1 to 3 and visa versa as the checkbox is switched.
OK, found one missed SHELL, it's the one where you click in the search list after opening a previous item. It closes the previous instance and opens another one - but always with 1, not the ENV.HelpOpen variable. Oops!
Does this account for what you're seeing? All the other calls to SHELL seem correct.
George
|
|
|
Post by George on Jun 23, 2021 14:55:49 GMT -5
The only time I can find where 1 is always used is the one I mentioned, a 2nd selection from the found list. All initial selections should honor the ENV setting. I'm at a loss, you do seem to trigger a lot of odd happenings. Here's a version with that 1 error corrected. SPFLite25.exe (544 KB) If that doesn't resolve it, I want EXACTLY what you entered and selected to demonstrate the failure. George
|
|
|
Post by George on Jun 24, 2021 11:24:23 GMT -5
Sorry Robert, but using the SPFLite25.exe from the forum post 3 back (which corrects the 1 incorrect call to SHELL), everything I try is fine. Single result, one operand, multiple operands, all are handled fine. Even re-selecting a different offering from the multiple topic list, and having it shut down the previous and open a new Help session. Done with FullScreen selected and un-selected.
I'm out of ideas.
George
|
|
|
Post by George on Jun 24, 2021 14:15:03 GMT -5
Robert: OK, have a go. 25B has the forced FullScreen (3) hard coded 25C honors the ENV setting, and displays the value immediately before the SHELL command George SPFLite25B.exe (543.5 KB) SPFLite25C.exe (544 KB)
|
|
|
Post by George on Jun 24, 2021 15:08:35 GMT -5
Robert: Not sure what you're telling me. Is 25C saying SHELL option 3, but still opening in Windowed mode?
George
|
|
|
Post by George on Jun 24, 2021 15:32:49 GMT -5
Don't know. 25C is simply the production version with the extra DEBUG print statements.
Have you really got the 1st SPFLite25.EXE I posted a few posts back with the 1 line correction? This all seems so stupid, I think we're chasing a non-problem. This is really the most trivial of changes - Set up a new ENV variable that is set to 1 or 3, and then use that variable in the SHELL commands that launch HELP.
What the heck are we doing here?
George
|
|
|
Post by George on Jun 25, 2021 8:47:15 GMT -5
Robert: OK then, here's the latest, created from what I consider the final source (with that 1 line correction over the released version) But then, that should have been identical to the first 25C version I sent, which you said was faulty. George SPFLite25D.exe (544 KB)
|
|
|
Post by George on Jun 25, 2021 11:50:57 GMT -5
I guess we'll never know, delete all those test versions.
George
|
|