CTRL + V is not working in my Addin

CTRL + V is not working in my Addin

Anonymous
Not applicable
533 Views
3 Replies
Message 1 of 4

CTRL + V is not working in my Addin

Anonymous
Not applicable

Hi,

I have created a addin for Inventor with normal window form, I am using a text box in the form.  I am able to copy the text fom the textbox, However I am unable to paste any text in the TextBox using CTRL + V shortcut.

 

Please help on this.

 

Thanks,

 

0 Likes
534 Views
3 Replies
Replies (3)
Message 2 of 4

VdVeek
Advocate
Advocate

Are you talking about a vb.net Addin? And is it posible to enter some text in your Textbox?

In vb.net it's posible to set a textbox to read only, maybe that's the problem for you. 

Select the textbox in the designer, and in the property grid, set "ReadOnly" to False.

If this is not the option, can you please provide more information.

Rob.

Autodesk Inventor 2015 Certified Professional & Autodesk Inventor 2012 Certified Professional.
0 Likes
Message 3 of 4

Anonymous
Not applicable

Thanks Vd,  

I am using a simple input control in my addin, In that I am able to paste by right click the control and select the paste option.  But, I could not paste by keyboard shortcut key  ctrl + V.  Also It is not set to Readonly.   We can edit Or delete the input value.

0 Likes
Message 4 of 4

VdVeek
Advocate
Advocate

I searched on the internet for: "vb.net inputbox ctrl v" and found this info: here textbox-in-vb.net

 

Enabling and Disabling Shortcuts

ShortcutsEnabled property of the TextBox is used to enable or disable shortcuts. By default, shortcuts are enabled. The following code snippet disables shortcuts in a TextBox.

dynamicTextBox.ShortcutsEnabled = False

ShortcutsEnabled property applies to the following shortcut key combinations:

  • CTRL+Z......
  • CTRL+V

Otherwise i don't know.

Autodesk Inventor 2015 Certified Professional & Autodesk Inventor 2012 Certified Professional.
0 Likes