4.3 version
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 4.3 version
New sample program "motion detector.txt" will be added to Interactive Interface section.
This program monitores device camera, starts video recording when motion before camera is detected and records until motion is finished. Recorded video samples can be viewed directly in the program.
This program monitores device camera, starts video recording when motion before camera is detected and records until motion is finished. Recorded video samples can be viewed directly in the program.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 4.3 version
New command will be added:
SLIDER n$ VALUE k AT x,y SIZE s ANGLE a
creates slider with name [n$], value [k], at point [x,y], with size [s] and at an angle [a] to horizontal direction. Valid values for [k] are from 0 to 1. Parameter ANGLE is optional. Command OPTION ANGLE affects this command.
These commands will become obsolete:
SLIDER VALUE AT HSIZE
SLIDER VALUE AT VSIZE
SLIDER n$ VALUE k AT x,y SIZE s ANGLE a
creates slider with name [n$], value [k], at point [x,y], with size [s] and at an angle [a] to horizontal direction. Valid values for [k] are from 0 to 1. Parameter ANGLE is optional. Command OPTION ANGLE affects this command.
These commands will become obsolete:
SLIDER VALUE AT HSIZE
SLIDER VALUE AT VSIZE
-
- Posts: 814
- Joined: Tue Apr 09, 2013 12:23 pm
- My devices: iPhone,iPad
Windows - Location: Groningen, Netherlands
- Flag:
Re: 4.3 version
GREAT !Mr. Kibernetik wrote:New sample program "motion detector.txt" will be added to Interactive Interface section.
This program monitores device camera, starts video recording when motion before camera is detected and records until motion is finished. Recorded video samples can be viewed directly in the program.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 4.3 version
New command will be added:
SET TOOLBAR OFF
SET TOOLBAR ON
turns OFF and turns ON visibility of top control toolbar. It also affects position of main graphics window on the screen. ATTENTION: if program is stopped when control toolbar is hidden then application control will be completely lost.
Application stability will be improved.
SET TOOLBAR OFF
SET TOOLBAR ON
turns OFF and turns ON visibility of top control toolbar. It also affects position of main graphics window on the screen. ATTENTION: if program is stopped when control toolbar is hidden then application control will be completely lost.
Application stability will be improved.
Re: 4.3 version
Hello there.
I was thinking about this feature and how it might be implemented.
I realised that if the app goes in debug mode the toolbar can show up so you can navigate back to the app then smartBasic can hide it again if it was hidden. If the app stops and smartBasic doesn't exit (because it was not started by a bookmark or other iOS app) then it should reappear when you go to edit mode.
I was thinking about this feature and how it might be implemented.
I realised that if the app goes in debug mode the toolbar can show up so you can navigate back to the app then smartBasic can hide it again if it was hidden. If the app stops and smartBasic doesn't exit (because it was not started by a bookmark or other iOS app) then it should reappear when you go to edit mode.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 4.3 version
Yes, nice comment! This kind of "smart" behavior can be added in future versions.basiccode wrote:Hello there.
I was thinking about this feature and how it might be implemented.
I realised that if the app goes in debug mode the toolbar can show up so you can navigate back to the app then smartBasic can hide it again if it was hidden. If the app stops and smartBasic doesn't exit (because it was not started by a bookmark or other iOS app) then it should reappear when you go to edit mode.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 4.3 version
I also want to add that this toolbar functionality does not affect debugging.basiccode wrote:Hello there.
I was thinking about this feature and how it might be implemented.
I realised that if the app goes in debug mode the toolbar can show up so you can navigate back to the app then smartBasic can hide it again if it was hidden. If the app stops and smartBasic doesn't exit (because it was not started by a bookmark or other iOS app) then it should reappear when you go to edit mode.
So if program was paused by DEBUG PAUSE command when toolbar was hidden, then in debug window toolbar will be present anyway.
Re: 4.3 version
Yes. I noticed there is 3 states where smartBasic has to be smartBasic.
In debug mode in edit mode and when a user app ends if smartBasic hasn't exited.
In debug mode in edit mode and when a user app ends if smartBasic hasn't exited.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: 4.3 version
Yes, I understand your idea.basiccode wrote:Yes. I noticed there is 3 states where smartBasic has to be smartBasic.
In debug mode in edit mode and when a user app ends if smartBasic hasn't exited.
-
- Posts: 814
- Joined: Tue Apr 09, 2013 12:23 pm
- My devices: iPhone,iPad
Windows - Location: Groningen, Netherlands
- Flag:
Re: 4.3 version
Do you mean that SB is removed from the background as well? If not, could you implement the EXIT statement in that way?Mr. Kibernetik wrote:New command will be added:
EXIT
ends program execution and quits application.
(I frequently use a little SB app. When i forget to delete SB from the background, my iphone is totally dead after some hours, which is very nasty sometimes).