English
Functions and Help

function: msg

 
- Page 1 -


The Funktionsgruppe msg position Dialog box and Benachrichtigungsfunktionen available:

msg
msg.box
msg.notify
msg.toast

Keywords: msg,input,toast,notify,messagebox

 
12/06/14  
 



 
- Page 1 -


now is msgbox yet mächtiger can and a Message/ Notifkation in the curtain platzieren:

Parameter with mode 2: (Notification)

such Notifikationen go in the curtain displayed, having one icon, a Headline, a Nachrichtenzeile, a Zusatznachrichtenzeile and optional a Zahlenanzeige The rechtsbündig displayed becomes.

Parameter 1: String or aray
with String: The Nachrichtentext
with aray: [Nachrichtentext, ZweiteZusatzZeile, ZusatzZahl]
becomes msgbox with mode 2 called and only 1 Another Parameter (NachrichtenText) indicated, then becomes the Text as cover displayed and a Nachrichtentext entfällt.

Parameter 2: cover: The Notifikation get a cover the in a more type displayed becomes over the actual Nachrichtentext.

Parameter 3: LED-information(en): either one Long for colour (with function rgb To relating) - some Smartphones having a LED The with Notifikationen light (often "nur" with ausgeschaltetem display); or one aray [colour,anzeigedauerMillisekunden,ausblendedauerMillisekunden] circa festzulegen as LED glint should.

Parameter 4: Boolean or Optionsarray.
in the drop Boolean True or False whether The Notifikation "Unlöschbar" is by "entfernen"-Button or by "wegwischen". with True can The Notifikation not removes go in the Contrast To false.
in the drop aray: [unlöschbarBoolean, AppHervorholenBeiKlickBoolean, prioritätsLong]
is AppHervorholenBeiKlickBoolean false then happens at Click on The Notifikation garnichts, otherwise becomes The APP opened. prioritätsLong can -2, -1,0 (standard),1 or 2 his, according to the How "hoch" these Notifikation showing should over or under others Notifikationen.

Return Value is Long, a handle for Notifikation circa tappt im dunkeln Remove or update to.
 
01/10/15  
 




HofK
i'm noticed, The msgbox can now very plenty More as Messages show. its now sooner one general dialog (sometimes hold monologue).
with Android finds one there as well as elsewhere dialog box means dlgbox.
 
02/04/15  
 



that's right, it supplant toast, messagebox, input and yet The Notifications (means trayicons).

MessageBox as "Haste Message in there Box" found I accurate as DialogBox there with MessageBox The Message in the Vordergrund standing and not the dialog.
 
02/04/15  
 




HofK
"Modus 2: Notification: Created a consist bleibende "Meldung" for "Vorhang" and a Icon supra left similar one from windows bekanntem TrayIcon."

... means Message and even More as only 'ne Box!

Perhaps then only message means short msg? gui is too so beautiful short!
 
02/05/15  
 



Yes the is correct already, Friends me gedanklich too strain with msg on, gives me a couple minutes because I strain on Fn gui herumfuhrwerke The remarkable plainer becomes.
 
02/05/15  
 



msgbox watts To msg!
 
02/10/15  
 




HofK
Konstanten for msg in the Hauptbeitrag complement.

mode:
msg.box=0
msg.toast=1
msg.notification=2
 
03/04/15  
 



Konstanten installed!
 
03/04/15  
 



 
- Page 2 -



HofK
at that virtually use noticed

Feldindizes count in Infinity-Profan always ex 0, The Knopfzählung begins with 1.

but evident is the derzeitige count useful 1 - 2 - 0 and a fourth button lead moreover, that at all none displayed becomes!
CompileMarkSeparation
var trackmod  = 0// 0  foot, 1 wheel, 3 car, 4 plane
var modtxt    =     [" To foot " " wheel " " car "]
//
msg msg.box zero  "Modus wählen" modtxt zero moduswahl

proc moduswahl btn txt

    trackmod = btn-1// -1 because the button ex 1 counted go!
    // TESTAUSGABE:
    print "btn " + btn + "trackmod "+ trackmod+ "modtxt[trackmod] " + modtxt[trackmod]
    msg msg.toast "Start Tracking " + modtxt[trackmod] + " - movement Please! "

endproc


How one sees, is the different count with trackmod = btn-1 slight auszugleichen. nevertheless is the always a latente Fehlerquelle. How deeply is the Knopfzählung in the system anchors?

there's Languages, where The Indexzählung ex 0 or 1 chosen or. even inside the Program changed go can. the creates but yet More "Chaosgefahr".
 
12/05/15  
 



... and me was almost clear, I not create the To Change, before

You it nab become!

so How I The Button-IDs commit, so comes it of OS.

i'm too the opinion, that this for Infinity differently sortiert go ought to.
 
12/06/15  
 




HofK
iF (06.12.15)
...
i'm too the opinion, that this for Infinity differently sortiert go ought to.


Wenn' s without something in the Gesamtgefüge durcheinanderzuwürfeln well machbar is 0 1 2 ++++ ...... ----- 0-1-2
 
12/06/15  
 



Note:

it yields none sense More, about:
msg msg.toast "Test!"

To write, because its only yet:
msg.toast "Test!"

whom the new is: it has itself plenty New yield and changed:  [...] 
 
02/10/16  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

13.319 Views

Untitledvor 0 min.
Alibre09/26/20
Michael W.02/27/17
Micha1233410/27/16
Thomas Zielinski04/29/16
More...

Themeninformationen

this Topic has 3 subscriber:

iF (10x)
HofK (5x)
Michael W. (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie