|
-
Jun 20th, 2004, 10:30 AM
#1
Thread Starter
Need-a-life Member
Bug with the Default property
Follow these steps:
- Add a Frame to your form, set its enabled property to false.
- Add a button into the frame, set its default property to true.
- Add this code in the form's code:
VB Code:
Option Explicit
Private Sub Command1_Click()
MsgBox "1"
End Sub
- Run it.
If you try to click on the button, nothing happens because the frame is disabled. But, the button is set to be the default one, so... hit Enter. Should that MsgBox appear??
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
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
|