Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by ConnorMcLeod,
23. Feb 2015
Müßte auch so gehen (rein ausm Kopf):
type
TMyDemoGrid = class(TStringGrid)
end;
...
var
FgrdDemo: TMyDemoGrid;
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by ConnorMcLeod,
23. Feb 2015
Ich habe D2010, da heißt es in Grids.pas / Zeile 2465:
procedure TCustomGrid.CalcDrawInfo(var DrawInfo: TGridDrawInfo);
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by ConnorMcLeod,
23. Feb 2015
Viele Wege führen zum Kompilat.
Was mich bei der Scrollbar-Überlegung stört ist, daß die Scrollbars nicht Teil des Problems sind, sondern nur ein Symptom.
Das Problem ist ein zu breites Grid, das angepaßt werden muß.
Wenn aus diversen Gründen grundsätzlich keine Scrollbars angezeigt würden (Optionen verändert etc.), dann hättest Du keine Scrollbars, aber das Grid wäre immer noch zu...
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by ConnorMcLeod,
23. Feb 2015
Schau Dir mal TGridDrawInfo an; vllt ersparst Du Dir dann das Gefummel mit den Scrollbars.
Besonders TGridDrawInfo.Horz.LastFullVisibleCell u dgl ...