Popup_year (OpenInsight 64-bit)
At 19 OCT 2021 06:03:50AM Kendal Hulbert wrote:
Can anyone point me to the help for the function popup_year.
I have worked out the PARAM parameter is the year you want displayed, but what goes in to paramaters 'Options' amd 'Instructions'?
At 19 OCT 2021 06:19AM Carl Pates wrote:
Hi Kendal,
The POPUP_YEAR procedure uses the control with the current focus to determine the date and display location. The first argument (Options) can contain the first year and last year to allow as an @fm delimited list.
E.g:
options = "2021" : @fm : "2026" call popup_Year( options )Any other arguments are for internal use only and are for responding to events from the dialog when it is executing. I'm not sure why Param (the 3rd argument) would work for you in the above situation?
Regards,
At 19 OCT 2021 08:27AM Kendal Hulbert wrote:
Pity I cannot upload a screen shot but if I do as you say:
Call popup_year(options) . I get a blank calendar, albeit with year options in the drop-down.
Call popup_year(
,
,options). Gives me the full calendar with current date selected.Regards
Kendal