Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by haentschman,
23. Apr 2024, 14:07
:P mach ich...
...ist protected. "Auf protected...konnte nicht zugegriffen werden." Erst im TDBRichEdit und TRichEdit public...:cry:
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by haentschman,
23. Apr 2024, 13:57
...du sagst es. 8-) Manchmal muß man nur darüber reden. :P
In der BasisForm:
procedure TfoBase.FormKeyPress(Sender: TObject; var Key: Char);
begin
if Assigned(Self.ActiveControl) then
begin
if (Key = #13) and (not ((Self.ActiveControl.Parent is TcxCustomMemo) or
(Self.ActiveControl is TDBRichEdit) or
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by haentschman,
23. Apr 2024, 13:32
Hallöle...8-)
Ich habe 2 identische Frames für RichEdit. Einer hat ein TDBRichedit mit Datasource, der andere ein TRichEdit mit TStream. Beide liegen auf separten Panels als Parent.
Alle beide haben "WantReturns = True". Das DBRichEdit verhält sich wie in der Hilfe erwähnt...Zeilenvorschub bei ENTER. Der andere springt zum nächsten Control...:roll:
PS: Mit CTRL-ENTER macht der auch einen...