Page 1 of 1

About the 7.3 beta pff object

Posted: August 5th, 2019, 6:40 pm
by htuser
Dear CSPro Developer Team,
In the Readme txt file for the latest 7.3 Beta (August, 2) i see:
pff functions: exec, getproperty, load, save, setproperty
Also in some 7.3 updated applications for example this:
function lancerQuestionnaireMenage()
   
pff pffMenage;
    pffMenage.load(
pathname(Application) + "../Menage/Popstan2020.pff");
    pffMenage.setproperty(
"key", CHOISIR_MENAGE);
    pffMenage.setproperty(
"operatorid", maketext("%d", LOGIN));
   
if loadcase(NUMEROTATIONMENAGES_DICT, CHOISIR_MENAGE) then
       
pffMenage.setproperty("milieu", maketext("%d", NU_MILIEU_RESIDENCE));
   
else
        errmsg
("Le cas %s pas trouve dans le fichier de numerotation",
            CHOISIR_MENAGE);
   
endif;

    pffMenage.exec();
end;
So, i would like to know:
1.- What's property we can set or get in a pff object?
2.- Can we override an existing pff property?

Thanks in advance for your help and support!

Re: About the 7.3 beta pff object

Posted: August 6th, 2019, 1:53 pm
by josh
This will all be documented in the next beta release.

Re: About the 7.3 beta pff object

Posted: August 6th, 2019, 6:55 pm
by htuser
Thank you Josh. I'm able to understand pff object function such as :
load, save, exec
and i would like to test the 7.3 new feature in a real world 2 pages (8.5*11 MS Word format) questionnaire.
Among other, pff object interest me greatly since it will allow to write few pff files in menu to launch multiples applications.
So, if i can have some basic explanation, that's can help me.

In any event, i'm waiting for global documentation.

Best Regards,