From: Alexander S.K. <al...@be...> - 2004-06-07 06:04:54
|
On 03.06.2004 22:02, Sandro R. R. Freire <san...@ya...> wrote: SRRF> My idea is terms somewhat seemed to demonstrated in the example demodbf.prg SRRF> With definite edition buttons daily pay Recently added testdbf1.xml implements the functionality of the samples/demodbf.prg. Below are few notes about it. 1. There is a line 'common' in the events of a form, it is intended for functions, which are needed for the form and which can be called from any other event handler of the form. The function must be ended with the 'ENDFUNC' statement. The 'Return' isn't obligatory, but may be used if the function must return some value. 2. The form has a property 'Variables' - you may add there variables, which will be declared as 'Private' in the beginning of HFormTmpl():Show() and may be used in any event handler of the form. 3. Each widget has a property 'Name' - this is a object name, which also will be declared as 'Private' in the beginning of HFormTmpl():Show(). 4. The widgets, which have corresponding 'GET' items, has a property 'Varname' - the name of the correspondibg variable, which also will be declared as 'Private' in the beginning of HFormTmpl():Show(). Regards, Alexander http://kresin.belgorod.su |