|
-
Aug 31st, 2011, 08:06 PM
#1
Re: functions within app at runtime
i noticed that is i put a space in the item from the list its not gonna work
Public Sub UnloadMe()
Unload Me
End Sub
Private Sub Form_Load()
List1.AddItem "Hello"
List1.AddItem "Procedure1"
List1.AddItem "AnotherProcedure"
List1.AddItem "Unload Me"
it doesnt detect unload me because of the space
-
Aug 31st, 2011, 09:06 PM
#2
Re: functions within app at runtime
That's because they have to be valid procedure names and so they can't contain a space. To get around that you could create an UnloadMe sub that has Unload Me as it's one line of code.
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
|