Guest_imported
New member
- Jan 1, 1970
- 0
Hi,
I have an applicaion that is running fine with VFP5. When I compiled it in VFP6, I found one strange behaviour. I have a form that has some input fields and a few command buttons. Every input field calls a function in its valid event. Based on certain conditions, this function sets the 'Default' property of one of the command button either true or false. In VFP5 compiled application, if I hit enter on one input field, it goes to next input field. In VFP6 compiled application, if I hit enter, it just stops there in the same field. If I comment those lines that change the default property value, then this program works fine. Could someone please explain what is going on. Thanks.
I have an applicaion that is running fine with VFP5. When I compiled it in VFP6, I found one strange behaviour. I have a form that has some input fields and a few command buttons. Every input field calls a function in its valid event. Based on certain conditions, this function sets the 'Default' property of one of the command button either true or false. In VFP5 compiled application, if I hit enter on one input field, it goes to next input field. In VFP6 compiled application, if I hit enter, it just stops there in the same field. If I comment those lines that change the default property value, then this program works fine. Could someone please explain what is going on. Thanks.