How to disable Form's Context menu in C# windows forms
language using: C#.
platform for program: WINDOWS FORM
This method of assigning empty context menu is not working for Form ,why so?
textbox.Context Menu = new ContextMenu ();
I have tried as below
this.ContextMen u = new ContextMenu ();
But its not wrking
Do you know any method to disable...
User Profile
Collapse
-
Thnks a lot.Its working for textbox.But when i was trying to apply same method to disable the context menu of the form,this method is not working..why so??
this.ContextMen u = new ContextMenu();
Is there any other way to disable form's ContextMenu?...Leave a comment:
-
How to use Arrow keys similarly like tab in C#,Windows forms
language using: C#.
platform for program: WINDOWS FORM
I have to use arrow keys tro move from one text box to other ,Same as tab..
Is there any way to do this??? -
How to disable Form's Context menu in C# windows forms
language using: C#.
platform for program: WINDOWS FORM
I wnt to disable the right click for text boxes.And also want to diable the context menu.
I have already disable the Minimize and maximizsed buttons from the form properties and set the form border style to fix dialog but still on right click of mouse, the context menu for close and move is cming. -
-
How to make text in the text box non selectable??
I am trying to make the text in the text box non selectable
I have 1 method
on event :Mouse Move
write txtabc.selectLe ngth = 0;
If any one of u know more easier way to do this then pls tel me..
Thanks -
How to increase the size of close Button in windows forms???
I am doing an application in c#.net where i m using vs 2003...I want to increase the size of the close button so that it will be more visible
Anybody of u know how to do this?? -
neehakale replied to How to set icon to the tree view nodes and sub nodes in c#.net Visual studio 2003in .NETCould you pls explain me in a little bit detail that how to add this image list in a form...i have searched but m not getting...in the properties window for tree view there is property by name image list ,but it is not taking any values..pls tel me hw to add image listLeave a comment:
-
neehakale started a topic How to set icon to the tree view nodes and sub nodes in c#.net Visual studio 2003in .NETHow to set icon to the tree view nodes and sub nodes in c#.net Visual studio 2003
I am making an application where i have the Tree Node name as" folder" and the files in the folder are excel files .
I want to set icon for the folder and excel file icon for excel files...
Do anybody of know way to do this???
please help me its urgent -
neehakale replied to Do any body know how to validate text box for alphanumeric charactes only in c#.net??in .NETI m using visual studio .net 2003....can u pls tel me how to do that???Leave a comment:
-
neehakale started a topic Do any body know how to validate text box for alphanumeric charactes only in c#.net??in .NETDo any body know how to validate text box for alphanumeric charactes only in c#.net??
M doing an application where i need to validate a text box contaning name for only alphanumric characters.
M using windows forms in c#..can anybody tell me the methos to do this??? -
I got the way to do that...I was asking 4 the background of checkBoxLeave a comment:
-
How to use controls of one class in another class in c#.net
I have one text box button, say by name txtmessage in one form (MainForm )and what i have to do is on click of OK buttton in the other form (SubForm) I have to write some message in that txtmessage text box....please help me to do this -
How to Add Background image dynymically in c#???
I have to add 1 background image dynymically.... Which is a bitmap image name "Border.bmp"... Pls tel me hw to ADD -
How to Pass path to the nodes of treeView???Windows forms
I am doing 1 application where i need to display folder as a root node in TreeView and the files in that folder as child Nodes...can anybody of u knoe how to do this....
or how to pass the path of that folder to the TreeView Node..??? -
c#...ya there is a control for progress bar in vs 2003...but i want continues progress bar...n that control add block progress bar....do u have a solun 4 this...m using windows forms .net framwork 1.1Leave a comment:
-
-
M not getting this column field in the property builder.....M usinf .net framework 1.1 visual studdio.net 2003....Leave a comment:
-
How to Pass Checkbox to the datagrid data in C#.net
I am doing an application where i need to select some data from the grid,to select the data from the grid ,each and every row and column data should come with some selection control..m using checkbox here..so can ny body of u know how to pass checkboxes to the datagrid,so that we can select tha data from the grid....its urgent pls rp soon
No activity results to display
Show More
Leave a comment: