Changeset 464


Ignore:
Timestamp:
Feb 22, 2023, 1:36:03 AM (2 years ago)
Author:
ataylor
Message:

Tweaked ScaleForm routine to better handle radio-button group controls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Components/ControlsUtility.pas

    r457 r464  
    107107uses
    108108  PMGpi, PMDev, PMShl, DOS, PMWin, BseDos,
    109   TabCtrls,
     109  TabCtrls, ExtCtrls,
    110110  MultiColumnListBox,
    111111  Graphics;
     
    678678      Round( TMultiColumnListBox( Control ).HeaderHeight * YFactor );
    679679
     680  // TRadioGroup seems to handle its own children automatically
     681  if Control is TRadioGroup then
     682    exit;
    680683  if csDetail in Control.ComponentState then
    681684    exit;
Note: See TracChangeset for help on using the changeset viewer.