WebNov 24, 2000 · Set goRowMoving under TStringGrid.Options to True. For this to work you. MUST have at least 1 fixed column (you drag by the fixed column). > Hi ! http://delphiforfun.org/Programs/Delphi_Techniques/MoveGridRow.htm
How to select and then delete cell in TStringGrid in Delphi?
WebDec 11, 2003 · You could test for the next valid cell to move to instead of. incrementing. don't forget to test whwter the values you are assigning. to the row and col properties are in bounds or you will get an. exception. procedure TForm1.StringGrid1SelectCell (Sender: TObject; ACol, ARow: Integer; var CanSelect: Boolean); begin. WebJul 19, 2024 · a CellClick event works fine procedure TForm1.StringGrid1CellClick (const Column: TColumn; const Row: Integer); var idx : integer; begin Stringgrid1.BeginUpdate; idx:=Test.Find (Column.Index,Row); if idx>=0 then Test [idx].ischecked:= not Test [idx].ischecked; Stringgrid1.EndUpdate; end; – SergeGirard Jul 20, 2024 at 16:15 fasting from whiteness church
How to move a row in a stringgrid (drag and drop style) - delphi
WebJan 8, 2016 · Use the code in this answer, but reverse the logic to move cells down instead of up. – Ken White. Jan 8, 2016 at 1:34 ... Delete row in StringGrid- Delphi. Related. 1. How to Create a Simple Dictation Pad in Delphi2009+Vista. 3. Setting the fontsize of a Paintbox causes OnPaint to be called. 3. WebJun 10, 2014 · I am trying to get a TStringGrid component to scroll down to a row and highlight that row, based on user input in a different form. I have the highlight portion done, but I can't figure out how to scroll the grid down to the correct row. Anyone here know? delphi c++builder vcl tstringgrid Share Improve this question Follow WebDec 11, 2010 · 5. The TStringGrid's default renderer don't support multiple lines. By setting the TStringGrid in OwnerDraw mode (by invoking the OnDrawCell event) you can render each cell by your own liking. Have a look at this for an example that helped a previous user. fasting from whiteness chicago