mrc logo mrc logo
  • m-Power m-Power
    What is m-Power?
    Overview Demos Build Process Case Studies Specs Pricing Trial
    m-Power Resources
    Overview How-To Videos Webinars & Podcasts White Papers Fact Sheets
  • Solutions Solutions
    What does m-Power build?
    Overview Database Front-Ends Reporting CRM Systems Business Intelligence Dashboards Mobile Apps ERP Enhancements Modernization Spreadsheets to the web MS Access to the web B2B/Web Portals Scheduling Embedded Analytics Web Forms Workflow Data Exploration Budgeting & Forecasting APIs and Web Services
    Solutions by Industry
    Overview Manufacturing Government Foodservice Software Vendors Logistics & Supply Chain Software Consultants Healthcare
  • Services Services
    Development Services Training Mentoring
  • About About
    Overview Partners Press Releases Careers Events Contact Blog
  • Support Support
    Support Home FAQ Documentation Customer Portal Enhancements Updates Roadmap Techblog
Try m-Power

m-Power Manual

Browse:

  • Home
  • Deprecated Documentation
  • Adding Additional Functionality to your Calendar Application
Back to Manual

Utilizing m-Painter to Create Additional Functionality to your Calendar Application

 

m-Power's Calendar templates give you many easy opportunities to enhance the view of your basic Calendar Application.

In our case, we are going to add the following useful functionality:

· Dropdown Lists for Searching

· Hover Over Links

In our case, we are going to populate our calendar with Detailed Shipping Information, then have the ability to Hover-Over Shipping Header Information. Additionally, we will be able to search by Customer Name from a dropdown box.

Build an application that has a first key of a field with Dates, and specifying the Calendar template.

In Field Settings, place a User Defined Field Code of A (For Ascending dropdown list) in place of the Customer name.

Additionally, for the purpose of this walkthrough we created a Smartlink to an Order Header Information Single Record Inquiry.

Compile your application and open m-Painter. You should see a screen similar to this:

The first thing that needs to be done is to remove some unnecessary fields (for instance, Date Ordered, Customer Number, and the Order Header link are just taking up space). We already know the date, so we can remove the DATORD. We already know the Customer Name, so there is no use showing the Customer Number in the Calendar where screen space is at a premium. Lastly, we can put the Order Header link directly on the Customer's Name to save further space:

The next step is to make my link a Hover-Over link. To do this simply click the link, then click the "Edit Hyperlink" button in the m-Painter Toolbar. Click the "Target" tab and select the <hover popup window> from the Type/Target dropdown list.

Note: Changing the height to 0 allows the Hover-over to grow as necessary.

Click OK.

Our next goal is to add our dropdown box to our Calendar. To do this, save and exit m-Painter, then click the "Edit Properties" button on the application menu.

Change the "advancedSearch" option to "Yes". This will enable the dropdown box on the Calendar's Navigation Bar. Save and return to m-Painter.

Note: You might also need to change the "mrcDTfmt" option to match your Date Field's format. Press OK.

You can now see that the navigation bar is populated with Search Options. In our case, I only wish to see the Customer Name in my Navigation Bar, so I will use m-Painter to Delete all other Search Options. Do this by Clicking on the object, and pressing Delete.

When completed your final m-Painter will look like this:

Click the Save & Deploy button. Your application will look something like this at runtime:

Created: October 3, 2008 | Modified: July 16, 2013

Search


Browse By Category

Build Process (13)
Starting with m-Power (8)
Retrievals (10)
Reports (15)
Summaries (4)
Maintainers (17)
Graphs (8)
m-Power Data Explorer (4)
General (24)
Calculations (5)
Utilities (9)
m-Power Administration (23)
Security (11)
Freemarker (6)
m-Painter (29)
Form Validation (5)
External Objects & UDFs (12)
Deprecated Documentation (23)
Bootstrap Templates (7)

Popular Tags

Retrieval External Objects Build Process Graphs Bootstrap Templates Calculations RPG App Properties Graph Properties Prompt Screens Maintainer Freemarker Email Retrievals Graphing Performance Excel Administration Dates Popular Admin mrc-Productivity Series Getting Started Tomcat Form Validation Production Compiling Maintainers Security Video Application Properties Database Summaries Data Dictionary DB2 Report Dropdowns Bar Graphs m-Painter Advanced Reports Record Selections Parameters SQL Java

See all tags »

michaels, ross & cole, ltd. (mrc)
Privacy Policy Cookie Policy Notice at Collection California Consumer Privacy Act (CCPA) Opt-Out IconYour Privacy Choices
mrc (US)

2001 Midwest Road
Suite 310
Oak Brook, IL 60523
630-916-0662

mrc (UK)

Mortlake Business Centre
20 Mortlake High Street
London, SW14 8JN
+44-20-335-59566


© 2023 mrc. All rights reserved.