How To…Modify RAP Programs in Code


“How do I modify existing RAP code without using the code workspace (i.e. in Delphi code)?”


Use the raGetCodeModule() routine to gain access to the code module object then loop through each program and global program using the Programs and AllGlobalPrograms lists.

Access the actual RAP code using the TraProgram.Source property.


Sample Delphi code: