Page 1 of 1
Sample GETPRESENTATION
Posted: Mon Jun 11, 2012 6:33 am
by digitsoft
Hello Roger
You can give me an example of using GETPRESENTATION
Paulino Nolberto
Regards
Re: Sample GETPRESENTATION
Posted: Mon Jun 11, 2012 6:36 am
by digitsoft
I need to justify a numerical quantity to the left
Re: Sample GETPRESENTATION
Posted: Mon Jun 11, 2012 6:49 am
by rdonnay
---------------- New to 1.9 (build 256) ----------
1192. Added a GETALIGN option to the @ DCSAY .. GET command. GETALIGN <nAlign>
specifies how the characters are aligned within the DC_XbpGet object.
1191. Added an ALIGN option to the DCGET command. ALIGN <nAlign>
specifies how the characters are aligned within the DC_XbpGet object.
Re: Sample GETPRESENTATION
Posted: Mon Jun 11, 2012 11:11 am
by digitsoft
Hello Roger
What I need is left justify the data in a DCGET
the XBPSTATIC_TEXT_LEFT GETALIGN not work
Generates this error
C: \ Win \ nom \ PV> pbuild exe
Xbase + + (R) Version 1.90.355 ProjectBuilder
Copyright (c) Alaska Software 1997-2009. All rights reserved.
xpp / q / n / w / m / b / ga / COFF / b / DDEBUG / oOBJ @ C: \ DOCUME ~ 1 \ npaulino \ CONFIG ~ 1 \ Tem
p \ 06119355.tmp
Xbase + + (R) Compiler 1.90.355 April 9 2009
Copyright (c) Alaska Software. All rights reserved.
XPLIB.PRG (3648:0): error XBT0200: Syntax Error
XPLIB.PRG (3648:0): error XBT0200: Syntax Error
2 error (s) found in file XPLIB.PRG!
Paulino Nolberto
Re: Sample GETPRESENTATION
Posted: Mon Jun 11, 2012 5:07 pm
by rdonnay
Are you using build 256?
Re: Sample GETPRESENTATION
Posted: Tue Jun 12, 2012 5:14 am
by digitsoft
If Roger
I'm using the 256
Paulino Nolberto
Regards
Re: Sample GETPRESENTATION
Posted: Tue Jun 12, 2012 5:43 am
by digitsoft
Hello Roger
I've download eXpress Install 256 and does not work in DCGET ALIGN
@ NSRow, PICT cGetVar DCGET nScol cGetPict;
MESSAGE INTO cMessage cMessageObj;
NCount + getSize nGetWidth + IIF (! Empt (bPopup), 5.7,3.4), 1.05;
GETOBJECT oObject;
ALIGN XBPSTATIC_TEXT_LEFT;
PARENT oParent;
EDITPROTEC bEditProtec;
WHEN bWhen;
HIDE Bhide;
ToolTip cToolTip;
GetColor cGetColor1, cGetColor2;
VALID bValid
Paulino Nolberto
Regards
Re: Sample GETPRESENTATION
Posted: Tue Jun 12, 2012 5:53 am
by digitsoft
Look the codigo.
@ 02.30,12.7 DCSPINBUTTONGET @cCUnidad1 PICT "999,999.99999" ;
GETSIZE 2.9 ;
TOOLTIP {|| TRANSFORM(cCUnidad1,"999,999.99999") } ;
PARENT @oTabPage4 ;
WHEN {|| lEditar .AND. !EMPT(cUnidad1) } ;
MESSAGE "Indique la Cantidad de Unidades que Tiene esta Forma de Venta." INTO @oMsgBox ;
eval {|| DC_GetRefresh(GetList,,DCGETREFRESH_TYPE_EXCLUDE,{GETLIST_BROWSE,GETLIST_BITMAP,GETLIST_STATIC}), .T. } ;
OBJECT @oCUnidad1