hi, int ActiveUndoIndex = ActiveWindowStatus(); if (arrScrptDsgnrFrms[ActiveUndoIndex].RchtxtBx.CanUndo == true) { arrScrptDsgnrFrms[ActiveUndoIndex].RchtxtBx.Undo(); arrScrptDsgnrFrms[ActiveUndoIndex].RchtxtBx.ClearUndo(); } this is undoig all entered characters at single shot e.g if i enter 100 charcters all 100 chractes are removing at a single shot.
hiremath71
Posts
-
Undo and Redo in c# -
Undo and Redo in c#hi, int ActiveUndoIndex = ActiveWindowStatus(); if (arrScrptDsgnrFrms[ActiveUndoIndex].RchtxtBx.CanUndo == true) { arrScrptDsgnrFrms[ActiveUndoIndex].RchtxtBx.Undo(); arrScrptDsgnrFrms[ActiveUndoIndex].RchtxtBx.ClearUndo(); } this is undoing the entire operation e.g if i enter 100 chracters it is deleting 100 chracters at time for single undo..
-
Undo and Redo in c#hi, int ActiveUndoIndex = ActiveWindowStatus(); if (arrScrptDsgnrFrms[ActiveUndoIndex].RchtxtBx.CanUndo == true) { arrScrptDsgnrFrms[ActiveUndoIndex].RchtxtBx.Undo(); arrScrptDsgnrFrms[ActiveUndoIndex].RchtxtBx.ClearUndo(); } this code is undoing the enitre actions not chracter by chracter ... help me pls
-
Undo and Redo in c#hi, I am creating a editor in Richtextbox control. and now i want to implement feature Undo and redo .. I am not getting it. pls help me with regards prasad:)
-
Datagrid viewhi, it is filling the rest of the rows with specified value.. but i want to disable/enale that row .. i am trying but not getting help me pls.. with regards prasad:)
-
Datagrid viewhi, i am using a datagrid view and one of the column type is datagridviewcheckbox now i need to enable/disable the entire row based on the selection of that checkbox help me pls with regards prasad:)
-
Datagrid viewThank u it is working with regards prasad
-
Datagrid viewhi, i am using datagridview and i am having 4 columns now i want to validate the entry like e.g i should enter numbers in 2'nd column ,text in thied column pls help me. with regards prasad:)
-
Displaying the combox valuehi,this is adding the all clumns but i want to add single row itself. I am getting error if i add rows saying that value doesn't match for datagridcombox column that is second column. OpenFileDialog ObjOpenFileDialog = new OpenFileDialog(); ObjOpenFileDialog.DefaultExt = "*.cs"; ObjOpenFileDialog.Filter = "CSharp Script Files |*.cs"; if (ObjOpenFileDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK && ObjOpenFileDialog.FileNames.Length > 0) { Column3.Items.Add(ObjOpenFileDialog.FileName); //scriptDGView.Rows.Add(true, ObjOpenFileDialog.FileName, "", ""); } ObjOpenFileDialog.Dispose(); help me pls
-
Displaying the combox valuehi,harini I am getting in normal combobox property like selectedindex. But i am using a datagridview in that one my colummn is made as combobox help me
-
Displaying the combox valuehi, I am having a datagrid with 4 columns and one of the column type is combobox. I am adding items to that combobox column i am able to add it. now i want to display the first item in the combobox by default. Now i am selecting it ,manually help me pls With Regards prasad:)
-
combobox ok and browse buttonhi,keshav u r adding a text wright and it is not working.. i think my question was not clear i am having a datagrid and one of the column is made as a column type=DataGridViewComboBoxColumn and i am adding a rows like Scenario_Designer_gridview.Rows.Add(filename); where filename contains the list of files in a specifeid folder i am getting from folder browser. now i want add the list of files to a that column... i am getting error...... help me pls.
-
combobox ok and browse buttonhi, i want a combo with the ok and browse button .. browse i should browse the files and i can say ok pls help me with regards prasad:)
-
Folder browser dialogthank you friend it is working with regards prasad:)
-
Folder browser dialoghi,friend i am working on c# directory. i am not getting this option itself pls help me thanks prasad:)
-
File Browser dialoghi, i am creating a filebrowserdialog object and selecting a file and opening it. now my question is how to select a more than one file. help me. with regards prasad:)
-
Folder browser dialoghi, i am using a folder browser dialog and selecting the pericular folder. Now my qusestion is how to get the files of selected folder. pls help me. With regards Prasad:)
-
how i can make color to active line in richtextBox ?hi, richTextBox1.BackColor = Color.Yellow; will make the entire richtextbox backcolor to yellow. Instead of making perticular line or active cursor position. with regards prasad:)
-
Combo boxhi, i am creating one application in that i am using a gridview. in 2'nd column i want a combobox .when ever i click that combobox it should give me an option say like Ok and Browse buttons. I should be able to browse a file and select a file that selected file should add in the combox. same functionality repeats. pls help me' prasad:)
-
Time format in control numeric up/down in c#hi, Thank you ys it is working Thank you :)