|
-
Jun 5th, 2000, 04:05 PM
#1
Thread Starter
Lively Member
I know how to create one. But deleting is harder. Can't find example code on it anywhere. Topic is little known probably.
Dim MyCmd As Control
Set MyCmd = Controls.Add("Forms.CommandButton.1")
MyCmd.left = 18
MyCmd.top = 50
MyCmd.width = 175
MyCmd.height = 20
MyCmd.Caption = "This iz fun. " & MyCmd.Name
I've tried
MyCmd.Delete
but only get an error 91.
Anyone know the answer?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|