Sviluppatori B4X e altri linguaggi minori ....
Vuoi reagire a questo messaggio? Crea un account in pochi click o accedi per continuare.
Sviluppatori B4X e altri linguaggi minori ....

Forum dedicato agli sviluppatori di B4X, PHP, Xamarin


Non sei connesso Connettiti o registrati

le mie customview

4 partecipanti

Andare in basso  Messaggio [Pagina 1 di 1]

1le mie customview Empty le mie customview Gio Ott 26, 2017 11:07 pm

Zenzero

Zenzero
Moderatore
Moderatore

GiLoCustomView

Author: LordZenzo
Version: 2.02

  • CoordRC


    • Fields:

      • Column As Int

      • IsInitialized As Boolean
        Tests whether the object has been initialized.
      • Row As Int



    • Functions:

      • Initialize  
        Initializes the fields to their default value.




  • CustomMenuItem


    • Fields:

      • BackColor As Int

      • Event As String

      • Height As Int

      • Icon As Bitmap

      • IsInitialized As Boolean
        Tests whether the object has been initialized.
      • Name As String

      • Text As String

      • TextColor As Int

      • TextSize As Int



    • Functions:

      • Initialize  
        Initializes the fields to their default value.




  • GiLoComboBoxView


    • Events:

      • ItemError (Value As String)
      • ItemIMAGEClick (Value As String, Image As Bitmap)
      • ItemTEXTClick (Value As String)
      • OpenItem (Value As Boolean)


    • Functions:

      • AddAllImage  As String
        add all file con estenzione PNG, BMP, JPG

      • AddItemImage (item As String, FileImage As String) As String

      • AddItemText (item As String) As String

      • AsView  As View

      • Class_Globals  As String

      • ClearItem (item As String) As Boolean

      • DesignerCreateView (Base As Panel, Labl As Label, Props As Map) As String

      • getBackground  As ColorDrawable

      • getItemVisible  As Int

      • getListImage  As List

      • getListText  As List

      • getTag  As Object

      • Initialize (Callback As Object, EventName As String) As String

      • Invalidate  As String

      • InvalidateList  As String

      • IsInitialized  As Boolean
        Tests whether the object has been initialized.
      • Prepare  As String

      • setBackground (ColorBackground As ColorDrawable) As String

      • setColonne (col As Int) As String

      • setEnabled (val As Boolean) As String

      • setGravity (col As Int) As String

      • setHintColor (colore As Int) As String

      • setItemHeight (ItemH As Int) As String

      • setItemVisible (row As Int) As String

      • SetLayount (left As Int, top As Int, width As Int, height As Int) As String

      • setListSort (sort As String) As String
        Only "Discendig","Ascending","Unsorted"

      • setOpenList (open As Boolean) As String

      • setTag (k As Object) As String

      • setTextColor (col As Int) As String

      • setTextSize (col As Int) As String

      • setType (tipo As String) As String
        only "TEXT" or "IMMAGE"

      • setTypeface (col As Typeface) As String

      • setValidation (val As Boolean) As String



    • Properties:

      • Background As ColorDrawable

      • Colonne

      • Enabled

      • Gravity

      • HintColor

      • ItemHeight

      • ItemVisible As Int

      • ListImage As List [read only]

      • ListSort
        Only "Discendig","Ascending","Unsorted"

      • ListText As List [read only]

      • OpenList

      • Tag As Object

      • TextColor

      • TextSize

      • Type
        only "TEXT" or "IMMAGE"

      • Typeface

      • Validation





  • GiLoGridView


    • Events:

      • AngleButton_Click
      • AngleButton_LongClick
      • Item_Click
      • Item_Edit


    • Functions:

      • AddMenu (text As String, event As String) As String

      • Class_Globals  As String

      • getAll_ItemHeight  As Int

      • getAll_ItemWidth  As Int

      • getAll_TextColor  As Int

      • getAll_TextSize  As Int

      • getAllTypeface  As Typeface

      • getBarSize  As Int

      • GetBase  As Panel

      • getButtonAngle_Background  As Object

      • getButtonAngle_Color  As Int

      • getButtonAngle_Visible  As Boolean

      • GetColumnWidth (column As Int, width As Int) As Int

      • GetItem (RC As _coordrc) As _itemsprop

      • GetItem_Color (RC As _coordrc) As Int

      • GetItem_Tag (RC As _coordrc) As Object

      • GetItem_Text (RC As _coordrc) As String

      • GetItem_TextColor (RC As _coordrc) As Int

      • GetItem_TextSize (RC As _coordrc) As Int

      • getMaxColumn  As Int

      • getMaxRow  As Int

      • getOrizontaBar_Background  As Object

      • getOrizontalBar_Color  As Int

      • getOrizontalBar_Visible  As Boolean

      • GetRowHeight (column As Int, width As Int) As Int

      • getScrollAccelerate  As Int

      • getVerticalBar_Background  As Object

      • getVerticalBar_Color  As Int

      • getVerticalBar_Visible  As Boolean

      • Initialize (Callback As Object, EventName As String) As String

      • InsertColumnFromArray (Column As Int, Listrow As String()) As String

      • InsertColumnFromList (Column As Int, Listrow As List) As String

      • InsertRowFromArray (row As Int, Listrow As String()) As String

      • InsertRowFromList (row As Int, Listrow As List) As String

      • IsInitialized  As Boolean
        Tests whether the object has been initialized.
      • IsSelected  As Boolean

      • SelectedClear  As String

      • SelectItem (RC1 As _coordrc, RC2 As _coordrc) As String

      • setAll_DefoultColor  As String

      • setAll_ItemHeight (h As Int) As String

      • setAll_ItemWidth (h As Int) As String

      • setAll_TextColor (h As Int) As String

      • setAll_TextSize (h As Int) As String

      • setAllTypeface (ttf As Typeface) As String

      • setBarSize (h As Int) As String

      • setButtonAngle_Background (bg As Object) As String

      • setButtonAngle_Color (h As Int) As String

      • setButtonAngle_Visible (v As Boolean) As String

      • SetColumnWidth (column As Int, width As Int) As String

      • SetItem (items As _itemsprop) As String

      • SetItem_Color (RC As _coordrc, col As Int) As String

      • SetItem_Tag (RC As _coordrc, tag As Object) As String

      • SetItem_Text (RC As _coordrc, text As String) As String

      • SetItem_TextColor (RC As _coordrc, col As Int) As String

      • SetItem_TextSize (RC As _coordrc, ts As Int) As String

      • setMaxColumn (col As Int) As String

      • setMaxRow (row As Int) As String

      • setOrizontaBar_Background (bg As Object) As String

      • setOrizontalBar_Color (h As Int) As String
        ----------------

      • setOrizontalBar_Visible (v As Boolean) As String

      • SetRowHeight (column As Int, width As Int) As String

      • setScrollAccelerate (h As Int) As String

      • setVerticalBar_Background (bg As Object) As String
        -----------------

      • setVerticalBar_Color (h As Int) As String

      • setVerticalBar_Visible (v As Boolean) As String



    • Properties:

      • All_ItemHeight As Int

      • All_ItemWidth As Int

      • All_TextColor As Int

      • All_TextSize As Int

      • AllTypeface As Typeface

      • BarSize As Int

      • ButtonAngle_Background As Object

      • ButtonAngle_Color As Int

      • ButtonAngle_Visible As Boolean

      • MaxColumn As Int

      • MaxRow As Int

      • OrizontaBar_Background As Object

      • OrizontalBar_Color As Int
        ----------------

      • OrizontalBar_Visible As Boolean

      • ScrollAccelerate As Int

      • VerticalBar_Background As Object
        -----------------

      • VerticalBar_Color As Int

      • VerticalBar_Visible As Boolean





  • GiLoListView


    • Events:

      • ItemCheckedClick (Index As Int, Value As TypeListView)
      • ItemClick (Index As Int, Value As TypeListView)
      • ItemTextChanged (Index As Int, Value() As String)


    • Fields:

      • CHECKFALSE As Int

      • CHECKFALSEDISABLE As Int

      • CHECKNONE As Int

      • CHECKTRUE As Int

      • CHECKTRUEDISABLE As Int

      • DefaultBitmapDrawable As BitmapDrawable

      • DefaultColorDrawable As ColorDrawable

      • DefaultEditBColor As Int

      • DefaultEditTextColor As Int

      • DefaultTextBackgroundColor As Int

      • DefaultTextColor As Int

      • DefaultTextSize As Int

      • Type2LABEL As String

      • TypeCHECK_2LABEL As String

      • TypeCHECK_2LABEL_IMG As String

      • TypeCHECK_2LABELeEDIT As String

      • TypeCHECK_EDIT As String

      • TypeCHECK_EDIT_IMG As String

      • TypeCHECK_IMG As String

      • TypeCHECK_LABEL As String

      • TypeCHECK_LABEL_EDIT As String

      • TypeCHECK_LABEL_EDIT_IMG As String

      • TypeCHECK_LABEL_IMG As String

      • TypeCHECK_LABELeEDIT As String

      • TypeEDIT As String

      • TypeIMG As String

      • TypeIMG_2LABEL As String

      • TypeIMG_2LABELeEDIT As String

      • TypeIMG_EDIT As String

      • TypeIMG_LABEL As String

      • TypeIMG_LABEL_EDIT As String

      • TypeIMG_LABELeEDIT As String

      • TypeLABEL As String

      • USEBITMAPDRAWABLE As Int

      • USECOLORDRAWABLE As Int



    • Functions:

      • Add (Value As Object, Tipo As Int, Lab1 As String, Lab2 As String, Ck As Int, Ib As Bitmap) As String
        Adds a custom item.
        tipo is USECOLORDRAWABLE or USEBITMAPDRAWABLE

      • AsView  As View
        Returns a view object that holds the list.

      • Class_Globals  As String

      • Clear  As String
        Clears all items.

      • DesignerCreateView (Base As Panel, Lbl As Label, Props As Map) As String

      • EditAT (Index As Int, Value As Object, Tipo As Int, Lab1 As String, Lab2 As String, Ck As Int, Ib As Bitmap) As String
        Edit a specified item
        tipo is USECOLORDRAWABLE or USEBITMAPDRAWABLE

      • getBaseColor  As Int

      • getColonne  As Int

      • GetDefaultBitmapDrawable  As BitmapDrawable
        get the default Bitmap drawable

      • getDefaultColorDrawable  As ColorDrawable
        get the default color drawable

      • getDividerHeight  As Int

      • getDividerWidth  As Int

      • getHeight  As Int

      • GetIndexOf (o As Object) As Int
        get index for value
        -1 any value

      • GetItemBitmapDrawable (Index As Int) As BitmapDrawable
        get the Bitmap drawable for specific item

      • getItemColorDrawable (Index As Int) As ColorDrawable
        get the color drawable for specific item

      • getItemHeight  As Int

      • GetItemValue (Index As Int) As _typelistview
        get the value from specific item

      • getLeft  As Int

      • getListViewType  As String

      • getMaxHeightList  As Int
        get max height ListView

      • GetPanelItem (index As Int) As Panel
        Returns the Panel stored at the specified index.

      • getSize  As Int
        Returns the number of items.

      • getTag  As Object

      • getTop  As Int

      • GetValue (Index As Int) As Object
        Returns the value stored at the specified index.

      • getWidth  As Int

      • Initialize (vCallback As Object, vEventName As String) As String

      • InsertAt (Index As Int, Value As Object, Tipo As Int, Lab1 As String, Lab2 As String, valCheck As Int, Imb As Bitmap) As String
        Adds a custom item at the specified index.
        tipo is USECOLORDRAWABLE or USEBITMAPDRAWABLE

      • IsInitialized  As Boolean
        Tests whether the object has been initialized.
      • ItemATposition (index As Int, Position As Int) As String
        Move Item to Position

      • ItemUP (index As Int) As String
        Move Item UP

      • JumpToItem (Index As Int)
        Scrolls the list to the specified item.

      • PercentageItemVisible (item As Int) As Int
        percentuale di visiome del item
        100 item completamente visibile
        da 1 a +99 visione parziale in coda alla view
        da -1 a -99 visione parziale in testa alla view
        0 non visibile

      • RemoveAt (Index As Int) As String
        Removes the item at the specified index.

      • setBaseColor (k As Int) As String
        -----   My Custom ------------

      • setColonne (col As Int) As String
        set then number of column

      • SetDefaultBitmapDrawable (BitmapIs As BitmapDrawable) As String
        set the default Bitmap drawable

      • setDefaultColorDrawable (colordrawables As ColorDrawable) As String
        set the Default color drawable

      • setDefaultEditBackColor (a As Int) As String

      • setDefaultEditTextColor (a As Int) As String

      • setDefaultTextBackgroundColor (a As Int) As String

      • setDefaultTextColor (a As Int) As String

      • setDefaultTextSize (a As Int) As String

      • setDividerHeight (k As Int) As String

      • setDividerWidth (dei As Int) As String

      • setHeight (L As Int) As String

      • SetItemBitmapDrawable (index As Int, BitmapIs As BitmapDrawable) As String
        set the Bitmap drawable for specific item

      • setItemColorDrawable (Index As Int, colordrawables As ColorDrawable) As String
        set the color drawable for specific item

      • setItemHeight (hei As Int) As String
        set the Item Height

      • setLabel1Gravity (a As Int) As String

      • setLabel2Gravity (a As Int) As String

      • SetLayout (left As Int, top As Int, width As Int, heigth As Int) As String

      • setLeft (L As Int) As String

      • setListViewType (tipo As String) As String
        type is :
        LABEL,   2LABEL,   EDIT,   IMG
        CHECK-LABEL,   CHECK-EDIT,   CHECK-IMG,   IMG-LABEL,   IMG-EDIT
        CHECK-2LABEL,  CHECK-LABEL-EDIT,   CHECK-LABEL&EDIT,   CHECK-LABEL-IMG,   CHECK-EDIT-IMG
        CHECK-2LABEL&EDIT,   CHECK-2LABEL-IMG,   CHECK-LABEL-EDIT-IMG
        IMG-2LABEL,   IMG-LABEL-EDIT,   IMG-LABEL&EDIT,   IMG-2LABEL&EDIT

      • setTag (k As Object) As String

      • setTop (L As Int) As String

      • setWidth (L As Int) As String

      • Sort (Ogget As String, Ascending As Boolean) As String
        Oggetto as value,label1,label2,edit



    • Properties:

      • BaseColor As Int
        -----   My Custom ------------

      • Colonne As Int
        set then number of column

      • DefaultEditBackColor

      • DividerHeight As Int

      • DividerWidth As Int

      • Height As Int

      • ItemHeight As Int
        set the Item Height

      • Label1Gravity

      • Label2Gravity

      • Left As Int

      • ListViewType As String
        type is :
        LABEL,   2LABEL,   EDIT,   IMG
        CHECK-LABEL,   CHECK-EDIT,   CHECK-IMG,   IMG-LABEL,   IMG-EDIT
        CHECK-2LABEL,  CHECK-LABEL-EDIT,   CHECK-LABEL&EDIT,   CHECK-LABEL-IMG,   CHECK-EDIT-IMG
        CHECK-2LABEL&EDIT,   CHECK-2LABEL-IMG,   CHECK-LABEL-EDIT-IMG
        IMG-2LABEL,   IMG-LABEL-EDIT,   IMG-LABEL&EDIT,   IMG-2LABEL&EDIT

      • MaxHeightList As Int [read only]
        get max height ListView

      • Size As Int [read only]
        Returns the number of items.

      • Tag As Object

      • Top As Int

      • Width As Int





  • GiLoMenuView


    • Events:

      • MenuIsClose
      • MenuIsOpen


    • Functions:

      • AddItem (item As _custommenuitem) As String

      • Class_Globals  As String

      • ClearMenu  As String

      • CreateMenu  As String

      • GetBase  As Panel

      • getItemDistance  As Int

      • Initialize (Callback As Object, EventName As String) As String

      • IsInitialized  As Boolean
        Tests whether the object has been initialized.
      • MenuTitle (title As _custommenuitem) As String

      • OpenCloseMenu  As String

      • RemoveItem (Name As String) As String

      • SetItem (Name As String, Text As String, Event As String, Icon As Bitmap, Height As Int, BackColor As Int, Textcolor As Int, TextSize As Int) As _custommenuitem

      • setItemDistance (d As Int) As String

      • SetLayout (left As Int, top As Int, width As Int, heigth As Int) As String

      • setMenuType (ver As Int) As String

      • setMenuVerso (ver As Int) As String

      • setMenuWidth (width As Int) As String

      • setToClose  As String

      • setToOpen  As String

      • setVelocity (V As String) As String
        Slow , Normal , Fast , Immediate



    • Properties:

      • ItemDistance As Int

      • MenuType

      • MenuVerso

      • MenuWidth

      • Velocity
        Slow , Normal , Fast , Immediate





  • ItemsProp


    • Fields:

      • color As Int

      • Column As Int

      • IsInitialized As Boolean
        Tests whether the object has been initialized.
      • Row As Int

      • tag As Object

      • text As String

      • TextColor As Int

      • textSiz As Int

      • TextTypeFace As Typeface



    • Functions:

      • Initialize  
        Initializes the fields to their default value.




  • JarFileLoader


    • Functions:

      • Class_Globals  As String

      • Initialize  As String

      • IsInitialized  As Boolean
        Tests whether the object has been initialized.
      • LoadBitmapFromJar (FileName As String) As Bitmap

      • LoadFileFromJar (FileName As String) As InputStream





  • TypeListView


    • Fields:

      • Check As Panel

      • Edit As EditText

      • Image As Panel

      • IsInitialized As Boolean
        Tests whether the object has been initialized.
      • ItemValue As Object

      • Label1 As Label

      • Label2 As Label



    • Functions:

      • Initialize  
        Initializes the fields to their default value.




  • sss


    • Fields:

      • index As Int

      • IsInitialized As Boolean
        Tests whether the object has been initialized.
      • value As Object



    • Functions:

      • Initialize  
        Initializes the fields to their default value.




2le mie customview Empty Re: le mie customview Ven Ott 27, 2017 7:01 am

Dust

Dust
Admin
Admin

Ci sei riuscito

https://basic4x.forumattivo.com

3le mie customview Empty Download Librerie e TEST Mar Set 17, 2019 7:22 pm

pixet


Sviluppatore
Sviluppatore

Ciao, i contenuti delle tue lib sono molto interessanti ma non riesco a trovare come scaricarle per testare ed ampliare la mia conoscenza.

Grazie

Rob Smile

4le mie customview Empty Re: le mie customview Mar Set 17, 2019 9:16 pm

Dust

Dust
Admin
Admin

Mi dispiace ma Zenzero non ha allegato la libreria

https://basic4x.forumattivo.com

5le mie customview Empty Re: le mie customview Mar Set 17, 2019 11:40 pm

Zenzero

Zenzero
Moderatore
Moderatore

prima di allegarle devo controllare che siano funzionanti con le nuove versione di b4a

6le mie customview Empty Re: le mie customview Dom Giu 13, 2021 5:15 pm

xfood

xfood
Moderatore
Moderatore

secondo voi @zenzero ha avuto il tempo di controllare / Verificare la compatibilita' ?

Contenuto sponsorizzato



Torna in alto  Messaggio [Pagina 1 di 1]

Permessi in questa sezione del forum:
Non puoi rispondere agli argomenti in questo forum.