PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
[WD25] edit fields and mandatory input
[WD25] edit fields and mandatory input
Started by VEGEboss, May, 21 2020 5:33 PM - 1 reply
Connect yourself…
VEGEboss
#1
Registered member
88 messages
Popularité : +2 (2 votes)
Posted on May, 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
Report
0
0
Alejandro
#2
Posted on May, 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
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text