cristianotestai Posted September 30, 2016 Posted September 30, 2016 Hello! Attached i'm sending an example where i have a search field and after entering any character and press enter, the Scrollbox is displayed. As I i do so by clicking with the mouse anywhere outside of scrollbox he be invisible? If the user clicks anywhere in the Scrollbox it should remain visible, but otherwise it should be invisible. Thanks. PanelSearch.rar Quote
Sherzod Posted October 1, 2016 Posted October 1, 2016 Hi, Yes, it is possible, I think.. For now can you analyze this post?: http://forums.unigui.com/index.php?/topic/3981-form-onblur-validation-for-multiple-fields/ Best regards. Quote
cristianotestai Posted October 1, 2016 Author Posted October 1, 2016 Hi,I tested it, but blur event does not work properly because of one reason: The scrollbox does not receive focus when it is shown and so by clicking outside the scrollbox after enter nothing happens, only works if first is clicked inside the scrollbox and then clicked outside the scrollbox.Something like what I need is this example: http://jsfiddle.net/1zfdtk91/ If you can, I could show more clearly what I need showing in a remote connection (TeamViewer) Thanks for your help. Quote
Sherzod Posted October 1, 2016 Posted October 1, 2016 If the user clicks anywhere in the Scrollbox it should remain visible, but otherwise it should be invisible. Hi, "If the user clicks anywhere in the Scrollbox it should remain visible" Sorry, on ScrollBox or on SearchField ?! Quote
cristianotestai Posted October 1, 2016 Author Posted October 1, 2016 Hi, "If the user clicks anywhere in the Scrollbox it should remain visible" Sorry, on ScrollBox or on SearchField ?! Hi, Scrollbox it should remain visible. Now, in Test Case i made a workaround and work ok, but in real project with ScrollBox in run-time creation not work. I could show you with TeamViewer. Thank you! Quote
cristianotestai Posted October 10, 2016 Author Posted October 10, 2016 Thanks Delphi Developer, I managed simplify the solution based on the post you indicated. Quote
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.