On Friday 11 April 2008 12:32:14 am Teo Fonrouge wrote:
[snip]
Przemek,
Just a little request, in the :doConfigure() method, I think that we need to
use the value of oCol:width if it is not NIL, this is to allow a combination
of a oCol:block that can return a empty string in this stage *but* oCol:width
has a numeric value.
I don't know if this is a Clipper 5.* compatible feature.
This is the diff:
<diff>
@@ -1241,7 +1241,11 @@
xValue := Eval( oCol:block )
cValue := Transform( xValue, oCol:picture )
cType := ValType( xValue )
+ IF oCol:width = NIL
nWidth := LEN( cValue )
+ ELSE
+ nWidth := oCol:width
+ ENDIF
cColSep := oCol:colSep
IF cColSep == NIL
cColSep := ::colSep
</diff>
best regards
Teo
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour