Iranian Programming Support

Welcome To Csharp TeaM Forum.
For Use All Forum Posts And See Links
Please Register
Thanks
www.Programming.MrForum.net
Csharp TeaM Administrator
Iranian Programming Support

Csharp TeaM

Top posting users this month

Latest topics

» html to c# source code convert help
by launchar Tue Dec 06, 2016 7:22 am

» User input
by nesraz Sun Dec 20, 2015 8:39 am

» darkhaste source mediaplayer baraye b4a
by parham01 Tue Dec 15, 2015 10:31 am

» Tolide esme file gheire tekrari
by sajjad3011 Fri Jul 31, 2015 5:00 pm

» 368 library basic 4 android
by alimusavi71 Fri Jul 17, 2015 6:45 pm

» نرم افزار دریافت لایسنس آنتی ویروس نود 32
by programmer-x Wed Jul 15, 2015 3:19 pm

» help for java applications
by launchar Wed Jul 01, 2015 12:25 am

» Nimbuzz id Maker auto Captcha & Auto add FlooD & id BloCker
by briant Sat Jun 20, 2015 12:46 pm

» best mobile server v.1.0.0 persian edition
by programmer-x Fri Jun 19, 2015 12:41 am

» plz help me i neez xml code for spy bot
by alone Sun Mar 22, 2015 9:30 pm

» Dialogs Lib {Basic 4 Android}
by abdo0o Mon Mar 09, 2015 4:02 pm

» Room + PV Flooder Nimbuzz 2015
by sholeh Sat Feb 21, 2015 8:06 am

» PV Flooder Nimbuzz 2015
by sholeh Sat Feb 21, 2015 8:03 am

» سی شارپ سورس
by tr0 Wed Dec 24, 2014 12:15 pm

» help plz auto maker ids
by launchar Wed Dec 17, 2014 5:57 pm

» Join Multi Id To Room + Captcha [ Badbuzz Team ] In Seri Ba AgsXMPP !!
by abdo0o Fri Dec 12, 2014 4:47 am

» Amoozesh Ersale Sms Dar B4a
by abdo0o Fri Dec 12, 2014 4:43 am

» help me pls mehran brother
by launchar Wed Dec 03, 2014 6:36 pm

» plz help code Refresh captcha join Room
by ayad53 Wed Dec 03, 2014 12:24 pm

» please Help Me For AutoCaptchaa kardan IdMaker
by abdo0o Tue Dec 02, 2014 12:12 pm

» source C# bot addlist sender by ==> Alone_051@n.c
by walahazrat Mon Dec 01, 2014 2:34 am

» s2a sender tro help me pls
by walahazrat Mon Dec 01, 2014 2:28 am

» Help For {Data id } C# asixmpp.dll
by abdo0o Sun Nov 30, 2014 11:17 pm

» Help C# {Join & Left With Remoter}
by $iahi Tue Nov 25, 2014 10:31 am

» Source Nimbuzz User Searcher By Mehr,an [ Badbuzz TeaM ]
by waseemmalik Wed Nov 19, 2014 11:35 am


    GridView In B4A

    Share
    avatar
    Emad Arta
    Csharp Admin
    Csharp Admin

    Posts : 118
    Points : 214
    Thanks : 48
    Join date : 2013-08-03
    Age : 24
    Location : Iran,Baloochestan,Iranshahr

    Open GridView In B4A

    Post by Emad Arta on Fri Aug 22, 2014 11:02 am

    Ba Salam
    Bale Aqa GridView Dar B4A Ham Darim Ke Be Tozih Un Mipardazim  HI 


    Khub Dar Ebtedea Libe ICOSGridView Ro Download Kunid.


    Va Yek Motaghayer Az Noe ICOSGridView Tarif Mikunim.

    Code:
    Sub Globals
       Dim grid As ICOSGridView
    End Sub

    Dar Marhale Baad Miyayim Be Formemon Ezafash Mikunim Va mokhtasat Midim Va Behesh Tedade Soton Ya Hamun Column Ro Midim Bande Be Delkhah Migam 3Ta

    Code:
    Sub Activity_Create(FirstTime As Boolean)

    Activity.LoadLayout("gridview")
    grid.Initialize("grid")
    Activity.AddView(grid,0,0,100%x,100%y)
    grid.NumColumns=3
    End Sub

    ta injaye kar be formemon ezafash kardim hala mirim soraghe meghdar dadan be gridemon


    toye grid ham ye jorayi mesle listview hastesh ke be chand sorat mishe behesh item ya data ezafe kard


    1.AddText : Add Kardane Ye Reshte Dar Yek Line 


    2.AddTwoText : Add Kardane 2Ta Reshte Dar Line Haye Mojaza 


    3.AddBitmap : Add Kardan Ax


    4.AddTextAndBitmap : Add Kardane Ye Reshte Ba Yek Ax


    5.AddTwoTextAndBitmap : Add Kardane 2Reshte Ba Yek Ax


    4 Va 5 Moshabeh 1 Va 2 Hastan Ba In Tafavot Ke Ax Ham Ezafe Mishe Hamin


    Alan Ba Code Migam Motavajeh Shid.


    1.AddText
    Code:
    Sub Button1_Click
    grid.Clear \\Gridemon Ro Pak Mikuni Chun Mikhayim Besh Item Ezafe Kunim
    for i = 1 To 21
    grid.AddText("Emad Arta")
    Next
    End Sub


    2.AddTwoText
    Code:
    Sub Button2_Click
    grid.Clear "
    for i = 1 To 21
    grid.AddTwoText("Emad Arta","B4A")
    Next
    End Sub


    3.AddBitmap
    Code:
    Sub Button3_Click
    grid.Clear "
    for i = 1 To 21
    grid.AddBitmap(LoadBitmap(File.DirAssets,"icon.png"))
    Next
    End Sub


    4.AddTextAndBitmap
    Code:
    Sub Button4_Click
    grid.Clear "
    for i = 1 To 21
    grid.AddTextAndBitmap("Emad Arta",LoadBitmap(File.DirAssets,"icon.png"))
    Next
    End Sub

    5.AddTwoTextAndBitmap
    Code:
    Sub Button5_Click
    grid.Clear "
    for i = 1 To 21
    grid.AddTwoTextAndBitmap("Emad Arta","B4A",LoadBitmap(File.DirAssets,"icon.png"))
    Next
    End Sub

    KHub Ye Halghe Ham Tarif Kardim Goftim Az 1 Shoru Kun Ta 21 Miyad Item Ezafe Mikune Ba Tavajoh Be Soton Hamon Ke 3ta Hastan.


    Khub 2Ta Az Event Haye Mohem GridView Ro Ham Begim Va Karo Be Payan Beresunim


    1.ItemClick : In Zamani Ejra Mishe Ke Ro Yeki Az Itemaye Grid Click Kunid Ba Mesal Tozih Midam


    2.ItemLongClick : In Zamani Ejra Mishe Ke Click Kunid Ama Be Modat Zamane Toolani Tari Nesbar Be Click Sade Yani Click Mouse Ro Negah Darid In Event Ejra Mishe.


    1.ItemClick
    Code:
    Sub grid_ItemClick (Position As Int, Value As Object)
       ToastMessageShow(grid.GetItem(Position)&" "&Position,False)
    End Sub
    Khub Inja Be mahze Click Miyad  Esme Un Item Ke Emad Arta Hastesho Ba Position Ya Hamon Index Un Itemo Bar Migardone Ke Position Az Sefr Shoru Mishe Yani Position Item Aval Ma 0 Hastesh.


    2.ItemLongClick

    Code:
    Sub grid_ItemLongClick (Position As Int, Value As Object)
    MsgBox("Dastet Khaste Nashe Amu :D")
    End Sub


     Vojod Har Gone GHalate Emlayi Ya HarGone eshkali Be Bozorgi KHudeton Bebakhshid  GIRL_IN_LOVE 
    Va In Bud Amozeshi Digar Az C# Team  GIRL_CRAZY 


    Movafagho Piruz Bashid  FOOD 


    Last edited by Emad Arta on Fri Aug 22, 2014 12:21 pm; edited 1 time in total
    avatar
    Armin Ramzani
    Programmer
    Programmer

    Posts : 312
    Points : 559
    Thanks : 61
    Join date : 2014-02-25
    Age : 22
    Location : Iran , Gilan , Lahijan

    Open Re: GridView In B4A

    Post by Armin Ramzani on Fri Aug 22, 2014 11:09 am

    tashakorrrrrrr dash like like Linke ICOSGridView


    http://programming.mrforum.net/t1589-topice-jame-e-b4a-librarys#6706





    DRINK Be Name Madar DRINK
    Baraye Tashakor kardan Az + Use Konid
    Copy Bardari Ba Zekre Manba Mojaz Mibashad

      Current date/time is Fri Nov 24, 2017 5:05 pm