select a month

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

ROBROS
Posts: 256
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Location: D 83071 Stephanskirchen

Re: select a month

Post by ROBROS »

AUGE_OHR wrote: Sun Jan 19, 2020 10:13 pm hi,

it doesn't matter if you use a Listbox or a GRID ( Browse IS a GRID ) but my Question is about "Name of Month" :idea:
the German Name is different from US Name or Chinese Name for Month but i like to use what used OS give me.

so how to do it with harbour / HMG :?:
Hi,
it seems there is no eqivalent to cdow() as month is concerned, so I created a table with the german names of months and show them via grid.
ROBROS
Posts: 256
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Location: D 83071 Stephanskirchen

Re: select a month

Post by ROBROS »

mol wrote: Mon Jan 20, 2020 4:45 am If you want to get selected item of listbox (I think you want month's name) you can use listbox.displayvalue
that sounds promising, I think, that's what I am looking for. 8-)
ROBROS
Posts: 256
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Location: D 83071 Stephanskirchen

Re: select a month

Post by ROBROS »

Thx a lot for all those useful answers, learned a lot to use in future.

Robert
ROBROS
Posts: 256
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Location: D 83071 Stephanskirchen

Re: select a month

Post by ROBROS »

Hi, I was wrong,
there is an eqivalent to cdow() for month: cmonth().
Just found it in viva clipper:
https://vivaclipper.wordpress.com/2014/01/08/cmonth/
Post Reply