Advertisement
Advertisement
| 02.09.2008 at 07:01AM PST, ID: 23150078 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
|
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Contnrs, ComCtrls, StdCtrls;
type
TBreakData = class(TObject)
BreakNo : Integer;
BreakText : String;
end;
type
TForm1 = class(TForm)
ListView1: TListView;
Add: TButton;
Remove: TButton;
procedure FormCreate(Sender: TObject);
procedure FormDestroy(Sender: TObject);
procedure ListView1Data(Sender: TObject; Item: TListItem);
procedure AddClick(Sender: TObject);
procedure RemoveClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
MyBreakList: TObjectList;
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.FormCreate(Sender: TObject);
begin
MyBreakList := TObjectList.Create;
end;
procedure TForm1.FormDestroy(Sender: TObject);
begin
MyBreakList.Free;
end;
procedure TForm1.ListView1Data(Sender: TObject; Item: TListItem);
begin
if TBreakData(MyBreakList[Item.Index]).BreakText <> '' then
begin
Item.Caption := IntToStr(TBreakData(MyBreakList[Item.Index]).BreakNo);
Item.SubItems.Add(TBreakData(MyBreakList[Item.Index]).BreakText);
end;
end;
procedure TForm1.AddClick(Sender: TObject);
Var
MyBreak: TBreakData;
i: Integer;
begin
for i := 1 to 150 do
begin
MyBreak := TBreakData.Create;
MyBreak.BreakNo := i;
MyBreak.BreakText := 'ExampleText: This is break number ' + IntToStr(i);
MyBreakList.Add(MyBreak);
end;
ListView1.Items.Count := MyBreakList.Count;
end;
procedure TForm1.RemoveClick(Sender: TObject);
begin
ListView1.Items.Clear;
MyBreakList.Clear;
ListView1.Items.Count := MyBreakList.Count;
end;
end.
|
| Microsoft |
| Apple |
| Internet |
| Gamers |
| Digital Living |
| Virus & Spyware |
| Hardware |
| Software |
| ITPro |
| Developer |
| Storage |
| OS |
| Database |
| Security |
| Programming |
| Web Development |
| Networking |
| Other |
| Community Support |
| 02.09.2008 at 12:40PM PST, ID: 20858564 |
| 02.09.2008 at 02:00PM PST, ID: 20858877 |
| 02.09.2008 at 02:09PM PST, ID: 20858936 |
| 02.09.2008 at 04:00PM PST, ID: 20859265 |
| 02.09.2008 at 04:17PM PST, ID: 20859322 |
| 02.09.2008 at 04:23PM PST, ID: 20859338 |
| 02.09.2008 at 04:30PM PST, ID: 20859355 |
| 02.13.2008 at 04:40AM PST, ID: 20883601 |
| 02.13.2008 at 08:53AM PST, ID: 20885836 |