L505 wrote:
Try the ReadOnly property, set it to false


Er, it seems to default to false; did you mean set it true? that would make sense.



Yes.. sorry. Do the opposite of what I say.

var
  CorrectAnswer: boolean;
begin
  if Lars.Responds  then
    CorrectAnswer:= not Lars.Answer;
end;


Excellent - good to see a sense of humour here. Does this also prevent me programmaticaly writing to the TMemo? Presumably not else it would be nought but a BOG label.

Do you know where TMemo's methods are documented?

Ian

Ian

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to