Einzelnen Beitrag anzeigen

Benutzerbild von Luckie
Luckie

Registriert seit: 29. Mai 2002
37.621 Beiträge
 
Delphi 2006 Professional
 
#13
  Alt 4. Mai 2003, 08:21
So. Unter was für einen Betriebssystem läuft das zur Zeit?

Ich habe mal in der Delphi-Hilfe und im PSDK nachgelesen und konnte folgendes für ein RichEdit rausfiltern:
Wenn man bei MaxLength null an gibt, dann bedeutet das Laut Delphi-Hilfe:
Zitat:
A value of 0 indicates that there is no application-defined limit on the length.
So, im PSDK steht aber::
Zitat:
The EM_EXLIMITTEXT message sets an upper limit to the amount of text the user can type or paste into a rich edit control.
Mit folgender Erklärung:
Zitat:
lParam
Specifies the maximum amount of text that can be entered. If this parameter is zero, the default maximum is used, which is 64K characters. A Component Object Model (COM) object counts as a single character.
Bzw. bei den Remarks:
Zitat:
Before EM_EXLIMITTEXT is called, the default limit to the amount of text a user can enter is 32,767 characters.
So, ich denke mal dein RichEdit ist schlicht und ergreifend voll oder wenn du unter Windows98/ME arbeitest, der Speicher nicht mehr zu läßt.
Michael
Ein Teil meines Codes würde euch verunsichern.
  Mit Zitat antworten Zitat