Quote:
> Hi all,
> Using VB6. I want to add CommandButtons to a form at run time. By
> default, the Style property of the CommandButton is vbButtonStandard.
> I need it set to vbButtonGraphical so I can show a graphic on the
> CommandButtons. However, the Style property is read only by default
> at run time. Any ideas on how to do this.
add one at design time and set the style as desired and the index property
to 0 (or any appropriate value); then use the Load and Unload statements to
handle the new instances.