copy paste

G

Guest

I have a form I use to add new user or display existing user

When the form load, if it's an existing user, I fill the form fields with user's data.

For a new user, I do nothing

My problem is with an existing user, I can right-click fields to get the default menu to cut-copy-paste data

Why don't I get this menu for a new user

Thanks !!!
 
R

Raymond Lewallen

Dom,

Are your fields enabled initially if you do not load data into them? Even
if they are empty or readonly, you should be able to get the right-click
context menu.

Raymond Lewallen

Dom said:
I have a form I use to add new user or display existing user.

When the form load, if it's an existing user, I fill the form fields with user's data.

For a new user, I do nothing.

My problem is with an existing user, I can right-click fields to get the
default menu to cut-copy-paste data.
 
H

Herfried K. Wagner [MVP]

* =?Utf-8?B?RG9t?= said:
I have a form I use to add new user or display existing user.

When the form load, if it's an existing user, I fill the form fields with user's data.

For a new user, I do nothing.

My problem is with an existing user, I can right-click fields to get the default menu to cut-copy-paste data.

Why don't I get this menu for a new user ?

Where? In TextBoxes? Please be more specific and post some code.
 
G

Guest

Yes it's in text boxe

I've tried to initialise text boxes contents with "" and " " but I still unable to get the cut-copy-paste menu

What I've just noticed is if Form B is called from Form A Main Menu, I get those options

If Form B is called from Form A context menu, it doesn't show up..

My question is now "How can i get a context menu to show in a form when this form is called from a context menu ?

- Form A have 1 main menu and 1 context men

- Form B have no context menu or main menu



----- Herfried K. Wagner [MVP] wrote: ----

* =?Utf-8?B?RG9t?= said:
I have a form I use to add new user or display existing user

Where? In TextBoxes? Please be more specific and post some code
 
A

Ayaz Ahmed

Hello,

Create your own menu and display form right click menu code.

i hope its working fine.

Thanks,


Warm Regards,

Ayaz Ahmed
Software Engineer & Web Developer
Creative Chaos (Pvt.) Ltd.
"Managing Your Digital Risk"
http://www.csquareonline.com
Karachi, Pakistan
Mobile +92 300 2280950
Office +92 21 455 2414
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top