OK, a follow through and self-correction and next step on the posting I made Friday about the behavior of the "Menu bar" component in forms.
I indicated that if you assigned a component id to a menu bar, it did not "stick" and I submitted this to RBTI as a bug. They responded that they coould not confirm it. When I wrote up detailed steps to replicate, I realized MY confusion: The "Component" ID field in this case, unlike other components, does NOT refer to the ENTIRE "menu" control, but to EACH INDIVIDUAL item in the menu: i.e, each item and sub-item in the menu gets its own component ID. You only see this if you CLICK on the menu item. However, if you recall, my purpose here was to have a menu form come WITH THE MENU BAR activated. I added a menu bar to the form "AddionalControls" in COMCOMP, with this simple menu: &Test (component ID TestItem) SubItem&1 (component ID SubItem1) SubItem&2 (component ID SubItem2) I added an "On Row Entry" EEP to the form: PROPERTY TestItem SET_FOCUS 'TRUE' RETURN Running the form, focus is NOT on the menu. I will now submit an enhancement request that the PROPERTY componentid SET_FOCUS 'TRUE" command in this context would activate the menu bar with the selected menu item highlighted. I am FULLY aware that this is NOT "standard windows behavior" - I just think it makes sense that we have the option to create a menu form with this style of menu and, as it "used to do" in DOS and as clients are used to, have the focus on the menu when the form comes up, without the user having to click the mouse or press the Alt key. David Blocker [EMAIL PROTECTED] 781-784-1919 Fax: 781-784-1860 Cell: 339-206-0261
