I can open Find dialog in fCTB by pressing ctrl+d but when I minimize my form and open another application, the dialog stay open and is on top (On other forms and applications)
I want to hide the dialog on leave the form or on click on FCTB.
How do I hide find dialog in fastcoloredtextbox?
Related
I developed a tool in MS Access where I hide the top pane of Access so that user can only close the application by clicking close button on the pop up form. That leaves no way for the user to minimize or restore Access window as is required.
However, the problem comes when a user clicks the Acess button twice from the taskbar on windows 10, it gets into full screen mode and user cannot restore it unless by closing and reopening the application. Can someone please provide a solution to this?
I had a page with gridview when clicking on the hyperlink in the cell it will open a popup window.
When this popup is minimized I was not able to click anything on the parent page so I need when I double click of mouse on parent page I want this popup to be maximized. And I was not even able to open new tab also when popup is minimized .so new tab also have to be opened when popup is minimized I dont want to use any extra buttons in my design.
I want my current "home form" to stay in the background when I click on a button which in turn opens another form on top of it.
I want something like this:
Home -> Click Button -> open new form -> New form becomes the focus of the app
-> Home form stays in the background
The home form should still be there, but I can't click on it or anything. When I click on the app, only the new form opened should be interactive.
If I understand correctly, you can use Form.ShowDialog method to show the form as a modal dialog box.
I am using dotnetbar with visual studio 2010.
I added dotnetbar tabcontrol to my form, with close buttons on tabs visible.
I just wanna get a message box prompt, when closing a tab by clicking on their close button on the tab, whether to close it or not.
If "Yes" clicked, tab closes.... else not.
I can't find a close button click event or any other method to do that.
Use TabItemClose event and if needed set Cancel=true on event arguments to prevent closing.
On a form where I display data, if the user clicks the text box I open a virtual keyboard (form) and allow them to click buttons to enter data. When this virtual keyboard is opened, if the path to open was from clicking a text box, the first click in the new form (virtual keyboard) is ignored. If the virtual keyboard form is opened from clicking a button (from the first form), it works fine. I can't find a difference between triggering the virtual keyboard form from either control.
It seems to me that your issue is one of focus. When you trigger the virtual keyboard form to open because of the textbox click, you are somehow immediately returning focus to the caller, and not to the newly opened form. Therefore, you might need something as simple as:
myForm.Focus()
...at the end of the code that is opening the form.
I say this because the first click is "ignored", as you say. I would guess that it's actually consuming that first click as a focus event, and then you get the clicks you want registered as you want after that.