Questions tagged [stringgrid]

66 questions
-1
votes
1 answer

StringGrid Cells Delphi

I've written some code which colours individual cells on my stringgrid, within my delphi application, according to a list of data. I now need to write some code in the OnDblClick event on my stringgrid which deduces whether or not a cell is…
Babah254
  • 13
  • 4
  • 9
-1
votes
2 answers

How to pass StringGrid Row Number to another form?

I have a StrinGrid component and a procedure: procedure TForm3.StringGrid1Click(Sender: TObject); begin SelectedElement := stringgrid1.Cells[0,stringgrid1.Row]; end SelectedElement is declared in public section: public SelectedElement :…
maciejjo
  • 213
  • 3
  • 10
-3
votes
1 answer

Delphi stringgrid TAdvsTringgrid function to disable and reenable mouse clicks

Is there a Delphi function to enable or disable mouse clicks for a stringgrid? I'm using a derivation of stringgrid called Tadvstringgrid which allows coloring cells based on contens I need to prevent mouse clicks inside a stringgrid while…
user2858981
  • 235
  • 4
  • 26
-3
votes
1 answer

how to fill a stringgrid in delphi between two given numbers

My assignment Fill the given matrices/”stringgrids” M1 and M2 with random numbers drawn from [FROM, TO], where FROM and TO should be read from the given Edit-fields. I'm struggling to generate random numbers between the values given by the user.…
-3
votes
1 answer

Implement Method Gauss Jordan Elimination in Delphi

This is my homework from my school to make Gauss-jordan elimination in delphi, but..I got some problem here... I Made like this : procedure TForm1.Button3Click(Sender: TObject); var n,i,j,k,bar,kol:integer; a:array [1..100,1..100]of real; …
-4
votes
2 answers

how do i fill in a string grid with an array of records

I have the record structure of Tperson = record // setting/declaring the record firstname: string[30]; surname: string[30]; form: string[5]; catscore: real; predictedgrade: string[2]; giftedandtalented: string[255]; learningdifficulties:…
Nathan
  • 19
  • 2
  • 7
1 2 3 4
5