Search found 54 matches

by ROBROS
Mon Sep 18, 2017 8:52 pm
Forum: Language Related
Topic: German Umlaute (ÄÖÜäöüß)
Replies: 3
Views: 321

Re: German Umlaute (ÄÖÜäöüß)

mol wrote:
Fri Feb 17, 2017 6:26 am
set codepage to german is translated to:
#xtranslate SET CODEPAGE TO GERMAN => REQUEST HB_CODEPAGE_DEWIN ; hb_setcodepage("DEWIN")

so, it should be enough...
I've added to my app this and tested and umlaute's are displayed OK.
Hi Marek, found your suggestion, works well, thank you.

Robert
by ROBROS
Fri Sep 15, 2017 4:00 pm
Forum: HMG Tutorials and Tips
Topic: Check for valid
Replies: 17
Views: 382

Re: Check for valid

@rathinagiri,@apais:
your advice is appreciated, every question I asked and so far every question was answered, brought me forward.

@rathinagiri: I'm surprised that you use the german date format, India was longtime under British rule.
by ROBROS
Thu Sep 14, 2017 6:59 pm
Forum: HMG Tutorials and Tips
Topic: Check for valid
Replies: 17
Views: 382

Re: Check for valid

ok,so I have to add the on release event to the define window statement?
Sorry hmg (gui) is so different to dbase for DOS.
by ROBROS
Thu Sep 14, 2017 4:26 pm
Forum: HMG Tutorials and Tips
Topic: Check for valid
Replies: 17
Views: 382

Re: Check for valid

apais wrote:
Thu Sep 14, 2017 11:13 am
on release
Sorry,I don't know what you mean :?:
On release of what?

Robert
by ROBROS
Thu Sep 14, 2017 8:32 am
Forum: HMG Tutorials and Tips
Topic: Check for valid
Replies: 17
Views: 382

Re: Check for valid

That means, validation should be done within function fill_MonYear(), right?
by ROBROS
Thu Sep 14, 2017 6:14 am
Forum: HMG Tutorials and Tips
Topic: Check for valid
Replies: 17
Views: 382

Re: Check for valid

Marek, you are right,
therefore user can leave the form by entering F-10.
by ROBROS
Wed Sep 13, 2017 8:01 pm
Forum: HMG Tutorials and Tips
Topic: Check for valid
Replies: 17
Views: 382

Re: Check for valid

It is run twice because when you show the msginfo() window, the lostfocus event is also fired as the focus is lost. Try to use 'disable control event ' and 'enable control event' before and after msginfo() and it will run only once as you expected. Exactly this answer was making me use my brain. An...
by ROBROS
Wed Sep 13, 2017 7:37 pm
Forum: HMG Tutorials and Tips
Topic: Check for valid
Replies: 17
Views: 382

Re: Check for valid

It is run twice because when you show the msginfo() window, the lostfocus event is also fired as the focus is lost. Try to use 'disable control event ' and 'enable control event' before and after msginfo() and it will run only once as you expected. Thank you, for formatting my lines of code, next t...
by ROBROS
Wed Sep 13, 2017 6:46 pm
Forum: HMG Tutorials and Tips
Topic: A Beginners Guide to Programming with Harbour and HMG
Replies: 17
Views: 4776

Re: A Beginners Guide to Programming with Harbour and HMG

Hi Zimbo,
just found your work. Very useful.
Thank you.
Robert.
by ROBROS
Wed Sep 13, 2017 6:33 pm
Forum: HMG Tutorials and Tips
Topic: Check for valid
Replies: 17
Views: 382

Check for valid

Hello to all, once again I am asking for your help. The user should key in via 2 Textbox controls month and year. With inputmask and ON LostFocus and ON ENTER the valid input is checked, works. See the following lines of code: BTW: How can I put these lines of code into a kind of frame in which you ...