About the 7.3 beta pff object

Other discussions about CSPro
Forum rules
New release: CSPro 8.0
Post Reply
htuser
Posts: 631
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

About the 7.3 beta pff object

Post 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!
G.VOLNY, a CSProuser from Haiti, since 2004
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: About the 7.3 beta pff object

Post by josh »

This will all be documented in the next beta release.
htuser
Posts: 631
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Re: About the 7.3 beta pff object

Post 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,
G.VOLNY, a CSProuser from Haiti, since 2004
Post Reply