Month Calendar | Uniface 9 | Forum


Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

—  Results per page  —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters
For a group of consecutive words like 'end of support' use Match phrase

sp_Feed Topic RSS sp_TopicIcon
Month Calendar
09 Jul 2018
9:44 pm
Forum Posts: 331
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Hi Unifacers,

Noob question: how to get rid of that central square with “Select a date.” message when using a Month Calendar?

It is generated from a message having code 4800: if I define such message in another language is shown as expected…
It is staying there in the middle of the form also after having moved cursor or typed something…

Is this the functionality expected on U9.6.04?

<Confused> 🙁 …


10 Jul 2018
8:27 am
Forum Posts: 331
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Hi all,

I am replying to myself:
– when passing a NULL value as date input param the square with the help phrase is shown
– when passing a real date value the square is NOT shown and the calendar is positioned on the related month

IMHO when the help square is shown it should be hidden as soon as end user is doing some action on the calendar (moving with cursor, moving between month, …).


10 Jul 2018
9:02 am
Forum Posts: 1017
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Hi Gianni,

Thanks for your findings.

The “Select a date” message will appear as long as the field has no value. Moving through the days with the cursor or moving between months will not change the field value. This can only by achieved by clicking a date in the calendar. That’s also what the doc says (see Uniface Reference > Widgets: Forms and Reports > Month Calendar):

“If the field value is empty, the widget shows the current date at the bottom of the widget, but also displays a message to Select a date.

The user can enter a date by selecting it in the control:

* To select the year, click the header. This activates a spin button to select the year.
* To select the month, click the header. This activates a drop-down list of months.
* To select the day, click the date in the calendar”

Not sure why it was chosen to do it like this. But that’s the way it currently is. Sorry.

If you want to get rid of the message then it’s best to always initialize the field with a value (e.g. $date). But you already know this.

Hope this helps.


Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 131

Currently Online: markmish
23 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ulrich-merkel: 1840

Iain Sharp: 663

Theo Neeskens: 366

gianni: 331

istiller: 285

rogerw: 268

Knut: 219

lalitpct: 197

Arjen van Vliet: 182

sochaz: 173

Member Stats:

Guest Posters: 3

Members: 9740

Moderators: 0

Admins: 8

Forum Stats:

Groups: 1

Forums: 62

Topics: 2270

Posts: 9824

Newest Members:

agrohimujg, Ramhaturiff, best_auto, kings1, skorp0883, oraha, Anitastync, marina1993m, CharlesRip, Angiefoxlome

Administrators: admin: 23, Adrian Gosbell: 318, diseli: 1017, Bob Maier: 3, Nico Peereboom: 80, Michael Rabone: 4, richiet: 406, JanCees: 34