I put a Break Header Control in my table and a static control on break header control. The field linked to static control sometimes have multiple lines and thus Break Header Control is not able to expand/change height as per contents of Static Control. Any lead how to control height of break header control automatically as per the length of contents of static control.? When executed;;
Bonjour, Il faut, a priori, utiliser la fonction Bonjour visiteur, Merci de vous Inscrire ou de vous connectez pour voir les liens!. Le code ressemble à ça (affichage d'une rupture) Code (Windev): nHauteurSouhaitée est entier nHauteurSouhaitée=Bonjour visiteur, Merci de vous Inscrire ou de vous connectez pour voir les liens!(TABLE_MaTable.LIB_Description,TABLE_MaTable.LIB_Description,tAvecMarge+tMultiligne) //HauteurInitiale n'est pas disponible avec les ruptures il faut donc la récupérer lors de l'initialisation (gnHauteurInitiale) SI nHauteurSouhaitée>gnHauteurInitiale ALORS RUPT_HAUT..Hauteur=nHauteurSouhaitée //Il faut éventuellement ajouter une marge FIN
Thanks, Bonjour visiteur, Merci de vous Inscrire ou de vous connectez pour voir les liens!. Will revert back after implementation.
I have coded as below in Display Row of table: xNoslines is numeric = Round ((Length (STC_NoName1) * 6 / STC_NoName1.Width) +0.5) STC_NoName1.Height = xNoslines * 25 BRK_BreakHeader1.Height = xNoslines * 15 For a single record, this code works well. But for multiple records, this code change height of all BreakHeader at once instead of changing height of Breakheader separately as per content. Any help would be appreciated.
On ne peut rien y faire, c'est comme l'option "Visible". C'est le dernier réglage de la rupture qui est pris en compte. On peut comparer cela à une colonne d'un champ table. Si on augmente la largeur d'une cellule, c'est toute la colonne qui est élargie.