GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV 2024
→
[WD25] edit fields and mandatory input
[WD25] edit fields and mandatory input
Iniciado por VEGEboss, mai., 21 2020 5:33 PM - 1 resposta
Conecte-se…
VEGEboss
#1
Membro registado
88 mensagems
Popularité : +2 (2 votes)
Publicado em maio, 21 2020 - 5:33 PM
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
Denunciar
0
0
Alejandro
#2
Publicado em maio, 24 2020 - 5:24 AM
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
Denunciar
0
0
→ Voltar para WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto