485
edits
(New page: ===Parameter to choose workspace used=== Previously in VDF 11.1 I have created and compiled programs on my development machine with local data on drive C:and a workspace called "Garments...) |
m (→The program) |
||
Line 27: | Line 27: | ||
Use dfAllEnt.pkg | Use dfAllEnt.pkg | ||
use DFAbout | use DFAbout | ||
// | |||
#REPLACE CURRENT$WORKSPACE "Training.Mapps121" //default - modified by calling param | #REPLACE CURRENT$WORKSPACE "Training.Mapps121" //default - modified by calling param | ||
Register_Object oClientArea | Register_Object oClientArea | ||
// | |||
// 1) use package for application workspace | // 1) use package for application workspace | ||
Use MyApplication.pkg //Workspc for multico workspace mapps121 | Use MyApplication.pkg //Workspc for multico workspace mapps121 | ||
// | |||
// 2) Set date attributes as needed | // 2) Set date attributes as needed | ||
Set_Date_Attribute sysdate4_State to dftrue | Set_Date_Attribute sysdate4_State to dftrue | ||
Set_Date_Attribute Date4_State to dftrue | Set_Date_Attribute Date4_State to dftrue | ||
Set_Date_Attribute epoch_value to 60 | Set_Date_Attribute epoch_value to 60 | ||
// | |||
// 3) Application Workspace - help type and name | // 3) Application Workspace - help type and name | ||
Object oApplication is a cMyApplication | Object oApplication is a cMyApplication | ||
End_Object // oApplication | End_Object // oApplication | ||
===The cApplication subclass=== | ===The cApplication subclass=== |