>When I add the class "cmdExit" button to a form, it names the button "cmdExit1". I was wondering if there is a way to prevent it from putting the 1 on it as there is only one of these buttons on a form =)
>
>Any advice is appreciated.
>
>Eddie
The problem is that VFP doesn't know in advance that you intend to use only one instance...
I don't think you can avoid this, but you can copy and paste an object (or several object) from a form template or from a working form. This should preserve all properties, including the name (if it isn't already used on the destination form).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)