ychatu11.pas

来自「Yahoo Messenger for Mobile」· PAS 代码 · 共 42 行

PAS
42
字号
unit YchatU11;

interface

uses
  Windows, Messages, SysUtils,  Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, YChatU1, DynamicSkinForm, SkinCtrls, SkinBoxCtrls;

type
  TForm11 = class(TForm)
    ListBox1: TspSkinListBox;
    procedure ListBox1ListBoxDblClick(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form11: TForm11;

implementation

{$R *.dfm}

procedure TForm11.ListBox1ListBoxDblClick(Sender: TObject);
Var
 R,N: Integer;
begin
R:=0;
//Say(Cut,True);
 For N:=ListBox1.Items.Count-1 Downto 0 do
  If ListBox1.Selected[N]=True Then
    R:=N;
  If R<>-1 Then
    ListBox1.Items.Delete(R);
 Ignored.Delete(ListBox1.Items[R]);
// Ignored.AddStrings(ListBox1.Items);
end;

end.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?