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,
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.
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.
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:
Otherwise i don't know.