neo4a Posted September 10, 2019 Share Posted September 10, 2019 Trying to build a "generic" modal form to substitute TUnimSelect. These are my problems to solve Adjusting form size and position after screen size changed (see my open topic here) Closing form by clicking in masked area (see my open ticket here) Need some tips for a perfect responsive layout (floating TUnimContainerPanel) for targeting several device types. Attached is a modified touch demo project to get the impression. TIA. demoModalForm.zip Quote Link to comment Share on other sites More sharing options...
mhmda Posted September 11, 2019 Share Posted September 11, 2019 Hello, 1. Use Aligment in Client side, DON'T use aligment in server side ! 2. Don't use the 'aligment' property (as classic vcl app.) 3. Don't use UnimFormScreenResize event, just waste of time 4. use Layouts to achieve responsive behavior If you need further help, you may cointact me in skype or whatsapp. Quote Link to comment Share on other sites More sharing options...
neo4a Posted September 11, 2019 Author Share Posted September 11, 2019 Thank you so much for your tips. I would like to keep control over the modal window when the screen size changes (e.g. when changing the orientation or split view). At the moment I'm already failing to readjust the modal window (top, left...) if it's already displayed. Can you please give me a hint (I'll probably have to resort to a Javascript call again). TIA. Quote Link to comment Share on other sites More sharing options...
NNPaulo Posted September 15, 2019 Share Posted September 15, 2019 I mhmda could you please verify this question: I follow the recommendation in this topic and use uniAlignmentClient in all components, but the unimscrollbox don't cooperate with the layout. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.