April 2017
Intermediate to advanced
706 pages
17h 8m
English
Another property we can define for several of the Radio Show fields is InitValue. WDTU has a standard policy that news, sports, and weather be broadcast for a few minutes each at the beginning of every hour in the day. We want the Boolean (Yes/No) fields, News Required, Sports Required, and Weather Required to default to Yes. We also want the default time value of the News Duration, Sports Duration, and Weather Duration to be two minutes, two minutes, and one minute respectively. That way the first five minutes of every hour can be spent on keeping the listeners informed of the latest happenings.
Setting the default for a field to a specific value simply requires setting the InitValue property to the desired ...
Read now
Unlock full access