Page 1 of 1

Object`s Parents

Posted: Fri Jun 15, 2007 5:07 pm
by Manolo
Hi all.

I tried This

DIM MainForm AS Form
DIM Mygrid AS StringGrid
      MyGrid.Parent = MainForm
MainForm.ShowModal

I got this:

object MainForm not declared...

What is wrong?

:o

Object`s Parents

Posted: Fri Jun 15, 2007 9:01 pm
by Marco
Hi,

leave the space after the = and it will work.
It is a bug in processing the parent object.
kind regards