B4i Library SD: DragBoard

You can download the demo version from this post

iSD_DragBoard


Author: Star-Dust
Version: 0.01
  • DragBoardView
    • Events:
      • BoardMoved
      • ClickAddElement (ColumnName As String)
      • ClickModifyColumn (ColumnPosition As Int)
      • ClickModifyElement (ColumnPosition As Int, ItemPosition As Int)
      • ItemClickRightMenu (Position As Int, Value As Object)
    • Fields:
      • BoardBackGroundColor As Int
      • LabelSingleLine As BOOL
      • MovibleGround As NSString*
      • NoMovibleGround As NSString*
      • SpaceBetweenBoard As Int
      • SpaceBetweenColumn As Int
      • SpaceBetweenTitleColumn As Int
    • Functions:
      • AddColumnEmpty (ColumnName As NSString*, Movible As BOOL) As BOOL
        Add a column empy
      • AddColumnList (ColumnName As NSString*, ColumnList As B4IList*, TextColor As Int, Movible As BOOL) As BOOL
        Add a entire list - don't isert a duplicate Name
        ColumnName= Colum Title
        ColumnList = List of String
      • AddElement (ColumnName As NSString*, Item As NSString*, ID As NSString*, TextColor As Int, RefreshView As BOOL) As NSString*
        Add a sigle element on column, if column don't exist create it
      • AddElementTo (ColumnPos As Int, Item As NSString*, ID As NSString*, TextColor As Int, RefreshView As BOOL) As NSString*
        Add a sigle element on column, Column select with position
      • AddItemRightMenu (Text As NSString*, Info As NSString*, Bitmap As B4IBitmap*, ReturnValue As NSObject*) As NSString*
      • Class_Globals As NSString*
      • Clear As NSString*
      • ClearRightMenu As NSString*
      • DesignerCreateView (Base As B4IPanelWrapper*, Lbl As B4ILabelWrapper*, Props As B4IMap*) As NSString*
      • GetBase As B4IPanelWrapper*
      • getID (ColumnPos As Int, ItemPos As Int) As NSString*
        Retun ID List from Column position and Row (Item) position
      • getItem (ColumnPos As Int, ItemPos As Int) As NSString*
        Retun Item List from Column position and Row (Item) position
      • Height As Int
      • Initialize (ba As B4I*, vCallback As NSObject*, vEventName As NSString*) As NSString*
      • Invalidate As NSString*
      • IsInitialized As BOOL
        Verifica se l'oggetto sia stato inizializzato.
      • RemoveColumn (ColumnName As NSString*) As BOOL
        Remove entire column
      • RemoveColumnFromPosition (ColumnPosition As Int) As NSString*
        ColumnNumber = 0... n
      • RemoveElement (ColumnName As NSString*, Item As NSString*) As BOOL
        Delete a sigle item on coumn
      • RemoveElementFromPosition (ColumnPosition As Int, ItemPosition As Int) As BOOL
        Delete a sigle item on coumn from position
      • RenameColumn (OldColumnName As NSString*, NewColumnName As NSString*) As NSString*
      • SetBoardToHome As NSString*
      • SetDimension (WidthItem As Int, HeightItem As Int) As NSString*
        Width >=50dip
        Height >=20dip
      • setItem (ColumnPos As Int, ItemPos As Int, Value As NSString*) As NSString*
      • SetMovibleColumn (ColumnName As NSString*, Movible As BOOL) As NSString*
      • SortColumn (ColumnName As NSString*, Ascending As BOOL) As NSString*
        Sort Column from ColumnName
      • SortColumnFromPosition (ColumnPosition As NSString*, Ascending As BOOL) As NSString*
        Sort Column From Position = 0 .. NumColumn-1
      • Width As Int
    • Properties:
      • ColumNameList As B4IList* [read only]
        Retun List of Column Title
      • TitleBackgroundColor
        Set Title BackGround Color
      • TitleTextColor
        Set Title Text Color

ezgif.com-optimize.gif
 

Attachments

  • iSD_DragBoard 0.01.zip
    314.1 KB · Views: 19
Last edited:
Top