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

SD: DragBoard

Andare in basso  Messaggio [Pagina 1 di 1]

1SD: DragBoard Empty SD: DragBoard Lun Ott 23, 2017 7:27 pm

Dust

Dust
Admin
Admin

Questa libreria contiene tre classi

Il primo DragBoard consente di spostare una singola etichetta (contenente una sola stringa) da una colonna all'altra per attivare lo spostamento facendo clic su un tocco più lungo Elimina o modifica ogni elemento facendo clic su un collegamento (se abilitato da customView) Sostiene l'aggiunta di un singolo elemento per ogni colonna (abilitato CustomView) e l'ordinamento alfabetico delle voci all'interno di una colonna (abilitata da CustoView) Inoltre consente di spostare intere colonne di etichette

Il secondo DragPanel consente di spostare i pannelli da una colonna all'altra (ogni pannello può contenere qualsiasi oggetto di visualizzazione che si desidera che il pannello non venga modificato in dimensione e lo sfondo del colore non deve essere modificato) Per attivare la mossa fare clic su un tocco più lungo Per cancellare o modificare ogni elemento facendo clic su una scorciatoia (se abilitata da customView). Aumentare un evento che invoca un sottotitolo nell'appuntamento in grado di modificare. Supporta l'evento aggiungendo un singolo elemento per ogni colonna (abilitato CustomView) e ordinamento delle manifestazioni in ordine alfabetico (abilitato CustoView) Questi eventi vengono gestiti dal sottoscrittore che ti consente di spostare intere colonne di pannello

Il terzo DragListView è una listview che consente di spostare singole voci da una riga all'altra trascinandola può contenere una o due righe di testo e un pulsante Switch (è anche possibile accedere al pannello per aggiungere altri oggetti, ma gli eventi non saranno gestito dalla biblioteca) Per attivare la mossa fare clic su un tocco più rapido Acquisire o modificare ogni singolo elemento facendo clic su un breve tocco (se attivato da customView) E si solleverà un evento che invoca un sub nella tua applicazione che riesci a modificare Sostiene evento aggiungendo un singolo elemento per ogni colonna (abilitato CustomView) e l'ordinamento degli eventi in ordine alfabetico (abilitato CustoView) Questi eventi vengono gestiti dal sottoscrittore

Tutte e tre hanno anche una barra del titolo La barra può contenere il pulsante Conferma (se abilitato) e l'eliminazione (se abilitata) m Sulla sinistra contiene anche il pulsante del menu che solleva un evento Se attivato da customView il pulsante Menu oltre a sollevare un evento apre un pannello a sinistra Il pannello può contenere quello che vuoi A listView un menu ecc

SD_DragBoardView

Author: Star-Dust
Version: 0.04

  • DragBoardView

    • Events:

      • ClickAddItem (ColumnName As String)
      • ClickLeftMenu
      • ClickMenuResponse (Response As Int)
      • ClickModifyColumn (ColumnPosition As Int)
      • ClickModifyItem (ColumnPosition As Int, ItemPosition As Int)


    • Fields:

      • PanelMenu As Panel
      • SpaceBetweenBoard As Int
      • SpaceBetweenColumn As Int
      • SpaceBetweenTitleColumn As Int


    • Functions:

      • AddColumnEmpty (ColumnName As String) As Boolean
        Add a column empy
      • AddColumnList (ColumnName As String, ColumnList As List) As Boolean
        Add a entire list - don't isert a duplicate Name
        ColumnName= Colum Title
        ColumnList = List of String

      • AddItem (ColumnName As String, Item As String, RefreshView As Boolean) As String
        Add a sigle element on column, if column don't exist create it
      • Class_Globals  As String
      • Clear  As String
      • DesignerCreateView (Base As Panel, Lbl As Label, Props As Map) As String
      • GetBase  As Panel
      • GetColumItemList (ColumnName As String) As List
        Retun List of Column Title
      • GetColumName  As List
        Retun List of Column Title
      • Height  As Int
      • Initialize (vCallback As Object, vEventName As String) As String
      • Invalidate  As String
      • IsInitialized  As Boolean
        Tests whether the object has been initialized.
      • RemoveColumn (ColumnName As String) As Boolean
        Remove entire column
      • RemoveColumnFromPosition (ColumnPosition As Int) As String
        ColumnNumber = 0... n
      • RemoveItem (ColumnName As String, Item As String) As Boolean
        Delete a sigle item on coumn
      • RemoveItemFromPosition (ColumnPosition As Int, ItemPosition As Int) As Boolean
        Delete a sigle item on coumn from position
      • SetBoardToHome  As String
      • SetDimension (WidthItem As Int, HeightItem As Int) As String
        Width >=50dip
        Height >=20dip

      • SortColumn (ColumnName As String, Ascending As Boolean) As String
      • SortColumnFromPosition (ColumnPosition As String, Ascending As Boolean) As String
        ColumnPositione = 0 .. n
      • Width  As Int




  • DragListType

    • Fields:

      • ID As String
      • IsInitialized As Boolean
        Tests whether the object has been initialized.
      • Panel As Panel
      • Sw As SwitchView
      • Text1 As String
      • Text2 As String


    • Functions:

      • Initialize  
        Initializes the fields to their default value.




  • DragListView

    • Events:

      • ClickAddItem
      • ClickLeftTitleButton
      • ClickMenuResponse (Response As Int)
      • ClickModify (ID As String)
      • ItemClick (Check As Boolean, ID As String)
      • RequireSortColumn


    • Fields:

      • AddAble As Boolean
      • Modifable As Boolean
      • MultiSelect As Boolean
      • OpenMenu As Boolean
      • PanelLeft As Panel
      • SortAble As Boolean


    • Functions:

      • AddLine (Text1 As String, Text2 As String, ID As String, RefreshView As Boolean) As String
      • Class_Globals  As String
      • Clear  As String
      • CloseLeftPanel  As String
      • DesignerCreateView (Base As Panel, Lbl As Label, Props As Map) As String
      • GetBase  As Panel
      • GetID (Position As Int) As String
      • GetisChecked (ID As String) As Boolean
        Retun List of Column Title
      • GetItemPanel (ID As String) As Panel
      • GetText1 (ID As String) As String
      • GetText2 (ID As String) As String
      • Height  As Int
      • Initialize (vCallback As Object, vEventName As String) As String
      • Invalidate  As String
      • IsInitialized  As Boolean
        Tests whether the object has been initialized.
      • OpenLeftPanel  As String
      • RemoveItemFromID (ID As String) As Boolean
        Delete a sigle item on coumn
      • RemoveItemFromPosition (ItemPosition As Int) As Boolean
        Delete a single item on coumn from position
      • SetBoardToHome  As String
      • SetColorPanel (Color As Int) As String
      • SetDimension (HeightItem As Int) As String
        Height >=25dip
      • Size  As Int
      • Width  As Int




  • DragPanelView

    • Events:

      • ClickAddItem (ColumnName As String)
      • ClickLeftMenu
      • ClickMenuResponse (Response As Int)
      • ClickModifyColumn (ColumnPosition As Int)
      • ClickModifyItem (ColumnPosition As Int, ItemPosition As Int)
      • RequireSortColumn (ColumnPosition As Int)


    • Fields:

      • PanelCorner As Int
      • PanelMenu As Panel
      • SpaceBetweenBoard As Int
      • SpaceBetweenColumn As Int
      • SpaceBetweenTitleColumn As Int


    • Functions:

      • AddColumnEmpty (ColumnName As String) As Boolean
        Add a column empy
      • AddItem (ColumnName As String, ID As String, RefreshView As Boolean) As Panel
        Add a sigle element on column, if column don't exist create it
      • Class_Globals  As String
      • Clear  As String
      • CloseLeftMenu  As String
      • DesignerCreateView (Base As Panel, Lbl As Label, Props As Map) As String
      • GetBase  As Panel
      • GetColumName  As List
        Retun List of Column Title
      • GetIDPanelList (ColumnName As String) As List
      • GetPanel (ColumnName As String, ID As String) As Panel
        Retun List of Column Title
      • Height  As Int
      • Initialize (vCallback As Object, vEventName As String) As String
      • Invalidate  As String
      • IsInitialized  As Boolean
        Tests whether the object has been initialized.
      • OpenLeftMenu  As String
      • RemoveColumn (ColumnName As String) As Boolean
        Remove entire column
      • RemoveColumnFromPosition (ColumnPosition As Int) As String
        ColumnNumber = 0... n
      • RemoveItemFromID (ColumnName As String, ID As String) As Boolean
        Delete a sigle item on coumn
      • RemoveItemFromPosition (ColumnPosition As Int, ItemPosition As Int) As Boolean
        Delete a sigle item on coumn from position
      • SetBoardToHome  As String
      • SetColorPanel (Color As Int) As String
      • SetDimension (WidthItem As Int, HeightItem As Int) As String
        Width >=25dip
        Height >=25dip

      • Width  As Int




  • DragType

    • Fields:

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


    • Functions:

      • Initialize  
        Initializes the fields to their default value.




  • SwitchView

    • Events:

      • Click


    • Fields:

      • CircleColor As Int
      • ColorBackground As Int
      • DisableCircleColor As Int
      • DisableColorBackground As Int
      • iosType As Boolean
      • isChecked As Boolean
      • Tag As Object


    • Functions:

      • AddToPanel (View As Panel, Left As Int, top As Int, width As Int, height As Int) As String
      • Class_Globals  As String
      • DesignerCreateView (Base As Panel, Lbl As Label, Props As Map) As String
        Don't call on code
      • GetBase  As Panel
      • Initialize (vCallback As Object, vEventName As String) As String
      • IsInitialized  As Boolean
        Tests whether the object has been initialized.
      • SetChecked (Value As Boolean) As String





File allegati
SD: DragBoard AttachmentSD_DragBoardView.zip
Libreria
Non hai il permesso di scaricare i file.
(39 KB) Scaricato 5 volte
SD: DragBoard AttachmentExample1.zip
Non hai il permesso di scaricare i file.
(6 KB) Scaricato 5 volte
SD: DragBoard AttachmentExample2.zip
Non hai il permesso di scaricare i file.
(11 KB) Scaricato 5 volte
SD: DragBoard AttachmentExample3.zip
Non hai il permesso di scaricare i file.
(31 KB) Scaricato 5 volte
SD: DragBoard AttachmentExample4.zip
Non hai il permesso di scaricare i file.
(10 KB) Scaricato 5 volte

https://basic4x.forumattivo.com

Torna in alto  Messaggio [Pagina 1 di 1]

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