Problem with ADVToolbar since V8.8.3.1

Hi,

I'm using Delphi XE5

since Version V8.8.3.1 I can't open my form anymore, where the advtoolbar is used.

He is complaining about the AdvToolBarButton.ImageIndex

In Version 8.8.3.0 I can open and compile the program without any problems


best regards

Torsten

What is the specific situation where the TAdvToolBarButton is used? What parent control for example? What exact error message do you get?

Hello,

The ADVToolbar is located on a ADVToolbarPager which is located on the Mainform.


Following Error message Appears when I try to open the form inside the IDE:
Error reading ADVToolBarButton1.ImageIndex : Acess violation at adress 256CD4B9 in Module TMSDXE5.bpl.
Read od adress 00000331. ignore the error and continue....

several messages like this appears.
When I ignore the Error, the form will be not shown

In Version V8.8.3.0 and earlier the Error will not happen.

If you need, I can send you the DFM and Pas file


best regards

Torsten

Hi,


if I remove from ADVToolbar.pas following lines

      if FAdvToolBar.FRuntimeCreate then
        W := Round(W/scale);


      if FAdvToolBar.FRuntimeCreate then
        H := Round(H/scale);

I can Open my Form again and no Errors will be shown any more


I create the Toolbar at Design Time and not at runtime.


Best regards

Torsten

We have investigated & applied a fix for this. We'll release an update with this fix as soon as possible.



That's great

Thanks


Torsten