Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Resizable dialog, resizable controls, splitters
Functions to automatically resize dialog controls when user resizes dialog or drags splitter.

Shows how to make dialog resizable.
Function DT_AutoSizeControls: Moves or resizes dialog controls when you resize the dialog.
Control class QM_Splitter. Resizes adjacent controls when user drags splitter. And class DlgSplitter.

Note: if you already have function DT_AutoSizeControls, delete it.

Nov 8 2010:
Added class DlgSplitter.
Now you can get/set splitter position from code.
Fixed 1 bug.

Some small changes.

Upgrading: delete old folder (probably named "Resizable dialog, resizable controls, splitters") and import this file. Restart QM.

Keywords: separator, divider, mouse, move, border, child, window, vertical, horizontal

Attached Files
.qml   Resizable dialog, resizable controls, splitters.qml (Size: 17.91 KB / Downloads: 1,174)

Messages In This Thread

Forum Jump:

Users browsing this thread: 1 Guest(s)