AddLunaPas 1.1
  • C++ Builder:
    C1 C3 C4 C5 C6 C2006 C2007 C2009 C2010 
  • Delphi:
    D1 D2 D3 D4 D5 D6 D7 D8 D2005 D2006 D2007 D2009 D2010 DPHP DPRISM Delphi/400 
  • Kylix:
    K1 K3 



LunaPas is set of classes to access Delphi objects from Lua scripts (like in known Luna.h). Extended to allow usage of Delphi controls and RTTI.
Requires Delphi 2010+ and lua51.dll.

Common API:
    print(text: string)

Class API:
    function GetProp(property name: string): returns property value
    function SetProp(property name: string; property value): sets property
    function Invoke(method name: string; params separated by comma): executes method, returns result
    function EnumProperties([class name: string]): return array of strings
    function EnumMethods([class name: string]): return array of strings
    function EnumFields([class name: string]): return array of strings
    function SetEvent(event name: string; lua function)


Note: not all property's access available, mostly integer, string, enums and sets.

Changes:

v1.1
    Common API moved to LuaVM.pas
    GetProp, SetProp, Invoke, EnumProperties, EnumMethods, EnumFields are able to access to inner class
    function Invoke to call methods

  • Category:
    Interpreters
  • Author:
    (More by this author)
  • Info:
    Freeware
  • Date added:
    05 September, 2011 09:36
  • Views:
    2472
  • Downloads:
    1906
Usefulness
Documentation
Stability
Value
Ease of Use
Level of Use
0 people have rated this applicaton
Total Average
 
You can submit your own rating, for this you must be logged in.
Files:
Categories

Latest Forum Entries