unbounded form double click event not worked (1 Viewer)

mdelghandy

New member
Local time
Today, 19:48
Joined
Dec 7, 2023
Messages
7
I have a unbounded form. I want it to show me a message by double-clicking on the empty part of the form. But this event is inactive and does not work. I hope you can help
 

CJ_London

Super Moderator
Staff member
Local time
Today, 19:48
Joined
Feb 19, 2013
Messages
16,616
You really need to provide more information

best I can suggest is you have not written valid code or it is not assigned to the form double click event
 

mdelghandy

New member
Local time
Today, 19:48
Joined
Dec 7, 2023
Messages
7
You really need to provide more information

best I can suggest is you have not written valid code or it is not assigned to the form double click event
code is :

Private Sub Form_DblClick(Cancel As Integer)
MsgBox "Hello world"
End Sub
 

mdelghandy

New member
Local time
Today, 19:48
Joined
Dec 7, 2023
Messages
7
I want my message to be displayed in the middle of th
Untitled.png
e form with click
 

CJ_London

Super Moderator
Staff member
Local time
Today, 19:48
Joined
Feb 19, 2013
Messages
16,616
We didn’t say form, we said the detail section of the form.

I presume your app is in a trusted location or you have enabled the code. If you haven’t, little point in sending you a sample
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 14:48
Joined
Feb 19, 2002
Messages
43,278
@mdelghandy You are new to the forum so welcome. But you are starting off on the wrong foot. Please do not start new threads with the same question. Stick with a single thread until your question has been resolved. If the question changes, mark the original thread as resolved before starting a new one.
 

Users who are viewing this thread

Top Bottom