Einzelnen Beitrag anzeigen

Benutzerbild von xZise
xZise

Registriert seit: 3. Mär 2006
Ort: Waldbronn
4.303 Beiträge
 
Delphi 2009 Professional
 
#29

Re: TInfoBox - eine InfoBox direkt auf dem Desktop

  Alt 3. Aug 2006, 18:10
Genau!
Dann könntest du ja sagen:
Delphi-Quellcode:
if InfoBox.Height + Y > Form.Height then
  InfoBox.Height := Form.Height - Y;
if InfoBox.Width + X > Form.Width then
  InfoBox.Width := Form.Width - X;
Und das meinte ich auch...
Dann hast du das Scrollleisten-Problem gelöst.
Fabian
Eigentlich hat MS Windows ab Vista den Hang zur Selbstzerstörung abgewöhnt – mkinzler
  Mit Zitat antworten Zitat