10-06-2019, 11:40 AM
Hi All,
Sorry if this have been asked before. I have tried to search previous posts, but have not found any, and apparently after a number of searches, one is only allowed to make one search every 30 seconds....
Anyway, I have a region, with a listbox covering it, on my form and with visible property set false. When certain conditions are met, the visible property is set true and the region becomes visible.
What I'm looking for is a way to set visible = false again, without having to click the region / listbox. Obviously it works fine with a onclick event for the listbox, but that is only when the mouse pointer is within the boundaries of the listbox. I want the region / listbox to disappear regardless of where the mouse pointer is when I click it. I do not seem to find any mouse events for the form.
Can anybody tell me how to do that, or point me in the right direction ? Anyone have any examples anywhere ?
Regards
Soren
Sorry if this have been asked before. I have tried to search previous posts, but have not found any, and apparently after a number of searches, one is only allowed to make one search every 30 seconds....
Anyway, I have a region, with a listbox covering it, on my form and with visible property set false. When certain conditions are met, the visible property is set true and the region becomes visible.
What I'm looking for is a way to set visible = false again, without having to click the region / listbox. Obviously it works fine with a onclick event for the listbox, but that is only when the mouse pointer is within the boundaries of the listbox. I want the region / listbox to disappear regardless of where the mouse pointer is when I click it. I do not seem to find any mouse events for the form.
Can anybody tell me how to do that, or point me in the right direction ? Anyone have any examples anywhere ?
Regards
Soren