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..
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
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 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

  	
 #include  "#SYSPATHMS4BI+\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

#include "#SYSPATHMS4BI+\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 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