At 10:12 AM 1/25/2008, Bob Thompson wrote:

I run into some of the craziest things sometimes!

I have a command in a form eep:

PROPERTY 'M1Grader1|RBASE_FORM' SET_FOCUS 'TRUE'

That returns an error :

Error - Component M1Grader1|Rbase_Form not found in current form.

After a couple of hours trying to figure this out, I changed the
name/alias of the form to 'Grader" and changed the Property command
to:

PROPERTY 'Grader|RBASE_FORM' SET_FOCUS 'TRUE'

All works fine. I changed back to the M1Grader1 and the error returns.
Is there a list of reserved words or characters for the MDI form
property?

I am running now OK, but I would like to avoid this in the future.

Bob,

The -ERROR- reflects the missing "MDI Form" with a "M1Grader1" CompID.

Typical syntax when using MDI forms:

PROPERTY 'FormComponentID|ControlComponentID' Component_Property value

Example:

PROPERTY 'MDI_Customers|EGB_Next' SET_FOCUS 'TRUE'

Where:

. MDI_Customers is a Form Component ID for Customer form used as MDI
. EGB_Next is a Control Component ID on Customer form used as MDI
. SET_FOCUS is the component PROPERTY used to switch the focus
. TRUE is the value

Hope that helps!

Very Best R:egards,

Razzak.

P.S.
A sample application "DesigningMDIApplications" is also included
with the RBG76/RBG8 Super Advanced Training Applications.
http://www.rupdates.com/rbg76SAT (R:BASE 7.6 SAT Applications)
http://www.rupdates.com/rbg8SAT (R:BASE 7.6 SAT Applications)

For more properties related to MDI applications, you may also
refer to R:Docs 7.6. http://www.rupdates.com/rdocs/


Reply via email to