Accessing Form Designer Programatically (OpenInsight 32-Bit)
At 25 JUL 2007 05:07:11AM Chris Meyer wrote:
What is the instruction to call form designer in OI8 with the form name as a parameter. This will speed up my development procedure.
TIA
Chris
At 25 JUL 2007 07:03AM Mike Ruane wrote:
Chris-
Given that this is a development system (either a W or D serial number), you can invoke the Repository function, using the Design method, passing the key to the form as the second parameter.
x=Repository('DESIGN', ENTITYID)
Mike
At 26 JUL 2007 07:14AM Chris Meyer wrote:
Thank Mike, yes this is my development system but no luck with:
x=Repository('DESIGN', 'PBC*OIWIN**FORMNAME)
Had better luck with:
VAL=SEND_MESSAGE('SYSTEM','RUNTOOL',@WINDOW,1,FormName)
This started form designer but did not pass the form name to form designer.
Any ideas would be appreciated.
TIA
Chris