Bob,
 
Try setting the vtext this way.
SET VAR vText = 'Updating PO ->'
SET VAR vText = ('Updating PO ->' + .vponumber) 
PROPERTY processtext CAPTION .vText

Jan


-----Original Message-----
From: [email protected]
To: [email protected] (RBASE-L Mailing List)
Date: Thu, 14 Jan 2010 21:57:08 +0000 (UTC)
Subject: [RBASE-L] - Label disply refresh on form


I have many forms that I display information on during processing
to inform the user what is going on.   I normally place a label on the
form with the font, color, position etc. that I desire.
 
I then make the label invisible on form start up and when I wish to
display information, I make the label visible with the property command.
 
I change the content of the label with the property command using the
example below  :
 
SET VAR vtext = ('Updating PO -> ' + .vponumber)
PROPERTY processtext caption .vtext
PROPERTY RBASE_FORM refresh 'TRUE'
 
This works OK but I get an "unprofessional" look in that if the 
first PO is ABC123456 it displays fine.  However if the 
second PO is XYZABC, the form will display XYZABC456
as it is shorter than the previous PO number.  You can tell
it is an over write, but it not the result I want.
 
Neither the on-line nor RDocs show a REFRESH command,
but I was thinking that this was a valid command.  It does
seem to work in certain instances.
 
Any thoughts on how to make my label display update properly?
 
Thanks,
-Bob

Reply via email to