Solved

delphi dxlayoutcontrol autosize

Posted on 2011-03-19
1
1,189 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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 this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

726 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