Hi!
I have been away from Pure Basic for quite some time. I am not sure if this has been asked before or if it is in the right section. I have a form with a panel. It is locked left, right, top and bottom. When I resize the form with left mouse drag the panel size is not changed until i release the mouse button. That doesn't look too good IMHO. I am not used to this behavior from using delphi, lazarus, visual studio community, wxwidgets or pretty much anything else. I guess I must be doing something wrong. Is there a way around this? Any help would be most welcome.
// Storck
How do I resize components during form resizing?
Re: How do I resize components during form resizing?
you need to switch it to BindEvent, which is easy to do but unfortunately the IDE doesnt do it that way automatically in the code it generates
http://purebasic.fr/english/viewtopic.php?f=13&t=63529
http://purebasic.fr/english/viewtopic.php?f=13&t=63529
Re: How do I resize components during form resizing?
Thank you so much. Would be nice if the designer used this by default. It would also be useful if the component locks where active at design time. In the future maybe. Anyways, once again thank you for helping me out.Keya wrote:you need to switch it to BindEvent, which is easy to do but unfortunately the IDE doesnt do it that way automatically in the code it generates for whatever reason
http://purebasic.fr/english/viewtopic.php?f=13&t=63529
// Storck
-
- User
- Posts: 17
- Joined: Wed Jul 13, 2022 2:04 pm
Re: How do I resize components during form resizing?
The link posted seems to be dead now. I'm also interested in the answer to this question. Is there a new version of the link that works? Thx.Keya wrote: Wed Oct 21, 2015 11:00 am you need to switch it to BindEvent, which is easy to do but unfortunately the IDE doesnt do it that way automatically in the code it generates
http://purebasic.fr/english/viewtopic.php?f=13&t=63529
Re: How do I resize components during form resizing?
IceDesigner can handle this automatically (if do you want).
It isn't free, but is cheap:
https://www.purebasic.fr/english/viewtopic.php?t=74711
Re: How do I resize components during form resizing?
The link is not dead. You have to copy the link, paste it into the address line of your browser and change "http://" to "https://". When directly clicking onto the link my Firefox indeed reports "Not Found" because http links are meanwhile considered dangerous by most of the current browsers.
-
- User
- Posts: 17
- Joined: Wed Jul 13, 2022 2:04 pm
Re: How do I resize components during form resizing?
That worked. Thank you!Shardik wrote: Wed Jul 13, 2022 3:33 pmThe link is not dead. You have to copy the link, paste it into the address line of your browser and change "http://" to "https://". When directly clicking onto the link my Firefox indeed reports "Not Found" because http links are meanwhile considered dangerous by most of the current browsers.