Putting buttons on top of a browser
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 13
- Joined: Thu Jul 19, 2012 9:51 pm
- Contact:
Putting buttons on top of a browser
I want to put a next and previous button on top of a iOS browser.
I expected this to work by changing the layer of the next/prev buttons to top, after creating the browser object, like this
iphoneControlCreate "browser"
put the result into browserID
iphoneControlSet browserID, "url", theURL
iphoneControlSet browserID, "visible", "true"
set the layer of graphic "Previous" to top
set the layer of graphic "Next" to top
But unfortunately this does not help: the buttons remain hidden behind the browser object.
Any ideas ?
I expected this to work by changing the layer of the next/prev buttons to top, after creating the browser object, like this
iphoneControlCreate "browser"
put the result into browserID
iphoneControlSet browserID, "url", theURL
iphoneControlSet browserID, "visible", "true"
set the layer of graphic "Previous" to top
set the layer of graphic "Next" to top
But unfortunately this does not help: the buttons remain hidden behind the browser object.
Any ideas ?
Re: Putting buttons on top of a browser
You can't put buttons on top of the browser... the browser overlay, is overlaid on top of everything else...
Re: Putting buttons on top of a browser
Hi Theo@xceed.be, sad but true: all the native controls created with mobileControlCreate stay on top of all the LC controls. This is what I know, happy if somebody corrects me.
Re: Putting buttons on top of a browser
A substack can be placed on top I believe.
Simon
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Putting buttons on top of a browser
Not on iOS!Simon wrote:A substack can be placed on top I believe.
Simon

Re: Putting buttons on top of a browser
Rats!
And I so knew that!
Why didn't I read which forum this was posted t0.
Simon
And I so knew that!
Why didn't I read which forum this was posted t0.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- VIP Livecode Opensource Backer
- Posts: 13
- Joined: Thu Jul 19, 2012 9:51 pm
- Contact:
Re: Putting buttons on top of a browser
I wonder if this is a LiveCode limitation, or an iOS one ?Mag wrote:Hi Theo@xceed.be, sad but true: all the native controls created with mobileControlCreate stay on top of all the LC controls. This is what I know, happy if somebody corrects me.
Re: Putting buttons on top of a browser
I think it is a Rev limitation.. I believe they actually create windows for each control (or perhaps an overlay window with the controls).. The source code is freely available, so you can always change this if you want..
-
- VIP Livecode Opensource Backer
- Posts: 212
- Joined: Fri Feb 01, 2013 1:31 am
- Contact:
Re: Putting buttons on top of a browser
Is there a solution to this problem? Was anybody able to change the source code?
Re: Putting buttons on top of a browser
Hi Will,
The OP is not clear on the purpose of the buttons.
From the sound of it, they are reading local html files and want to go from page to page. The first solution is to include the previous/next buttons in the html.
Other then that, it's to not make the browser rectangle full screen, just leave enough room for buttons down at the bottom.
The direct answer to the OP's question has been given above. Nothing goes on top of the browser object.
Simon
The OP is not clear on the purpose of the buttons.
From the sound of it, they are reading local html files and want to go from page to page. The first solution is to include the previous/next buttons in the html.
Other then that, it's to not make the browser rectangle full screen, just leave enough room for buttons down at the bottom.
The direct answer to the OP's question has been given above. Nothing goes on top of the browser object.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!