params

  1. practicalsoft

    B4X FEED How to loop for map.put

    Hello everyone. So right now i want to make a loop to get all item selected. Im using map to pass the data into the server. So here is my code. Any idea ? B4X: Dim dpList As List dpList.Initialize Dim i As Map i.Initialize i.Put("ITEM_QTY", txtQte.Text)...
  2. practicalsoft

    B4X FEED [ABMaterial] About BeforeUnload event.

    On ABMPage, When trigger "beforeunload" event, Can I stop URL refreshing? Let it stay on the original page. B4X: Sub Page_ParseEvent(Params As Map) Dim eventName As String = Params.Get("eventname") Dim eventParams() As String = Regex.Split(",",Params.Get("eventparams")) If...
  3. practicalsoft

    B4X FEED [DBCommand] CreateCommand ...

    Module Class --- > ShowDialog(): Private Sub ShowDialog(Item As Map, RowId As Long, Action As Int) ... Dim params As List params.Initialize 'keys based on the template json file params.AddAll(Array As String(id, Item.Get("FirstName"), Item.Get("LastName")...
  4. Mahoor

    ارسال تعداد متغیر پارامتر به یک متد

    ⏺نکته آموزشی #c ? ارسال تعداد متغیر پارامتر به یک متد ? با استفاده از کلمه کلیدی params مانند نمونه زیر : public int Add(params int[] list) { int sum = 0; foreach (int i in list) sum += i; return sum; } ↙ حال میتوانیم این متد را به این شکل صدا بزنیم : int ans1 = Add(1); int ans2 = Add(1, 2...
عقب
بالا