View Single Post
 
Old July 10th, 2003, 10:22 AM
owain owain is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: Cardiff, , United Kingdom.
Posts: 231
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You could always put that into a loop if you have more buttons:

Code:
For lngCount = cmdUpdate.LBound To cmdUpdate.UBound
   cmdUpdate(lngCount).Caption = "Update"
Next

cmdUpdate(TabSelected).Caption = "&Update"
There may be more efficient ways of doing this though.

Regards
Owain Williams