I have been trying to make impressive toolbars with Pageframes and containers inside pages and containers inside containers. They all seem to work well when run in Development Mode but when I try to Compile the Classes containing them I get 'Syntax error'. It appears that VFP 9.0 can't compile containers inside containers. If I just place ONE container in the toolbar it compiles okay, things seem to be going elsewhere when I place a container inside another. Try to compile the following and you will see the error.
------------------------------------->
"I have sought your assistance on this matter because I have exhausted all the help that I can find. You are free to direct me to other source of help"
Code:
**************************************************
*-- ParentClass: toolbar
*-- BaseClass: toolbar
*-- Time Stamp: 08/11/15 07:35:08 AM
*
DEFINE CLASS bartool AS toolbar
Caption = "Toolbar1"
Height = 79
Left = -1
Top = -5
Width = 859
Name = "bartool"
ADD OBJECT pframe AS pageframe WITH ;
ErasePage = .T., ;
PageCount = 2, ;
TabStyle = 1, ;
Top = 3, ;
Left = 5, ;
Width = 849, ;
Height = 73, ;
TabOrientation = 2, ;
Name = "pframe", ;
Page1.Caption = "T1", ;
Page1.Name = "Page1", ;
Page2.Caption = "T2", ;
Page2.Name = "Page2"
ADD OBJECT bartool.pframe.page1.container1 AS container WITH ;
Top = 19, ;
Left = 90, ;
Width = 62, ;
Height = 31, ;
Name = "Container1"
ENDDEFINE
*
*-- EndDefine: bartool
**************************************************
------------------------------------->
"I have sought your assistance on this matter because I have exhausted all the help that I can find. You are free to direct me to other source of help"