Hi Freaks
A label is a nice thing espacially when one wants to write a text over a line.
In this case, UnifAce replace the line where ever the text is but the other line os till visible, even is the label is painter bigger then the text.
Now I want to make the text dynamic.
I create a field FLD_A on the formpic with "NED,NPR" and transparency and move it in a corner of the mask.
Next I assign the new text to the label
putitem/id $labelproperties(FLD_A),"Text","My dynamic text"
But what's happend ...
The line does not disappears behind the text but stroke through it.
Then I set "transparency" off for FLD_A and voila the line disappears like any other label.
But now I got a white "stain" on the mask.
And as I did not now (at runtime, on customer site) which background color is set for the mask*), I could not assign a backcolor to the field FLD_A.
*) $widgetproperties only returns a color if you set at before. And it does not work for the old 16 colors
Any ideas 🙂
Ingo