iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
I am guessing that this method returns the control on the form that has the focus at the time the call is made. Is this true? Why would it ever be null? I have two UXDialogBoxes out of dozens where it returns null. In both forms, I am clicking the Save button at the time and my successful save method calls this method after setting the DialogResult to DialogResult.OK.
Here is the code showing how I am using it.
{
window.Close();
}
The GetFocusedElement method return the currently focused element during the execution of the method. If the return value is null, it means there is no element is being focused. Perhaps the focus has already been lost or the control is disabled.
Do you mind providing us with a simple runable sample? This way we could try to replicate and analyse the issue further.
hmmm what is strange is that the users clicks on the Save button to get to this point. Shouldn't the save button still have the focus at this point?
Bill
Based on the first post, the GetFocusedElement API is invoked from the CloseCurrentWindow method. Does the save button click handler is set to the CloseCurrentWindow method? if not perhaps there is some earlier method that could cause the save button to lost focus. Do you mind providing us a simple runnable sample so we could invetigate the issue further?
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname