Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling Modal Child Dialog
Message
 
 
To
16/05/2002 20:03:32
General information
Forum:
Visual FoxPro
Category:
CodeMine
Miscellaneous
Thread ID:
00657702
Message ID:
00658072
Views:
30
Gary,

I see what you are saying about FieldValid() - and this crossed my mind when I got the SetFocus errors. Actually, it was CodeMine tech support that suggested I put the code there in the FieldValid().

>>That's a VFP error. It is unable to set focus from a valid event. I was going to say before but I did not really want to add more confusion - what you are attempting to do ie., call a modal form should not really be done from a FieldValid method. The fieldvalid method is for just what it says - checking whether the contents of a field are valid and returning True or False - not calling another form. The FieldValid method is called by a Codemine subclassed native VFP valid event. So despite the fact that you have put your code in the datamanger fieldvalid method, higher up in the call stack is a native VFP valid.

You need to re-think where you call your modal form from.<<

So, it is OK to verify to see if a zip exist in the FieldValid() method, but the problem is calling another Form there - correct?

Any other suggestion as to where I might do this to have the functionality I am looking for?

You have been a great help, and I am thankful for that.

Mel Cummings
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform