• The button-handling has been redesigned. It was done as a quick fit after changing from buttins to sprites. Now the handling is much simpler.
Sprites are loaded in function 'Buts' which contains also the characteristic parameters such as Buts.Count and Buts.Id$().
The buttons are positioned in the function 'PositionButs()' and activity is scanned with 'ButsTouched()'. The function 'Hit(id$)' can be used to check wether a button is touched.
• The red button-Emoji is not available in the standard characterset. Therefore the button to stop the info-panel is now added in red to the info-panel.
• The 'HiLite' of the buttons after touching has been extended to three modes: oversize, overlay and oversize+overlay.
• The 'clear'-button next to the url-field has been removed. Url-field can now be entered for editing by touching it.
• The complete Browser-folder is now available as an archive-file and an Install-program has been made.
• The Browser and its resources are no longer part of the folder 'File transfer'. It is now in a single folder "Browser" without other tools. The tools will be updated and also archived. Note: The archive-file is NOT a zip-file. It contains files compressed with the deflate-algorithm, but the total file structure is rather simple and not according the zip-standard.
The program 'MakeInstall.sb' with which these files have been created will be published shortly. It makes publishing on the forum much easier and simpler to download via the browser.
Survey of changes:
• Button-handling redesigned for button-sprites
• Three different modes for 'HiLite'
• Browser-info updated with picture of buttons
• Browser-files separated from 'File transfer'
• Boxed buttons have now larger icon
• Size of buttons reduced
• Clear-button removed, touch url-field to change url
• "continue" button added to stop info-panel
• Complete folder archived and install-program made
Now that many improvements have been made to the browser, I want to download everything again, but it is now getting a bit confusing as to where everything is to be found. Can you confirm that the Dropbox links now contain the most recent versions?
My humble suggestion is that with a new version, it is better to make a new post, rather than continue to add pages of comments and revisions to the initial post.
Thank you for your feedback.
I have removed the browser from the Dropbox-folder "File transfer" into its own folder "Browser".
The folder "File transfer" still exists, but the programs have to be adapted to the new location of the browser. I hope that only the content of the File-variables in the user-sections have to be adapted, but it is not done yet. The folder can be accessed via the following link, which is the 'old' link in this thread: https://www.dropbox.com/sh/baavn06jne57 ... S4FDa?dl=0
Sorry for the inconvenience
My Smart Basic editor seems to have gone nuts this morning. I had noticed that in the iOS 11 update, the keyboard no longer has the correct apostrophe. It is a curly on, rather than the straight one that we use to indicate comments in our code.
Today I tried to make some changes to the paths in Download.sb. Capsyntax then began to mangle the code. Regular apostrophes were substituted with the curly ones. Therefore comments ceased to be comments. Key words were then unnecessarily capitalized within all comments. Pathname words such as default were changed to DEFAULT, and the path or file then could not be found. It is a fine mess. I will post this bug, but I’m not sure if/when we can expect Mr. K. to fix it.
I shut off Capsyntax and reinstalled Browser. Then I updated the paths in Download Images.sb. It runs and is able to find an image, but then it tries to use the entire URL for the image as the filename to save in the Images folder. The program terminates with an error. I have attached a screenshot showing the error message.
I don’t want to try tweaking the code further until I know why this is happening. I can confirm that the URL for the image is correct.
Attachments
F2920C55-2AC5-4909-8C4B-35AF7FB5F1C8.png (3.36 MiB) Viewed 4215 times