You can set Style property only at design-time. At run-time this property is read-only. So you cannot change this property through code anywhere - in normal form or in ActiveX control. Consider having two buttons with different styles and showing/hiding them through code in BtnStyle property let procedure of your ActiveX control.
Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000) br>
VB (.NET) - what other language do you need in the whole Universe?...