FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
Dynamic Body Height
Dynamic Body Height
Débuté par skippy, 26 juin 2019 21:46 - 4 réponses
Connectez-vous…
skippy
#1
Membre enregistré
17 messages
Posté le 26 juin 2019 - 21:46
I have a report like a document where several database fields with text are displayed in (kind of) sections (a html control). Now, if there is no text in one of the fields, I set the topic title and the text control to visible = false. Unfortunately the space that was occupied is still used and a lot of blank space is shown in the report. I tried several ways to reduce the height of the body according to empty fields and invisible controls, but with no success.
How can I dynamically align the body depending on the controls shown or not ?
Signaler
0
0
skippy
#2
Membre enregistré
17 messages
Posté le 04 juillet 2019 - 19:13
Maybe I formulated the problem not understandable enough., but the question behind is simple though.
"How can I remove empty controls from a report so that the body height will be adjusted and no empty space will remain for the empty control"
TIA.
Signaler
0
0
PETR_K
#3
Membre enregistré
68 messages
Posté le 30 mars 2023 - 09:11
Hi skippy,
I am facing the same problem.
May I ask if you solved that somehow?
Petr
Signaler
0
0
Andrea Chiadò Piat
#4
Membre enregistré
54 messages
Popularité : +2 (2 votes)
Posté le 30 mars 2023 - 10:26
Hi,
I think you can solve this using iteration block
https://help.windev.com/en-US/…
You can place your (optional) controls in an iteration block and then
IF myConditionIsTrue THEN
iPrintBlock(myIterationBlock)
ENDIF
https://help.windev.com/en-US/…
Hope this helps
Andrea
Signaler
1
0
PETR_K
#5
Membre enregistré
68 messages
Posté le 19 juin 2023 - 06:18
Hi, it looks like it works. At least in my case :thank you:. Thanks. Petr
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte