Solved

delphi dxlayoutcontrol autosize

Posted on 2011-03-19
1
1,178 Views
Last Modified: 2012-05-11
I have a DXLayoutControl in Delphi. When captions change it automatically changes the width of the group controls, as a result it displays scrollbars.

Is there any way to avoid displaying scrollbars? Something like autosize that sets the size automatically to fix the groups.

Another way is to programmatically detect if srollabars are visible and set the height/width of the form (on OnFormShow).
0
Comment
Question by:dinko1
1 Comment
 
LVL 19

Accepted Solution

by:
Thommy earned 500 total points
ID: 35175148
You can hide the scrollbars by setting properties HScrollBar and/or VScrollBar to FALSE...

Hide scrollbars
http://devexpress.com/Support/Center/p/~/p/Q94958.aspx
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question