Hi,
in SourceExp of an TextBox i have follow Source:
"Sales Header"."Required Shipment CW"
I can edit this so i have:
'Shipment CW:' + "Sales Header"."Required Shipment CW"
But, how i can put this ('Shipment CW:' ) in Bold Letters ?
Thanks.
PS Hey cool new smileys \:D/ Thanks
Comments
You have to truncate your Text in two zone, one in Bold, th other normal.
Bold properties is linked to the entire TextBox, not to a part of it ...
But I would like to add that putting strings together with a + is nog the correct way to program things like that in Navision.
Better to use strsubstno.
Actually, you will need to create a TEXTCONSTANTE for the text in the command so you can work with several translations.
If it was hard to write, it should be hard to understand."
What you can do is to put two controls one over another.
The first one stays the same as it is with all suggestions from others.
The second one is above, but transparent and without borders. Its source expression should evaluate just to "Shipment CW:" (but use text constant as suggested).
Then the trick comes :shock:
Adjust the XPos of the "overlaid" textbox so that just slightly differs from XPos of the first text box - thus creating characters appear bold...
=D>
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
why don't you do it easy?
Create a Label for your TextBox and use the Property FontBold.
why will you do the "labeling" inside the TextBox?
br
Josef Metz
Josef Metz
hmm. perhaps you have right, i would not print out the label when the var is empty, but if i put the string text in the var, it doesnt make a difference, hehe so i must make a textbox and ask with code if var ist empty and then make visible or not my box with the label text, and then i can give the box property font bold.
Perhaps i was not thinking enough yesterday or sleeping, hehe #-o
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯