TRzDBRadioGroup startypos proble in ver 5 after ver 3

Components on the Raize Panels palette: panels, group bars, page controls, splitters, toolbars, status bars, group boxes, etc.

TRzDBRadioGroup startypos proble in ver 5 after ver 3

Postby meddata » Thu Aug 18, 2011 6:38 am

When I used raize 3.1, I set startypos=-5 (everything ok).
İn this case caption and items seen correctly.
I have problem in case of upgrade from 3 to 5.
Because items go upward over the caption.
Whe I set startypos=0,-1,-2, problem can be solved.
But my project is huge that have ~300 forms.
I checked component source and find startypos place that is diferent in 3 and 5 version.

"TitleHeight := GetMinFontHeight( Font );
if GroupStyle = gsStandard then
if Caption <> '' then
TopMargin := TitleHeight + FStartYPos
TopMargin := TitleHeight div 2 + 2 + FStartYPos;
I try to recompile component , But I failed with undefined error message.

How Can I solve the problem as quickly.
best regards,

Posts: 1
Mon Aug 08, 2011 4:56 pm

Re: TRzDBRadioGroup startypos proble in ver 5 after ver 3

Postby Raize Support » Thu Aug 18, 2011 5:04 pm

Hi Sait,

There are a couple of options. First, you could use a file search and replace tool and replace the StartYPos settings for your radiogroups in the DFM files of your project. That is, of course, if your DFMs are text based and not binary based.

The other option is to make the change in the constructor to change the initial value of the StartYPos property and then use the !Build_RC5.cmd file in the RC5\Source directory to rebuild the components and packages.

Raize Software Support
Raize Software
Raize Support
Posts: 616
Fri Mar 25, 2011 9:04 pm

Return to Panels

Who is online

Users browsing this forum: No registered users and 1 guest