MS4BI HELP 2019

by MS4script
01-Introduction
Preface & Copyright
Getting started
Demos Simple
02- Declarations
Structure
Type
03- Instructions
Conditions if,do,while..
String functions Str..()
Get + Include functions Get, Include..
Date-Time Day, Time, Year.
Display
Call
Formulas Complex
04- Database
Connector Ado, Odbc, Dsn, SAP, Ms4
Connect DB Create, delete
Import DataSource Import, Consolidation
Administration Admin, User
05- Sql-Query
Sql
Query Form : BTS,SHOW
Grid option
06- Charts
Forms Show, Win, Image, Excel, Morris...
Pie Std, Donut, 3D...
Bar Std, Stack, Line, Area, Plot
Radar
QrCode, Gauge
Step, Stock...
,Google,Leaflet... GeoMap
,Gantt,Timeline,Org.
07- Dashboard
Form tab, no tab
Responsive UI
08- Report
Report Hierarchy
Report Design
09- Filters
Dialogue + Call
10- Menus
Menu Design
Menu Frameset
Menu Special
11-UI : Responsive
Tables Responsive,Frame,position
List Group
Text
Panel Header, body, Footer
Button Button, Progress Bar
Icon & Button
Collapse Group, Panel
Notifications
12- Encryption
Encrypt
Decrypt
13- Windows
Dialogue
Picture, Frame, Button..
MsgBox
Grid
14- Cloud.
Account Open
15- Css, html, Php, js.
Insert Native language Begin_sw..End_Sw
16-Install + tools.
Installation & Configuration This Menu
Generate Native... Php, Html, js..
Code Generator Ms4 Script
MarkDown Ms4 Script
Source Code Menu Help This Menu
written with ms4script
     

BASIC HELP : MS4BI by MS4script 2019 version 1

Chapter 10 : MENUS

KEYWORD : BEGIN_MENU_WEB:SPECIAL

Definition

Creates a special (WEB) menu :
BLOC BEGIN_Menu_Web : Declare the Menu items in the required style, with or without a CSS
BLOC BEGIN_MenuID_Web : Declare the links to the Begin_menu_Web items

Syntax

 	
 	
	BEGIN_Menu_Web   : SPECIAL
	 LinkCss : string or literal for the CSS directory and file 
	   BEGIN_Popmenu :
                Menuitem Id   :  Number1  
                Menuitem Id   :  Number2 
                Menuitem Id   :  Number3
				........
	   END_Popmenu 
	END_Menu_Web
 
     Begin_MenuID_Web 
        MenuId Number1 :	DrawMs4Script  : "<your MS4 script>"
		       or FormXXX : PieChart, or BAR...
        MenuId Number2 :	DrawMs4Script  : "<your MS4 script>"
        MenuId Number3 :	DrawMs4Script  : "<your MS4 script>"
     End_MenuID_Web ;

 	
	

Example

 	
GetDirSysPathMS4BI(LpathMonday);
Concatene  LpathMonday,"\zInclude\Menu\Google\HEADER-Menu.html" into fileHeaderMenugoogle;


** *************************************
** web MENU : Example 1 : accordion
** ************************************
ConnectDB{Ms4DB}(LEnvDemoExcelDB); 
 BEGIN
		BEGIN_Menu_Web     : SPECIAL
			Linkcss     : fileHeaderMenuGoogle
			   
			BEGIN_Popmenu :   
			    Menuitem Id   : 10  , "<i class='gn-icon gn-icon-pictures'></i>   PIE   "  
			    Menuitem Id   : 11 ,  "<i class='gn-icon gn-icon-videos'></i> BAR  "  
			    Menuitem Id   : 12 ,  "<i class='gn-icon gn-icon-download'></i> ITEMS And Sub Items"
				BEGIN_SubMenu : "<ul class='gn-submenu'> "
			 	Menuitem  Id : 102 ,"<i class='gn-icon gn-icon-illustrator'></i> SUB ITEM Pie   "  
			 	Menuitem  Id : 103 ,"   SUB ITEM Grid 2 " 
				END_SubMenu : "</ul></li>"
		 	    Menuitem Id : 21 ,"<i class='gn-icon gn-icon-article'></i> Contact "
			    Menuitem Id : 22 ,"<i class='gn-icon gn-icon-videos'></i> About   "
	 
			End_Popmenu 	
			Begin_Sw                /* Script Web  */				
 				 </div> </nav> </li>  
				 
				 <li><a href='#'></a></li> 
				 <li><a class='codrops-icon codrops-icon-prev' href='#'><span></span></a></li> 
                     </ul> 
				 <header> 
		    	 <h1>MS4BI Menu   <span> Trial version <a href='https://www.ms4bi.com/index.php'>
				         Page</a> </span></h1>	 
		         </header>  

		         </div><! /container > 
		         <script src='/ui/lib/MenuGoogle/js/classie.js'></script> 
		         <script src='/ui/lib/MenuGoogle/js/gnmenu.js'></script> 
		         <script> 
		    	new gnMenu( document.getElementById( 'gn-menu' ) ); 
		        </script>	</body></html> 
              End_sw
	 	END_Menu_Web  
 Begin_MenuID_Web 
         MenuId 10 :	FormShow : DrawPIE, title : "1-PIE  Business 2011 by  EMPLOYEE " , 
			ANGLE :120 , TYPE : $STANDARD, FORMAT: "$"    
					use View  ("[ms4EmplTotalBusiness2011]"),
         MenuId 11 : FormShow : DrawBAR, title : "BAR PLOT Business 2011,2012,2013 by  EMPLOYEE ",
                    type :  $HORIZONTAL  , FORMAT :"$" , 	  Plot :  from 1  to 60000   
                   from 60000  to 120000   use View   (" [ms4EmplBusinessDollars20111213]")  ,
         MenuId 12 : FormShow : DrawGrid, title :"3-GRID : BUSINESS EMPLOYEE 2011 $   "  
                     use   View  ("[ms4EmplTotalBusiness2011]")   ,
         MenuId 21 : FormShow :  DrawQrCODE type : $MAIL ("http://www.monday-software.com") ,
         MenuId 22 : 	DrawWindow : "Win1" , actions : $WinCustom +  
                       $WinMinimize + $WinMaximize + $WinClose , 
			position : 50, 50,600,1020  TITLE : "My first Web Window: URL" 
                     url : "https://www.ms4bi.com"  ,
         MenuId 102 :  FormImage :	DrawPIE, title : " Business 2011 by  EMPLOYEE " , 
                    ImageAera : 700, 400 , Radius :120,POSITION :360, 270 , TYPE : $3DPIE, FORMAT: "dollar$"  
                       use View  ("[ms4EmplTotalBusiness2011]"),
         MenuId 103 :	 FormMs4 :  DrawGrid , title : " Grid Standard   Form MS4 "   Option  : 
                   BEGIN     Height : 330,    Width  : 380 ,  
				   Footer : Sum, Count,Average   END 
                    use View  ("ms4EmplBusinessDollars20111213")  
 End_MenuID_Web ;
   

Prerequisites

driver:\MondaySoftware\MS4BI\zIncludeIncludeChart.h :

Remarks

You can include php, html or javascript code (BEGIN_SW.. E ND_SW) in the Begin_Menu_Web menu block.

See also

BEGIN_MENU_WEB:FRAMESET, BEGIN_MENU_WEB:DESIGN, BEGIN_SW
Examples :
driver:\MondaySoftware\MS4BI\02-DEMO-DESKTOP-BI-EXCELandSTANDARD\6-MENU
driver:\MondaySoftware\MS4BI\01-GETTING-STARTED-UNICODE



Interested in our project? contact@monday-software.com
The Monday Software team


Copyright 2020 by Monday Software

the official sites :
www.monday-software.com
www.ms4bi.com
demos.ms4bi.com
getms4bi.com
getms4bifree.com
cloud.ms4bi.com
cloud.testing.ms4bi.com
www.ms4script.com

Our purpose : Keep it simple !


written with ms4script
  • MS4BI v.01.0027.01.2020
  • MS4BIRE v.01.0021.10.2019
  • MS4SCRIPT v.01.0027.01.2020
  • help 06/2019

MS4BI in 5 minutes