AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

"Optimale Breite" bei StringGrid einstellbar?

Ein Thema von daywalker-dj-k · begonnen am 5. Mär 2004 · letzter Beitrag vom 9. Aug 2019
Antwort Antwort
dominicday

Registriert seit: 9. Aug 2019
1 Beiträge
 
#1

AW: "Optimale Breite" bei StringGrid einstellbar?

  Alt 9. Aug 2019, 04:26
vielen dank für deine antwort. nur leider klappt das bei mir nicht
  Mit Zitat antworten Zitat
hoika

Registriert seit: 5. Jul 2006
Ort: Magdeburg
8.277 Beiträge
 
Delphi 10.4 Sydney
 
#2

AW: "Optimale Breite" bei StringGrid einstellbar?

  Alt 9. Aug 2019, 06:59
Hallo,
"klappt nicht" ist keine Fehlermeldung ...

Wann genau rufst du die Methode auf?
Und poste noch mal deine Methode.
Heiko

Geändert von hoika ( 9. Aug 2019 um 07:01 Uhr)
  Mit Zitat antworten Zitat
Benutzerbild von dummzeuch
dummzeuch

Registriert seit: 11. Aug 2012
Ort: Essen
1.732 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#3

AW: "Optimale Breite" bei StringGrid einstellbar?

  Alt 9. Aug 2019, 08:09
///<summary>
/// Resizes the columns of a TCustomGrid to fit their contents
/// @param Grid is the TCustomGrid to work on
/// @param Options is a TResizeOptionSet specifying additional options,
/// defaults to an empty set.
/// @param RowOffset gives the first row to use, -1 means "start at the first non-fixed row"
/// @param ConstantCols is an array containg the indexes of columns that should keep their
/// width.
/// @returns True, if the grid is not wide enough to display all columns (that is: It should
/// have a horizontal scrollbar)
/// False, if all columns fit without scrolling
/// @note that the default is to use the first 10 rows. </summary>
function TGrid_Resize(_Grid: TCustomGrid): Boolean; overload;
function TGrid_Resize(_Grid: TCustomGrid; _Options: TResizeOptionSet; _RowOffset: Integer = -1): Boolean; overload;
function TGrid_Resize(_Grid: TCustomGrid; _Options: TResizeOptionSet;
const _ConstantCols: array of Integer; _RowOffset: Integer = -1): Boolean; overload;

https://osdn.net/projects/dzlib-tool...lib-tools#l116
Thomas Mueller
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:39 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz