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 »

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: 634
Joined: Wed Aug 27, 2008 12:57 pm
Contact:

Re: Maximize browser control in Windows app

Post by AndyP »

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 .... LC CLASSIC ROCKS!
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Maximize browser control in Windows app

Post by Klaus »

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 »

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: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Maximize browser control in Windows app

Post by Klaus »

I'm still waiting for my money, Mike!

https://forums.livecode.com/viewtopic.p ... 30#p179153
AndyP
Posts: 634
Joined: Wed Aug 27, 2008 12:57 pm
Contact:

Re: Maximize browser control in Windows app

Post by AndyP »

Ok, just looked at the thread from Klaus.

So no more help coming from me.
Andy .... LC CLASSIC ROCKS!
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Maximize browser control in Windows app

Post by FourthWorld »

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: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Maximize browser control in Windows app

Post by Klaus »

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: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Maximize browser control in Windows app

Post by FourthWorld »

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: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Maximize browser control in Windows app

Post by Klaus »

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 »

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: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Maximize browser control in Windows app

Post by FourthWorld »

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