application.getMethodContent(globals.myMethod)

Discuss all feature requests you have for a new Servoy versions here. Make sure to be clear about what you want, provide an example and indicate how important the feature is for you

application.getMethodContent(globals.myMethod)

Postby Karel Broer » Mon May 14, 2007 1:44 pm

I like to be able to retrieve the content of a method. This would be perfect for using eval() in extended ways.
It's even possible then to dynamicly build methods from existing Servoy methods!
Something like:
Code: Select all
if(thisValue == thatValue) {
    var vMethod = application.getMethodContent(globals.myMethod)
    vMethod += '\n\n' + application.getMethodContent(globals.myOtherMethod)
    eval(vMethod)
}
Karel Broer
ServoyCamp - http://www.servoycamp.com
User avatar
Karel Broer
 
Posts: 779
Joined: Mon May 03, 2004 12:49 am
Location: Doetinchem

Return to Discuss Feature Requests

Who is online

Users browsing this forum: No registered users and 8 guests