Maximize browser control in Windows app

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
karmacomposer
Posts: 361
Joined: Wed Apr 27, 2011 2:12 pm

Maximize browser control in Windows app

Post by karmacomposer » Mon Apr 10, 2023 10:03 pm

After a user presses a button, I wish to then maximize the browser control to take up the entire screen regardless of screen size. This is initially for a Windows software application.

I can see how to do it in a mobile app, but how do I do it programmatically in windows?

Thank you.

Mike

AndyP
Posts: 615
Joined: Wed Aug 27, 2008 12:57 pm
Location: Seeheim, Germany (ex UK)
Contact:

Re: Maximize browser control in Windows app

Post by AndyP » Tue Apr 11, 2023 9:31 am

You can do it automatically with this,

In the Card script

Code: Select all

on resizeStack
   set the rect of widget "Browser" to the rect of me
end resizeStack
to action only from a button, put in the buttons mouseUp script

Code: Select all

set the rect of widget "Browser" to the rect of this card
Andy Piddock
https://livecode1001.blogspot.com Built with LiveCode
https://github.com/AndyPiddock/TinyIDE Mini IDE alternative
https://github.com/AndyPiddock/Seth Editor color theming
http://livecodeshare.runrev.com/stack/897/ LiveCode-Multi-Search

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Maximize browser control in Windows app

Post by Klaus » Tue Apr 11, 2023 11:15 am

I'm still waiting for my money, Mike!

karmacomposer
Posts: 361
Joined: Wed Apr 27, 2011 2:12 pm

Re: Maximize browser control in Windows app

Post by karmacomposer » Wed Apr 12, 2023 3:07 am

AndyP wrote:
Tue Apr 11, 2023 9:31 am
You can do it automatically with this,

In the Card script

Code: Select all

on resizeStack
   set the rect of widget "Browser" to the rect of me
end resizeStack
to action only from a button, put in the buttons mouseUp script

Code: Select all

set the rect of widget "Browser" to the rect of this card
Thank you for the advice but this does not maximize the control to the screen size. The browser control does not stretch to fit the card when maximized. It stays at its original size. How would I maximize the browser control to fill the entire screen?

Mike

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Maximize browser control in Windows app

Post by Klaus » Wed Apr 12, 2023 9:05 am

I'm still waiting for my money, Mike!

https://forums.livecode.com/viewtopic.p ... 30#p179153

AndyP
Posts: 615
Joined: Wed Aug 27, 2008 12:57 pm
Location: Seeheim, Germany (ex UK)
Contact:

Re: Maximize browser control in Windows app

Post by AndyP » Wed Apr 12, 2023 10:16 am

Ok, just looked at the thread from Klaus.

So no more help coming from me.
Andy Piddock
https://livecode1001.blogspot.com Built with LiveCode
https://github.com/AndyPiddock/TinyIDE Mini IDE alternative
https://github.com/AndyPiddock/Seth Editor color theming
http://livecodeshare.runrev.com/stack/897/ LiveCode-Multi-Search

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9842
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Maximize browser control in Windows app

Post by FourthWorld » Wed Apr 12, 2023 3:18 pm

Klaus wrote:
Wed Apr 12, 2023 9:05 am
I'm still waiting for my money, Mike!

https://forums.livecode.com/viewtopic.p ... 30#p179153
How much remains unpaid, Klaus?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Maximize browser control in Windows app

Post by Klaus » Wed Apr 12, 2023 3:23 pm

Actually that is 400,- bucks, but I already lowered that to 50,- bucks since 2018,
but M. won't even pay that more than generous sum. I have a very small pension and
would accept that to see at least a little money.

I sent him a PM today to remind him of my offer.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9842
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Maximize browser control in Windows app

Post by FourthWorld » Wed Apr 12, 2023 5:08 pm

That seems more than fair. Hopefully he'll respond favorably to your generous settlement offer.

I've had a similar situation, but for an amount just under US$10K. Settlement seemed promising a while back, but since then the client has gone dark, no calls or emails returned.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Maximize browser control in Windows app

Post by Klaus » Fri Apr 14, 2023 8:50 am

And then there was utter silence...

karmacomposer
Posts: 361
Joined: Wed Apr 27, 2011 2:12 pm

Re: Maximize browser control in Windows app

Post by karmacomposer » Fri Apr 14, 2023 8:11 pm

I was hoping to avoid this, but fine.

Klaus overcharged the living shit out of us without consulting us on the price. We paid and paid and then stopped paying.

At the moment, I am broke. When I have some money, I may, out of the goodness of my heart, pay a bit more to shut him up, however,

I do not like being blackmailed like this.

I will NEVER do business with Klaus and I am sure he will NEVER do business with me.

Done.

Mike

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9842
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Maximize browser control in Windows app

Post by FourthWorld » Sat Apr 15, 2023 9:30 pm

Most self-employed people will have their ups and downs. I can relate to that, as I'm sure most here can.

But I see no blackmail here. I see Klaus requested payment, and my own reply in the other thread only noted a disinclination to provide free consultation until a mutually-satisfying resolution is reached with him.

We're all professionals here, and I'm assuming good intentions on all sides. Software is complex, and 50 years of ACM literature on software project management reminds us how easy it is to have misalignment in the details between expectations and delivery. In my 30 years in the biz I haven't seen a case yet where earnestly talking through the situation didn't ultimately resolve it. I'd like to believe this can be the same. I wish both of you well.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”