PDA

View Full Version : Strange problem with TToolBar and TToolButtons


JJe
10-29-2002, 03:03 AM
I use Delphi 4 and standard components.

I have a form with TToolBar and three TToolButtons on it. Everything works fine.

I don't want to use this ToolBar anymore so I deleted it at design time. When I compile and build my application everything is still fine. BUT when I run my application and try to open my form I got following error message: <cb>Class TToolButton not found.</cb>

So, what could be possible wrong?

- JJe

simes
10-29-2002, 03:25 AM
try removing ComCtrls and ToolWin from the Uses clause.

<cr>Please click accept if this helps</cr>

Simon
SadMan Software
http://www.simes.clara.co.uk

JJe
10-29-2002, 03:32 AM
Didn't work. I have other controls which use ComCtrls and ToolWin.

- JJe

JJe
10-29-2002, 04:42 AM
My own mistake...

- JJe