K
K. Shier
i need to iterate through a collection of controls and set event handlers
using the given control's name as a basis. in pseudocode
(wishful-thinkingcode!):
AddHandler BufControl.validateevent, AddressOf
TheMagicalFunctionThatTurnsAStringIntoAMethod(BufControl.Name & "_Validate")
assume BufControl = txtAdd1, the substituted output i am looking for is*:
AddHandler txtAdd1.ValidateEvent, AddressOf txtAdd1_Validate
what is the real name of 'TheMagicalFunction...', please? i just saw a post
on this the other day but i have no chance of finding it as i don't know any
legitimate keywords!
THANKS! =)
using the given control's name as a basis. in pseudocode
(wishful-thinkingcode!):
AddHandler BufControl.validateevent, AddressOf
TheMagicalFunctionThatTurnsAStringIntoAMethod(BufControl.Name & "_Validate")
assume BufControl = txtAdd1, the substituted output i am looking for is*:
AddHandler txtAdd1.ValidateEvent, AddressOf txtAdd1_Validate
what is the real name of 'TheMagicalFunction...', please? i just saw a post
on this the other day but i have no chance of finding it as i don't know any
legitimate keywords!
THANKS! =)