Radicore tutorial point [message #7216] |
Sun, 02 September 2018 03:12 |
Ellie
Messages: 9 Registered: August 2018
|
Junior Member |
|
|
Where there are lines:
to force the TREE_LEVEL_SEQ field to be non-editable all all screens except the search screen, which can be done by copying across the empty _cm_changeConfig() method from file std.table.class.inc, then filling it with the code shown below:
The Question is: Are those changes to be made in test/screens/<language> screen files respectively?
Pardon my dummy question ))
|
|
|
Re: Radicore tutorial point [message #7217 is a reply to message #7216] |
Sun, 02 September 2018 04:45 |
AJM
Messages: 2371 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
No. The change is made to your <table>.class.inc file. By default this does not exist in any table class, so it inherits the empty method from the abstract table class (std.table.class.inc). You copy this empty method into your table class then put some code into it so that when this method is called it executes this override method instead of the default method.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
|
Re: Radicore tutorial point [message #7220 is a reply to message #7218] |
Mon, 03 September 2018 04:21 |
AJM
Messages: 2371 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
When the documentation refers to "relationships" it means both parent relationships and child relationships. A relationship always requires two tables - the "one" (parent) and the "many" (child), therefore you can have relationships where the current table is the parent *AND* where the current table is the child. Don't forget that a table can have more than one parent as well as more than one child.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|