Smart BASIC has this behavior by default.Ramzan wrote:How do I make a button then that will be in the same position on all devices?
Music Player
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Music Player
Re: Music Player
I'm so confused now.
Will BUTTON AT 30,700 be in the same position on every iPhone and iPad? I don't want the button to be offscreen on lower resolution phones and tablets.
Will BUTTON AT 30,700 be in the same position on every iPhone and iPad? I don't want the button to be offscreen on lower resolution phones and tablets.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Music Player
How do you plan to have button with position at 700 points height on iPhone which screen is only 480 points height?Ramzan wrote:I'm so confused now.
Will BUTTON AT 30,700 be in the same position on every iPhone and iPad? I don't want the button to be offscreen on lower resolution phones and tablets.
Re: Music Player
That's my point.
What command do I use to ensure the button is in the same position on every iPhone and iPad? How do I make such a button?
What command do I use to ensure the button is in the same position on every iPhone and iPad? How do I make such a button?
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Music Player
It will be at the same position on any iPhone or iPad.Ramzan wrote:That's my point.
What command do I use to ensure the button is in the same position on every iPhone and iPad? How do I make such a button?
But you must know that not all devices have the same screen size, and you need to take this into account.
Re: Music Player
I just don't understand anything now. Give me an example of a button that will be at the same position. Please type some code.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Music Player
BUTTON 0 TEXT "My Button" AT 10,10Ramzan wrote:I just don't understand anything now. Give me an example of a button that will be at the same position. Please type some code.
Re: Music Player
So that command will work on any iPhone and iPad because their resolutions are high enough.
But BUTTON 30,700 will ONLY work on SOME iPhones and iPads which have a resolution high enough to support it?
But BUTTON 30,700 will ONLY work on SOME iPhones and iPads which have a resolution high enough to support it?
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Music Player
They will work. But button will be off the screen on iPhones or iPods with smaller screens.Ramzan wrote:So that command will work on any iPhone and iPad because their resolutions are high enough.
But BUTTON 30,700 will ONLY work on SOME iPhones and iPads which have a resolution high enough to support it?
Re: Music Player
Ok.
So how do I create a button that be on every screen?
I want to create 13 buttons in total, one below the other. So I need to create them in such a way that they are all on the screen on every iPhone and iPad. How do I do this?
So how do I create a button that be on every screen?
I want to create 13 buttons in total, one below the other. So I need to create them in such a way that they are all on the screen on every iPhone and iPad. How do I do this?