Maximize to fit screen.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Maximize to fit screen.
Why do the stack only maximize by half of the screen? (The height of the stack is much lower than my screen, but the max-height of the stack is much bigger (6666)) Is there any way to make full sized maximization?
Re: Maximize to fit screen.
Hi,
Can you set the rect of your stack to the screenRect?
Craig Newman
Can you set the rect of your stack to the screenRect?
Craig Newman
Re: Maximize to fit screen.
Thanx for answer, but its realy not what i need.dunbarx wrote:Hi,
Can you set the rect of your stack to the screenRect?
Craig Newman
i need fully maximize stack, when i press maximize button in the title bar. What i get, when i press instead of it, you can see above.
I think i need a handler witch will help me to do it. I searched everywhere and realy can't find way to do this.
Still looking for solution after 2 weeks.
Re: Maximize to fit screen.
No. I meant literally:
set the rect of this stack to the screenRect
Try it in a button or in msg.
Craig
set the rect of this stack to the screenRect
Try it in a button or in msg.
Craig
Re: Maximize to fit screen.
I'm still laughing!!!No. I meant literally:

That is going to make me smile all day.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Maximize to fit screen.
As i said, it's not what i'm looking for.
Look, all i want to do is just make stack fit screen after i press maximize button witch is in the title bar by not hiding the title bar of the stack.
The maximize button in the tool bar i'm talking about: Attachment [The maximize button of the stack.]
By the way, i tried to set the rect of this stack to the screenRect, it's working, but not that way i want.
Look, all i want to do is just make stack fit screen after i press maximize button witch is in the title bar by not hiding the title bar of the stack.
The maximize button in the tool bar i'm talking about: Attachment [The maximize button of the stack.]
By the way, i tried to set the rect of this stack to the screenRect, it's working, but not that way i want.
Re: Maximize to fit screen.
Hi boqsc,
Are you using dual monitors?
Simon
Are you using dual monitors?
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Maximize to fit screen.
No, i'm using laptop with resolution: 1366x768Simon wrote:Hi boqsc,
Are you using dual monitors?
Simon
Is this problem only with the low-resolution monitors or something, it looks like it's old bug of the livecode how i read before and it's still not fixed if i'm right.
I'm searching for the solution silently for two weeks, but all i found is: nothing. And it seems almost noone mentioned ths problem before. Everyone is happy about the way the livecode resize stack?
Even defaults/originals livecode stacks didn't resize correctly.
Last edited by boqsc on Fri Nov 22, 2013 10:40 pm, edited 2 times in total.
Re: Maximize to fit screen.
Ah,
Now I see what you mean by "not the way I want". It is how it is done, not, er, how it is done.
i don't think there is a message sent when the maximize button is pressed, but there is a message "resizeStack", that is sent when the stack is, er, resized.
So if this is the only way that this will happen, you can trap that message, and then do the screenrect thing that Simon loves so much.
Craig
P.S. I could be wrong about there not being a message sent with the "maximize" button. Anyone Know?
Now I see what you mean by "not the way I want". It is how it is done, not, er, how it is done.
i don't think there is a message sent when the maximize button is pressed, but there is a message "resizeStack", that is sent when the stack is, er, resized.
So if this is the only way that this will happen, you can trap that message, and then do the screenrect thing that Simon loves so much.
Craig
P.S. I could be wrong about there not being a message sent with the "maximize" button. Anyone Know?
Re: Maximize to fit screen.
What you suggested is just a "blackhand" workaround, it not going to work correctly by the way.dunbarx wrote:Ah,
Now I see what you mean by "not the way I want". It is how it is done, not, er, how it is done.
i don't think there is a message sent when the maximize button is pressed, but there is a message "resizeStack", that is sent when the stack is, er, resized.
So if this is the only way that this will happen, you can trap that message, and then do the screenrect thing that Simon loves so much.
Craig
P.S. I could be wrong about there not being a message sent with the "maximize" button. Anyone Know?
From what i see, it can be serious problem for many developers. it may look like small thing in the developement sea, but trust me. It's not, if there is no way to do it - we need to make request and let the runrev livecode team hear about problem.
Going to wait for an answer, one more week...
Re: Maximize to fit screen.
Have you tried building your stack as a standalone?
Works like you want here.
Simon
Works like you want here.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Maximize to fit screen.
No it's not, maybe you can post the project test file that you use? (*.livecode *.REV)Simon wrote:Have you tried building your stack as a standalone?
Works like you want here.
Simon
And maybe the working exe file?
Re: Maximize to fit screen.
Hi boqsc,
Just take the stack you have there and build it as a standalone. You don't need any code in it.
Simon
Just take the stack you have there and build it as a standalone. You don't need any code in it.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Maximize to fit screen.
Oh, well. Thats strange. It can be my problem before, that i set some properties that fixes the size of the stack. However it seems to work.Simon wrote:Hi boqsc,
Just take the stack you have there and build it as a standalone. You don't need any code in it.
Simon
Realy big Thanx to everyone.
Re: Maximize to fit screen.
Just to save you some trouble, most of the time you can emulate how a standalone will work by just choosing "Suspend development tools" from the Development menu. That way you don't need to build standalones repeatedly while testing. A few things don't work (like a startup handler and in some cases, some of the open* messages) but for visual stuff it's pretty handy.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com