Search found 4811 matches

by Rathinagiri
Fri Sep 15, 2017 6:15 pm
Forum: HMG Tutorials and Tips
Topic: Check for valid
Replies: 17
Views: 396

Re: Check for valid

Ya. It is either dd/mm/yyyy or dd-mm-yyyy as you see it. :)
by Rathinagiri
Fri Sep 15, 2017 2:06 pm
Forum: HMG Tutorials and Tips
Topic: Check for valid
Replies: 17
Views: 396

Re: Check for valid

This is what I usually do. When we want a data entry form, I have two buttons viz., 'Save' and 'Cancel'. Standard shortcut keys like Ctrl+S and Escape can also be linked to call these action functions. If an user closes the window without pressing 'Save' that means 'Cancel' or pressing Escape. Now, ...
by Rathinagiri
Thu Sep 14, 2017 2:55 pm
Forum: General Discussions
Topic: Happy Birthday to Sudip !
Replies: 9
Views: 150

Re: Happy Birthday to Sudip !

Many more happy returns of the day Sudip.
by Rathinagiri
Thu Sep 14, 2017 7:53 am
Forum: HMG Tutorials and Tips
Topic: Check for valid
Replies: 17
Views: 396

Re: Check for valid

I do second Marek and it is the way of programming in GUI, I do.

Unless one input is dependent on another input, the validation can be made at the point of 'Save'. Because of this, number one, we consolidate the validation procedure into one and number two, the user can use any mode of navigation.
by Rathinagiri
Wed Sep 13, 2017 7:49 pm
Forum: HMG Tutorials and Tips
Topic: Check for valid
Replies: 17
Views: 396

Re: Check for valid

Actually ON ENTER works only for "ENTER" or "TAB" key press. In other words, it covers only keyboard events. However, if the user uses mouse to move the focus between the textboxes (by clicking directly on the other textbox) you can see that 'ON ENTER' event is not fired. So, it is better to add val...
by Rathinagiri
Wed Sep 13, 2017 7:04 pm
Forum: HMG Tutorials and Tips
Topic: Check for valid
Replies: 17
Views: 396

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.
by Rathinagiri
Wed Sep 13, 2017 6:55 pm
Forum: HMG Tutorials and Tips
Topic: Check for valid
Replies: 17
Views: 396

Re: Check for valid

BTW: How can I put these lines of code into a kind of frame in which you can scroll up and down, as I have seen so often? For that you have to use BBCode (which is the standard HTML like tags used in forums.) For example, [code]This is code.[/ code] Don't forget to remove the space between '/' and '...
by Rathinagiri
Wed Sep 13, 2017 4:30 am
Forum: HMG General Help
Topic: MySql revisited
Replies: 64
Views: 3017

Re: MySql revisited

For various purposes MySQL has the following types of locks available:

1. Shared and Exclusive Locks
2. Intention Locks
3. Record Locks
4. Gap Locks
5. Next-Key Locks
6. Insert Intention Locks
7. AUTO-INC Locks

You can see them in detail here.
by Rathinagiri
Thu Sep 07, 2017 12:49 pm
Forum: General Discussions
Topic: Completely new to clipper and Advice Required
Replies: 14
Views: 419

Re: Completely new to clipper and Advice Required

Yes. You can. However, do you have the source code for the external lib files also?