WPCubed Product Support

WPTabDlg - first tab is only aligned left

We are using WPTabDlg to edit the tabs.

The first tab in the list of tabs is always shown as aligned left, although it should be aligned right (or aligned somehow else). All the remaining entries of this list do show the correct alignment.

Can anyone confirm this issue / bug..?

We're using WPTools 6.07

#1 ♥ 0
3.2k Views 2 users read 1 min
support

Hi,

You're right - I see this too.

To fix this please open WPTabDlg.pas

and in

procedure TWPTabDialog.FormActivate(Sender: TObject);

move the code
AlignmentGroup.ItemIndex := 0;
TabFillGroup.ItemIndex := 0;

5 lines up:

...
    AlignmentGroup.ItemIndex := 0;
    TabFillGroup.ItemIndex := 0;

    if TabList.Items.Count>0 then
    begin
     TabList.ItemIndex := 0;
     TabListClick(nil);
    end;
end;

Thanks, Julian

#2 ♥ 0
This category is archived. No new posts are possible.