Sample GETPRESENTATION

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
digitsoft
Posts: 461
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Sample GETPRESENTATION

#1 Post by digitsoft »

Hello Roger
You can give me an example of using GETPRESENTATION

Paulino Nolberto
Regards
Nolberto Paulino
Regards

User avatar
digitsoft
Posts: 461
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Re: Sample GETPRESENTATION

#2 Post by digitsoft »

I need to justify a numerical quantity to the left
Nolberto Paulino
Regards

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Sample GETPRESENTATION

#3 Post 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.
The eXpress train is coming - and it has more cars.

User avatar
digitsoft
Posts: 461
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Re: Sample GETPRESENTATION

#4 Post 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
Nolberto Paulino
Regards

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Sample GETPRESENTATION

#5 Post by rdonnay »

Are you using build 256?
The eXpress train is coming - and it has more cars.

User avatar
digitsoft
Posts: 461
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Re: Sample GETPRESENTATION

#6 Post by digitsoft »

If Roger
I'm using the 256

Paulino Nolberto
Regards
Nolberto Paulino
Regards

User avatar
digitsoft
Posts: 461
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Re: Sample GETPRESENTATION

#7 Post 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
Nolberto Paulino
Regards

User avatar
digitsoft
Posts: 461
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Re: Sample GETPRESENTATION

#8 Post 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
Nolberto Paulino
Regards

Post Reply