FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
[WD25] edit fields and mandatory input
[WD25] edit fields and mandatory input
Débuté par VEGEboss, 21 mai 2020 17:33 - 1 réponse
Connectez-vous…
VEGEboss
#1
Membre enregistré
88 messages
Popularité : +2 (2 votes)
Posté le 21 mai 2020 - 17:33
Very easy for very experts, I think...
is possible to change the color and/or background of the fields with the "Mandatory input" flag active?
obviously I'm looking for the most dynamically fast way… change it manually it's easy
thanks in advance
Signaler
0
0
Alejandro
#2
Posté le 24 mai 2020 - 05:24
try to use groups after use an enumcontrol with this function you get the name of the control and after with a while you check every single control if one comes empty you change the background like this:
FLAG is boolean = true
sControl is string = enumcontrol(GR_REQ,i,byTapOrder)
while sControl <> ""
IF NoSpace({sControl,indControl},sscOutside) _IN_ ("",0,Null) THEN
{sControl,indControl}..BrushColor = PastelRed
FLAG = FALSE
END
i++
sControl = enumcontrol(GR_REQ,i,byTapOrder)
END
Result FLAG
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