Sage Pro set focus

Sage Pro sets focus in these following ways in the MDI forms:
1. State object sc_StatechangeSetFocus: This is the normal way by which Sage Pro changes focus when user moves from one "state" aka mode to another. In the design time form, hold your mouse over a state object and then press Ctrl+Shift and then click and VFP will select the state object. In the property sheet look for this property. You can set this to the "registry" name of another object in the form.

2. State object m_StateChangeSetFocus: This method is used instead of the property when the focus needs to be set conditionally.

3. In the FS object code. Search for m_SetFocus() and you most likely will find your code.

If you are interested in learning how to Program with Sage Pro you can buy our DVD. See www.saharti.com for details.

No comments: