Questions tagged [edit]

to modify (a computer file) by, for example, deleting, inserting, moving, or copying text.

Edit can be done as part of coding or changing configuration files.

The tool which is used for editing is called an Editor. Common editors include vi, emacs etc.

3207 questions
3
votes
1 answer

Clickable row in GridView and edit the row

I have a problem here regarding to editable gridview. what I want to do is replacing edit button function by using a single clickable row. When I click a row, it should be forwarding me to a new page for editing those row data. How can I achieve…
Com.Man.Do.Girl
  • 177
  • 2
  • 4
  • 16
3
votes
2 answers

Add/view/edit mysql entries with the same php form

I've written a PHP form to add entries into a MySQL database that looks like the first picture here. However, I also want to use the same form to view and edit information already in the database as shown in the second and third photos. What's the…
user81997
  • 111
  • 1
  • 4
  • 11
3
votes
2 answers

How to edit SFML source code to add a new Drawable Object?

Hey i'm working on a class called a "Body" which holds shapes and sprites together as one object. I would like to get into the source code and add a new overload RenderWindow's Draw() function, so this new object can be taken in and drawn easily.…
Griffin
  • 2,399
  • 7
  • 48
  • 83
3
votes
4 answers

How to remove part of each string-element in a list in Python?

I have a long list of dates in the form ["2019-11-01 00:15:00+01", "2019-11-01 00:30:00+01", "2019-11-01 00:45:00+01" ... and so on] in the type of strings. I would like to go through the list and remove the "00:15:00+01"-part. I have tried with a…
123
  • 39
  • 3
3
votes
2 answers

How to limit editing to specific users who created the post in ruby on rails?

I have created a message posting feature using ruby the problem I now have is the function editing the post is available but it is accessible by ever single user no matter who posted the original post. How can I make it so the edit 'link' is only…
Jatinder Singh
  • 307
  • 6
  • 11
  • 19
3
votes
2 answers

how to fill data in text field in flutter

when I am signing up using this time user has to fill 4 forms and at the end of the gets all the details displayed in last display form when I click on particular form edit button it will redirect back to the form field and then I can edit it. I…
3
votes
3 answers

WPF datagrid - enable selecting, disabling text input

I have a C# WPF Datagrid, with a checkbox column, hyperlink columns and text columns. My DataGrid is bound to a DataTable. The columns are not auto generated, but I do create them in code dynamically, since the number of columns is not known in…
Yoni
  • 275
  • 2
  • 4
  • 8
3
votes
1 answer

How Instagram inflate image color inside it background in Story Mode

Hello since today I wonder how Instagram succeeded to introduce the most important color of the image in its background, I would like to add this kind of possibility in my application someone would know how I can do that? thanks for the help Here a…
Taric
  • 41
  • 3
3
votes
2 answers

delphi insert text into textfile at specific point

i want to edit a textfile. if i read a special line (let us say //--begin editing text here--//) then after this line i want to insert several lines but i don't want to override existing lines. is this possible with delphi? thanks! sample text: this…
soulbrother
  • 57
  • 2
  • 2
  • 7
3
votes
0 answers

How to Change Font in a SQL Server Agent Job Properties Editor in SSMS

SQL Server Management Studio offers what appear to be hundreds of options for using hundreds of fonts. The one it does not appear to offer is the one I could really use. I know this because I went to the trouble of changing every single option to…
Lee
  • 31
  • 1
3
votes
2 answers

WINAPI: how to get edit's text to a std::string?

I'm trying the following code: int length = SendMessage(textBoxPathToSource, WM_GETTEXTLENGTH, 0, 0); LPCWSTR lpstr; SendMessage(textBoxPathToSource, WM_GETTEXT, length+1, LPARAM(LPCWSTR)); std::string s(lpstr); But it doesn't work.
Alex
  • 34,581
  • 26
  • 91
  • 135
3
votes
1 answer

change a cell value in a flextable

Is-there a way to change a value in a flextable? in version 0.4.7.003 it was possible to do it like this (this doesn't work anymore in 0.5.1): library(flextable) ft <- flextable( head( iris )) ft$body$dataset[2,5] <- 'XXXXXXXX' ft
Po78
  • 143
  • 1
  • 7
3
votes
6 answers

iPhone - UITableView : change default Edit button name

I have a usual editButtonItem in my navigationBar (created by the system), and I'd like to change its name. Si I wrote this lines in my TableViewController : - (void)viewDidLoad { [super viewDidLoad]; [Some code...] …
Oliver
  • 23,072
  • 33
  • 138
  • 230
3
votes
1 answer

How to update a record from index in rails

I was trying to update a User record (only the "closed" named column) from the user index's view. This is what I tried. But, it is not working. I used Devise gem to generate views and controllers. But, whatever, How can I update a records one…
Tazwar Utshas
  • 921
  • 2
  • 17
  • 30
3
votes
2 answers

How to move blocks in VSCode 2018? Is that possible?

I'm trying to do the following: Do the block select (or as it's also called: cursor block select) Move selected block up/down Part 1 is accomplished. But how do I do the second? If I press Alt+UP or Alt+Down I can move only one line, but not the…
Xentatt
  • 1,264
  • 22
  • 35