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 13: WINDOWS

KEYWORD : MSGBOX

Definition

Displays a modal dialog box that contains a system icon, a set of buttons, and a brief application-specific message,
such as status or error information. The message box returns an integer value that indicates which button the user clicked.

Syntax

 		   	
	MsgBox : Title (literal or string) 
Message : literal or string, Button : MB_yes no cancel.. icon : MB_ICONXXXX .. return (integer)

Example

 	
 #includeSYSpathMS4BI "\zInclude\IncludeSysMs4Windows.h"     
 BEGIN 
   
   MsgBox : Title " FILE ENCRYPTION: WIPE FUNCTION                    "
	Message : " Do you really want to Wipe ?",
	"Wiped files cannot be retrieved !!!!",
	 " BEFORE WIPE: ENCRYPT this FILE : 99-FileToEncrytExampleWIPE1.ms4"
	Button : Mb_YESNOCANCEL
	Icon : Mb_ICONQUESTION Return  (X) ;
	 
	
	CASE_OF X
		WHEN Idabort :
			Display " IDABORT	Abort button was selected. :  " , Idabort ;
		END_When;
		WHEN Idcancel :
			Display "IDCANCEL	Cancel button was selected.:  " , Idcancel ;
		END_When;
		WHEN Idignore :
			Display "IDIGNORE	Ignore button was selected.:  " , Idignore ;
		END_When;
		WHEN Idno :
			Display "IDNO	        No button was selected.    :  " , Idno ;
		END_When;
		WHEN Idok :
			 Display "IDOK	        OK button was selected.    :  " , Idok ;
			
		END_When;
		WHEN Idretry :
			Display "IDRETRY	Retry button was selected. :  " , Idretry ;
		END_When;
		WHEN Idyes :
			BEGIN
				Display "IDYES          Press  Ok                  :  ", Idyes ;
				EncryptFileWIPE( INPUTFILE : "99-FileToEncrytExampleWIPE1.ms4");
				 
				Display" OK.....WIPE : 99-FileToEncrytExampleWIPE1.ms4 !!! ";
			END;
		END_When;
	END_Case	;
END ;	
	

Prerequisites

#includeSYSpathMS4BI "\zInclude\IncludeSysMs4Windows.h"

Remark 1 : Values Meaning

MB_ABORTRETRYIGNORE The message box contains three push buttons: Abort, Retry, and Ignore.
MB_OK The message box contains one push button: OK. This is the default.
MB_OKCANCEL The message box contains two push buttons: OK and Cancel.
MB_RETRYCANCEL The message box contains two push buttons: Retry and Cancel.
MB_YESNO The message box contains two push buttons: Yes and No.
MB_YESNOCANCEL The message box contains three push buttons: Yes, No, and Cancel.

Remark 2 : ICON Value Meaning

MB_ICONEXCLAMATION An exclamation-point icon appears in the message box.
MB_ICONASTERISK An icon consisting of a lowercase letter i in a circle appears in the message box.
MB_ICONQUESTION A question-mark icon appears in the message box.
MB_ICONHAND A stop-sign icon appears in the message box.

Remark 3 : Return code/value Description

IDABORT 3 The Abort button was selected.
IDCANCEL 2 The Cancel button was selected.
IDRETRY 4 The Retry button was selected.
IDIGNORE 5 The Ignore button was selected.
IDNO 7 The No button was selected.
IDOK 1 The OK button was selected.



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


Copyright 2019 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.00.0005.02.2019
  • MS4BIRE v.00.0005.02.2019
  • MS4SCRIPT v.00.0005.02.2019
  • help 02/2019

MS4BI in 5 minutes