Program Template (reposted)

Post Reply
User avatar
Dutchman
Posts: 857
Joined: Mon May 06, 2013 9:21 am
My devices: iMac, iPad Air, iPhone
Location: Netherlands
Flag: Netherlands

Program Template (reposted)

Post by Dutchman »

The "Program template", , in the section 'for beginners', created by Rbytes. has been removed a long time ago. The screenshot has remained.
See https://nitisara.ru/forum/viewtopic.php?f=88&t=2352
Rbytes was a very passionate, helpful and creative member of the forum, until the app was not updated for quite a long time. Out of frustration, he then disappeared from the forum and deleted most of his creations. What a pity.

Because it is a good start for any new program not only for beginners, but also for advanced users, I have reposted it here.
Screenshot.jpg
Screenshot.jpg (59.97 KiB) Viewed 4588 times
I made the following changes and additions in the program
• added subroutine 'ImageScale' to fit picture in screen
• added functon 'IsImage(fname$)' to test if selected file is image
• added zoom-slider for changing image size
• modified horizontal and vertical controls to get full range shift of zoomed picture
• program can now be used to save an enlarged section of the image
• for testing this, a crowded picture "Sail Amsterdam" has been added
• added option 'time24' for 24hours clock in toolbar
• Made function 'DrawInfobar' from custom toolbar subroutine
• Toolbar function reorganised
• Added 'debug' and 'quit' buttons in toolbar function
• Testprogram added to file with toolbar function
• Τext input field added with Inline input function
• Non-specific functions separated from the program file to folder 'Include':
{Include/CustomToolbar.incl}
{Include/FileRequest.incl}
{Include/TestImageFile.incl}
{Include/Inline input.incl}
These functions can thus be used by other programs

The program contains the following files:
- Read.Me
Program Template/CalcBG.jpg
Program Template/Program template.sb
Program Template/Program template.sb ORIGINAL
Program Template/Read me
Program Template/Sail Amsterdam.jpg
Program Template/Include/CustomToolbar.incl
Program Template/Include/FileRequest.incl
Program Template/Include/Inline input.incl
Program Template/Include/TestImageFile.incl

********** How to install **********
• Download the files to your iPad or iPhone
• Move the files to the folder where you want the folder "Program Template" to be created
• Remove the extensions ".txt"
- file "Install-Program Template.sb" is the program which will extract the files from the archive
- file "Program Template.archive" contains the files for the program
• Run the install-program "Install-Program Template.sb"
- Program will generate the folder "Program Template", including contents.
• Run "Program Template.sb"
Install-Program Template.sb.txt
(1.43 KiB) Downloaded 183 times
Program Template.archive.txt
(1.09 MiB) Downloaded 184 times

Chooch912
Posts: 36
Joined: Thu Apr 12, 2018 6:16 pm
My devices: iPad
Flag: United States of America

Re: Program Template (reposted)

Post by Chooch912 »

Thank you, Dutchman. I truly appreciate what you have done to help beginners such as myself (and possibly more experienced members).

User avatar
Dutchman
Posts: 857
Joined: Mon May 06, 2013 9:21 am
My devices: iMac, iPad Air, iPhone
Location: Netherlands
Flag: Netherlands

Re: Program Template (reposted)

Post by Dutchman »

Thank you for your appreciation :D

Post Reply