Object`s Parents

In this category you can exchange your programming questions and solutions.
Post Reply
Manolo
Posts: 16
Joined: Fri Jun 15, 2007 4:57 pm

Object`s Parents

Post: # 52Post Manolo
Fri Jun 15, 2007 5:07 pm

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

Marco
Site Admin
Posts: 246
Joined: Sat Sep 15, 2018 8:41 pm

Object`s Parents

Post: # 53Post Marco
Fri Jun 15, 2007 9:01 pm

Hi,

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

Post Reply