<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Fabien,<br>this attached, could be a solution.<br>Unfortunately it does not work well because Report.Font.TextWidth() gives a higher result than reality.<br>Or it's me that I have not correctly set the comparison width.<br><br>Regards</div><div>Gianluigi</div><div>P.S. If you try to translate you get an error<br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 15 feb 2019 alle ore 12:59 Gianluigi <<a href="mailto:bagonergi@gmail.com">bagonergi@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi Fabien,<br>so, if I understand correctly, we need wrap the text before inserting it into the labels, right?<br>In the example I attached, we need insert "\n" before loading the text into the array.<br><br>Regards<br>Gianluigi<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 15 feb 2019 alle ore 11:58 Fabien Bodard <<a href="mailto:gambas.fr@gmail.com" target="_blank">gambas.fr@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="auto"><br></div><div dir="auto"></div><div dir="auto">Report textlabel is not implemented yet</div><div dir="auto"><br></div><br><div class="gmail_quote"><div dir="ltr">Le ven. 15 févr. 2019 10:20, Gianluigi <<a href="mailto:bagonergi@gmail.com" rel="noreferrer" target="_blank">bagonergi@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno gio 14 feb 2019 alle ore 23:41 Gianluigi <<a href="mailto:bagonergi@gmail.com" rel="noreferrer noreferrer" target="_blank">bagonergi@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">I would like to write a guide to gb.report2 on the Gambas-it wiki, but I have been stuck for two days trying to format a book from a text file.<br>I cannot get the resizing of labels or textlabel, where am I doing wrong?<br>I attach one of my tests.<br><br>Regards<br>Gianluigi<br></div></div></blockquote><div><br></div><div>The fact is that I cannot figure out if there is an automatic way to get the label wrap or the height expansion of the textlabel.<br>Or do I have to arrange me and do it manually?<br></div><div><br></div><div>Regards</div><div>Gianluigi<br></div></div></div></div>
<br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer noreferrer noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
</blockquote></div></div>
<br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
</blockquote></div>
</blockquote></div>