Class

TMHQuestion

Module

fMHTest

Last Modified

7/15/2014 3:26:38 PM

Scope

Global

Inherits from

TObject

Declaration


TMHQuestion = class(TObject)
private
  FSeeAnswers: boolean;
  FAnswerText: string;
  FText: string;
  FAllowedAnswers: string;
  FAnswerIndex: integer;
  FAnswerCount: integer;
  FID: integer;
  FAnswer: string;
  FObjects: TList;
  //FLine: integer;
protected
  procedure OnChange(Sender: TObject);
public
  constructor Create;
  destructor Destroy; override;
  function Question: string;
  procedure BuildControls(var Y: integer; Wide: integer);
  property AllowedAnswers: string read FAllowedAnswers;
  property Answer: string read FAnswer;
  property AnswerCount: integer read FAnswerCount;
  property AnswerIndex: integer read FAnswerIndex;
  property AnswerText: string read FAnswerText;
  property SeeAnswers: boolean read FSeeAnswers;
  property ID: integer read FID;
  property Text: string read FText;
end;

Class Hierarchy


TObject
 └TMHQuestion

Class Fields

Name Type Scope Comments
FAllowedAnswers UnicodeString Private -
FAnswer UnicodeString Private -
FAnswerCount Integer Private -
FAnswerIndex Integer Private -
FAnswerText UnicodeString Private -
FID Integer Private -
FObjects TList Private -
FSeeAnswers Boolean Private -
FText UnicodeString Private -

Properties

Name Type Scope Comments
AllowedAnswers UnicodeString Public -
Answer UnicodeString Public -
AnswerCount Integer Public -
AnswerIndex Integer Public -
AnswerText UnicodeString Public -
ID Integer Public -
SeeAnswers Boolean Public -
Text UnicodeString Public -

Constructors

Name Declaration Scope Comments
Create constructor Create; Public -

Destructors

Name Declaration Scope Comments
Destroy destructor Destroy; override; Public -

Methods

Name Declaration Scope Comments
BuildControls procedure BuildControls(var Y: integer; Wide: integer); Public TMHQuestion
OnChange procedure OnChange(Sender: TObject); Protected -
Question function Question: string; Public -

Referenced By (6)

Module (line) Referrer Type
fMHTest (665) - Read
fMHTest (670) - Read
fMHTest (767) - Read
fMHTest (776) - Read
fMHTest (1124) - Read
fMHTest (1125) - Read