MS4BIĀ®

MS4BI HELP 2022

by MS4script
01-Introduction
Preface & Copyright
Getting started
Informations + Cmd/param Server
Demos Simple
02- Declarations
Structure
Type
03- Instructions
Conditions if,do,while..
Char/Text functions Char or Text..()
Get + Include functions Get, Include..
String functions String# (hashtag)
Date-Time Day, Time, Year.
Display
Call
Formulas Complex
04- Database
Connector Ado, Odbc, Dsn, SAP, Ms4
DB Connect Create, delete
Import DataSource Import, Consolidation
Administration Admin, User
05- Sql-Query
Sql
Query Form : BTS,Plus
Grid option
06- Charts
Forms Plus, 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.
DrawWindow [web]
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 Custom
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

Designer

00-OverView
01-Transaction
02-Setting
05-Import
10-Formula
15-Report-Part1
16-Report-Part2
20-Query-Part1
21-Query-Part2
25-Report-Query-Style
30-QrCodeImage
31-Windows
32-Frame
40-TabStrip
50-Collapse
60-BeginForm
63-Input-SubmitBox
70-Input-Select
71-Input-Insert
72-Input-Update
73-Input-Delete
75-Input-Query
77-ListComBo
81-Button-Link
82-Button-DataList
86-Sticky-Label
91-Insert-PhpJsHtml
92-Insert-MS4script
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

2022 version 1.10

Chapter 10 : MENUS

KEYWORD : BEGIN_MENU_WEB:Custom

Definition

Creates a Custom (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   : Custom
	 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 :	Ms4Script_Import  : "<your MS4 script>"
		       or FormXXX : PieChart, or BAR...
        MenuId Number2 :	Ms4Script_Import  : "<your MS4 script>"
        MenuId Number3 :	Ms4Script_Import  : "<your MS4 script>"
     End_MenuID_Web ;

  		
	

Example

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


** *************************************
** web MENU : Example 1 : accordion
** ************************************
DBconnect{Ms4DB}(LEnvDemoExcelDB); 
 BEGIN
		BEGIN_Menu_Web     : Custom
			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://getms4bi.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 :	FormPlus : DrawPIE, title : "1-PIE  Business 2011 by  EMPLOYEE " , 
			ANGLE :120 , TYPE : $STANDARD, FORMAT: "$"    
					use View  ("[ms4EmplTotalBusiness2011]"),
         MenuId 11 : FormPlus : DrawBAR, title : "BAR PLOT Business 2011,2012,2013 by  EMPLOYEE ",
                    type :  $BAR  , FORMAT :"$" , 	  Plot :  from 1  to 60000   
                   from 60000  to 120000   use View   (" [ms4EmplBusinessDollars20111213]")  ,
         MenuId 12 : FormPlus : DrawGrid, title :"3-GRID : BUSINESS EMPLOYEE 2011 $   "  
                     use   View  ("[ms4EmplTotalBusiness2011]")   ,
         MenuId 21 : FormPlus :  DrawQrCODE type : $MAIL ("http://www.mgplanete.com") ,
         MenuId 22 : 	DrawWindow : "Win1" , actions : $WinCustom +  
                       $WinMinimize + $WinMaximize + $WinClose , 
			position : 50, 50,600,1020  TITLE : "My first Web Window: URL" 
                     url : "https://getms4bi.com"  ,
         MenuId 102 :  FormPchart :	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 ;
   
Visualise Example
Source & Copy Custom Menu
Visualise ALL Examples : Menu

Prerequisites

driver:\MandragorePlanete\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:\MandragorePlanete\MS4BI\02-DEMO-DESKTOP-BI-EXCELandSTANDARD\6-MENU
driver:\MandragorePlanete\MS4BI\01-GETTING-STARTED-UNICODE



Interested in joining us? contact@mgplanete.com
The Mg Planete team


Copyright 2022 by Mandragore Planete

the official sites :
mgplanete.com
getms4bi.com
demos.ms4bi.com
help.ms4bi.com
ms4script.com

Download

official site :
getms4bi.com

Our purpose : Keep it simple !


written with ms4script
  • help 01.010.2022.8

MS4BI in 5 minutes