Home
Top.Mail.Ru Yandeks.Metrika
Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Down

I really need Find similar branches


Катя   (2001-12-20 08:27) [0]

in stringed, I select strings by condition and they need to be removed from the table-how to do it? I used all the help, there are a lot of functions, but none of them really work ... or I will brake in the morning .. :-(



gek   (2001-12-20 08:41) [1]

Well, take inheritance from grid and transfer functions there

procedure RowMoved (FromIndex, ToIndex: Longint); override;
procedure ColumnMoved (FromIndex, ToIndex: Longint); override;
procedure InsertRow (ToIndex: LongInt);
procedure DeleteRow (DIndex: LongInt);

in public

in the grid they are in private



MBo   (2001-12-20 08:47) [2]

procedure TForm1.Button2Click (Sender: TObject);
var i, j: integer;
begin
with StringGrid1 do
for i: = RowCount-1 downto 0 do
if (your condition) then begin
begin
Rows [i] .Clear;
if i <RowCount-1 then
for j: = i to RowCount - 2 do Rows [j]. Assign (Rows [j + 1]);
RowCount: = RowCount - 1;
end;
end;
end;



Pages: 1 whole branch

Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Top





Memory: 0.54 MB
Time: 0.028 c
3:21950
Hermit
2001-12-05 11:38
2002.01.08
Implicitly Started Transactions


1:22248
Leviathan
2001-12-17 13:07
2002.01.08
Delphi mocks !!!


3:21948
andre_polt
2001-12-04 16:22
2002.01.08
DB


1:22180
Nathan
2001-12-21 11:07
2002.01.08
Problem!


3:21914
Axel
2001-12-03 18:05
2002.01.08
Question on MIDAS.





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic indonesian Irish italian Japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Spanish swahili Swedish thai turkish Ukrainian urdu vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish