Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh order problems
Message
From
11/01/1999 16:40:41
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00174120
Message ID:
00174842
Views:
30
>Terry,
>
>I'd try and steer you away from code that is that order dependent. If you use the Send To Back and Bring To Front you can control the order of the records in the SCX, but again this isn't an optimal solution.
>
>The Refresh() event is designed to allow a control to reflect a change in it's underlying ControlSource, ie a record navigation. It sounds more like you need to be using the Valid(). But the order dependency can still be really bad. Users can use the mouse to sequence through controls in any order they feel like.
>
>If you've got several controls to validate as a group in a particular order I'd use one custom Form method that processed each control in order, if invalid data is there the method can SetFocus() to the appropriate control. Then all of the controls Valid() methods just look something like:
>
>DoDefault()
>return thisform.Validate()
>
Thanks David

My issues are fairly straight forward enough to be able to use the bring to front option. It usually just envolves one control ie Employee Classification.

I hadn't thought of bring to front.

Thanks
Terry
It is impossible to make programs idiot proof. Idiots are too cleaver.

MCP( Tcp/Ip )
Previous
Reply
Map
View

Click here to load this message in the networking platform