tappatappa Posted July 24, 2015 Share Posted July 24, 2015 Is there a way (Delphi or JavaScript side) to force a form to stick to the upper right corner of the browser window? Quote Link to comment Share on other sites More sharing options...
tappatappa Posted July 24, 2015 Author Share Posted July 24, 2015 Ok I think I found it. ClientEvents "window.show" function(sender,eOpts) { sender.alignTo(Ext.getBody(), 'tr-tr'); sender.anchorTo(Ext.getBody(), 'tr-tr'); } Quote Link to comment Share on other sites More sharing options...
Phxtecno Posted July 28, 2015 Share Posted July 28, 2015 Oh, it's a mistery for me how you can find these solutions and sintax without a manual or reference... Quote Link to comment Share on other sites More sharing options...
tappatappa Posted July 28, 2015 Author Share Posted July 28, 2015 Oh, it's a mistery for me how you can find these solutions and sintax without a manual or reference... Thanks for the compliment, but really I didn't do anything magical! Since uniGUI uses ExtJS 4, usually I just try to google the solution "ExtJS side" https://www.google.it/search?q=extjs+stick+top+right ...and then proceed from that. ExtJS has a pretty good documentation, too! 1 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.