A Aysic4Bandroid Member Licensed User Longtime User Dec 31, 2013 #1 hi, I want to prevent my main form from being resized - i.e. the sizes set thus : Code: #Region Project Attributes #MainFormWidth: 869 #MainFormHeight: 765 #End Region I want locked so user cannot resize. Cant find a way to do it in JavaFX scene Builder - can i do it in B4J??
hi, I want to prevent my main form from being resized - i.e. the sizes set thus : Code: #Region Project Attributes #MainFormWidth: 869 #MainFormHeight: 765 #End Region I want locked so user cannot resize. Cant find a way to do it in JavaFX scene Builder - can i do it in B4J??
A Aysic4Bandroid Member Licensed User Longtime User Dec 31, 2013 #2 Done It! no replies required Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Dec 31, 2013 #3 Better to post the solution I guess that you set Form.Resizable = False. Upvote 0
A Aysic4Bandroid Member Licensed User Longtime User Dec 31, 2013 #4 Done It! no replies required Erel said: Better to post the solution I guess that you set Form.Resizable = False. Click to expand... hi Erel, I used: Code: MainForm.SetWindowSizeLimits(869,765,869,765) Quick 'n dirty but it worked though resizable is better since it disables the resize cursor when hovering over the edges - even better. BTW: its nice to be back - had some time away and was tempted back when i saw my email invitation to try B4J - this could seriously temp me away from my web work and back to desktop app dev again were i started many years ago. I didnt think B4A could be improved upon. Nice one Erel Upvote 0
Done It! no replies required Erel said: Better to post the solution I guess that you set Form.Resizable = False. Click to expand... hi Erel, I used: Code: MainForm.SetWindowSizeLimits(869,765,869,765) Quick 'n dirty but it worked though resizable is better since it disables the resize cursor when hovering over the edges - even better. BTW: its nice to be back - had some time away and was tempted back when i saw my email invitation to try B4J - this could seriously temp me away from my web work and back to desktop app dev again were i started many years ago. I didnt think B4A could be improved upon. Nice one Erel