Thursday, October 25, 2007

Build 148

ADD OBJECT can now resolve multi-level object references. In order to properly compile such references, you have to wrap them into quotes like in the following example:

loFrm = CreateObject("frmSample")

Define Class
frmSample as Form
Add Object cnt as container
Add Object "cnt.cmd" as commandbutton
Procedure cnt.cmd.Click

This adds a container with a button control. While Visual FoxPro can compile this code, you can only execute it in Guineu.

No comments: