Page 1 of 1

DCGET GETPRESENTATION

Posted: Sun Oct 24, 2010 9:57 am
by jdsoft
Hello Roger,

I am looking for a way to generalize the GETPRESENTATION parameters.
I can ofcoarse add GETPRESENTATION aGetPres to every DCGET in all my apps, but this would take me ages to go thru all of them.
I study the DCGETOPTIONS and the DCREAD GUI, but i am unable to find the command to add the GETPRESENTATION parameters.
I also study the _dcgetbx.prg, and found no general setting for these parameters (or is missed it).

A extra option "GETPRESENTATION" in DCGETOPTIONS would be verry much appreciated.

Regards,
Jack Duijf

Re: DCGET GETPRESENTATION

Posted: Sun Oct 24, 2010 3:02 pm
by rdonnay
Jack -

Have you looked at the Get-Set function: DC_XbpGetPres() ?

This will set the presentation of all DCGETs in the application.

Code: Select all

aPres := MyGetPresentation()  // returns an array

DC_XbpGetPres( aPres )

Re: DCGET GETPRESENTATION

Posted: Mon Oct 25, 2010 12:51 pm
by jdsoft
Hello Roger,

Thank you, that was just what needed.

Regards,
Jack Duijf