I have an established class library and I'm wanting to now update the base
class properties MemberClass and MemberClassLibrary.
I have created the appropriate prg based Column and Header classes.
A form or class that uses the changed baseGrid class works fine.
A form or class that uses a class that contains the baseGrid is unable to
load that class.
Let's explain the hierarchy.
baseLibrary contains baseGrid, and baseContainer
moduleLibrary contains a subclass of baseContainer that has a baseGrid in
moduleTransactionsDetail.
This moduleTransactionDetail class has additional controls like buttons and
labels for use in multiple places.
Error loading file - record number 233. moduleTransactionDetail <or one of
its members>. Parent : Cannot add this object to a Grid
All the class libraries and forms will build without errors. Attempt to
modify them, or run them and these errors occur.
Does anyone have suggestions why these would be failing?
DEFINE CLASS basecolumn as Column
fontname = "Segoe UI"
fontsize = 10
name = "column"
HeaderClass = "baseheader"
HeaderClassLibrary = this.ClassLibrary
ENDDEFINE
DEFINE CLASS baseheader as Header
fontname = "Segoe UI"
fontsize = 10
caption = "header"
name = "header"
ENDDEFINE
I did find I needed to put the name property in the PRG based class to get
the first layer working.
Thank you,
Tracy
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message:
https://leafe.com/archives/byMID/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.