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

Down

help, good people Find similar branches


Катерина   (2001-12-20 07:37) [0]

Dobrenko utrechko. I have a little difficulty, it does not work to remove the string from the string. What function is needed and with what parameters? I tried to use delete, but something delphi in the parameters does not suit.



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


procedure TFormEnterData.StringGrid1KeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
var
TStr:TStrings;
begin
if key = VK_DELETE then
If MessageDlg("Удалить текущую запись ? ",mtWarning,
[mbOk,mbCancel],0) = mrOk then
with StringGrid1 do
begin
if RowCount = 2 then
begin
StringGrid1.RowCount:=2;
StringGrid1.Rows[1].Clear;
exit;
end;
TStr:=Rows[RowCount-1];
Rows[(StrToInt(LabelPosition.Caption))]:=TStr;
RowCount:=RowCount - 1;
LabelCountRows.Caption:=IntToStr(RowCount -1);
end;
end;




Pages: 1 whole branch

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

Top





Memory: 0.54 MB
Time: 0.02 c
4-22467
Shadow
2001-11-01 15:46
2002.01.08
TOPMOSTS


3-21975
Dr. Web
2001-12-06 09:12
2002.01.08
creating Interbase database from the program


1-22136
Dorixe
2001-12-20 09:40
2002.01.08
Proekt


3-21910
Wladimir
2001-12-04 08:01
2002.01.08
Number of entries in the table?


1-22053
greenrul
2001-12-18 19:29
2002.01.08
ANTIALSING for TTF fonts.





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 ภาษาไทย turkish Ukrainian urdu Tiếng Việt 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