Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Controls Tool Bar
Message
 
 
To
16/09/2004 16:35:54
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00943105
Message ID:
00943231
Views:
15
Mike, here's the thing:

* -- it sounds as though you have customized. limited, or removed the system menu, which is fine, but

* -- there are conditional or dynamic menu items that are tied to various system menu pads, in this case, _mview.

First, understand that this has nothing to do with an EXE. If you do the following from the command window, you'll understand a bit more how it works:
  RELEASE PAD _mview OF _msysmenu 
  MODI REPO ?
... see ? No view menu so no Toolbars... option, even in the IDE.

Next, understand that these things are really under your control, whether you have a view pad on your menu ordinarily or not.

You can do this before your MODI REPO:
  DEFINE PAD _mview OF _msysmenu PROMPT "\<View" AFTER _MFILE KEY ALT-V
  DEFINE POPUP _MSM_VIEW
  ON PAD _MVIEW OF _MSYSMENU ACTIVATE POPUP _MSM_VIEW
... and RELEASE PAD afterwards.

You can also do stuff like this to programmatically make sure the report controls toolbar is available during the MODI REPO:
* when you are ready for your report:
  DEFINE PAD _mview OF _msysmenu PROMPT "\<View"  KEY ALT-V ;
     AFTER _MFILE  &&&& or whatever
  DEFINE POPUP _MSM_VIEW
  ON PAD _MVIEW OF _MSYSMENU ACTIVATE POPUP _MSM_VIEW
  KEYBOARD "{ALT-V}L"
  MODIFY REPORT X
  RELEASE PAD _MVIEW OF _MSYSMENU
This will work even if you have SET SYSMENU OFF and SET SYSMENU TO so there are ordinarily no bars showing.

Finally, realize that the position of the report controls toolbar and even its appearance is controlled by the resource file, for an application as well as in the IDE. Many people control this type of thing by building a readonly resource file into their applications, with the settings they prefer for their users.

And, really-finally <g>, it is not a Report Generator <g>. It is a Report Designer.


>L<
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform