Sviluppatori Basic (e non) per Mobile e Desktop

Forum dedicato agli sviluppatori di B4X, Delphi, Xamarin


Non sei connesso Connettiti o registrati

Controlli SQLite

Andare in basso  Messaggio [Pagina 1 di 1]

1 Controlli SQLite il Ven Ott 27, 2017 10:54 pm

Zenzero

avatar
Moderatore
Moderatore
GiLoSQLiteControls

Author: LordZenzo
Version: 1

  • 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





  • SQLiteBitmap


    • Events:

      • Click
      • LongClick


    • Functions:

      • Class_Globals  As String

      • CreaSeDaCodice  As String

      • GetBase  As Panel

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

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

      • setConnect  As Boolean

      • setDataControl (gg As SQLiteDataControl) As String



    • Properties:

      • Bitmap

      • DataControl





  • SQLiteComboBox


    • Events:

      • Click
      • LongClick


    • Functions:

      • Class_Globals  As String

      • CreaSeDaCodice  As String

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

      • GetBase  As Panel

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

      • IsInitialized  As Boolean
        Tests whether the object has been initialized.
      • setColumnField (cf As String) As String

      • setConnect  As Boolean

      • setDataControl (gg As SQLiteDataControl) As String

      • setEditEditable (edita As Boolean) As String

      • setEditGravity (gr As Int) As String

      • setEditHeight (Hedit As Int) As String

      • setEditTypeface (tf As Typeface) As String



    • Properties:

      • ColumnField

      • DataControl

      • EditEditable

      • EditGravity

      • EditHeight

      • EditTypeface





  • SQLiteDataControl


    • Events:

      • CursorMove
      • Editato


    • Functions:

      • AddNewEmptyRow  As String

      • AddNewFilledRow (field As String(), fil As Object()) As String

      • Class_Globals  As String

      • CreateIndex (name As String, Table As String, field As String()) As String
        field array "colonna1","colonna2","colonna3",....

      • CreateTable (name As String, Field As String()) As String
        field array "nome tipo","nome tipo","nome tipo"
        field (ID INT) e sempre creato automaticamente
        tipo : TEXT INT BLOB LONGTEXT LONGBLOB SMALLINT BIGINT DATE

      • DeleteRow  As String

      • EliminaTable (name As String) As String

      • getAllFieldBitmap (field As String) As List

      • getAllFieldNumeric (field As String) As List

      • getAllFieldText (field As String) As List

      • getBOF  As Boolean

      • getConnect  As Boolean

      • getEOF  As Boolean

      • getFieldBitmap (field As String) As Bitmap

      • getFieldNumeric (field As String) As Double

      • getFieldString (Field As String) As String

      • getFieldTableConnect  As String

      • getPosition  As Int

      • getSize  As Int

      • getTable  As String

      • getTableStructure  As Map

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

      • IsInitialized  As Boolean
        Tests whether the object has been initialized.
      • MoveAt (position As Int) As Boolean

      • MoveFirst  As String

      • MoveLast  As String

      • MoveNext  As Boolean

      • MovePrevius  As Boolean

      • PassSQLNonSelect (pSQL As String) As String

      • PassSQLSelect (pSQL As String) As String
        pSQL inizia con SELECT
        rende disponibili i dati

      • setConnect  As Boolean
        connetti il database e restituisce l'elenco tabelle con i field/colonne

      • setCreateDB (nomeDB As String) As Boolean

      • setDataBaseName (db As String) As Boolean

      • setFieldBitmap (field As String, valore As Bitmap, filtro As String) As String

      • setFieldString (Field As String, Valore As String, Precedente As String) As String

      • setPathDB (p As String) As String
        DirInternal o DirInternalCache

      • setPosition (pos As Int) As String

      • setTable (val As String) As String

      • setTableJoinTable (field As String(), table1 As String, table2 As String, Field1 As String, Field2 As String) As String

      • TableConnect (Field As String, Filter As String) As String
        field , filter



    • Properties:

      • BOF As Boolean [read only]

      • CreateDB

      • DataBaseName

      • EOF As Boolean [read only]

      • FieldTableConnect As String [read only]

      • PathDB
        DirInternal o DirInternalCache

      • Position As Int

      • Size As Int [read only]

      • Table As String

      • TableStructure As Map [read only]





  • SQLiteEditText


    • Events:

      • Click
      • LongClick


    • Functions:

      • Class_Globals  As String

      • CreaSeDaCodice  As String

      • GetBase  As Panel

      • getColumn  As String

      • getEditable  As Boolean

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

      • IsInitialized  As Boolean
        Tests whether the object has been initialized.
      • setColorDrawable (c As ColorDrawable) As String

      • setColumn (col As String) As String

      • setConnect  As Boolean

      • setDataControl (gg As SQLiteDataControl) As String

      • setEditable (E As Boolean) As String

      • setEditGravity (g As Int) As String

      • setEditTextColor (g As Int) As String

      • setEditTextSize (g As Int) As String

      • setEditTypeface (TFace As Typeface) As String
        public Sub getEditTypeface As Typeface
        Return mEdit.Typeface
        End Sub



    • Properties:

      • ColorDrawable

      • Column As String

      • DataControl

      • Editable As Boolean

      • EditGravity

      • EditTextColor

      • EditTextSize

      • EditTypeface
        public Sub getEditTypeface As Typeface
        Return mEdit.Typeface
        End Sub





  • SQLiteGrid


    • Events:

      • ChangePosition (Pos As Int)
      • Click (Fied As Object)


    • Functions:

      • Class_Globals  As String

      • GetBase  As Panel

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

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

      • setColonneWidth (SizCol As Int()) As String

      • setConnect  As Boolean

      • setDataControl (gg As SQLiteDataControl) As String

      • setPulsantiDim (c As String) As String

      • setRowColorDrawable (c As ColorDrawable) As String

      • setRowHeight (rh As Int) As String

      • setRowSelectedColorDrawable (c As ColorDrawable) As String

      • setTextSize (ts As Int) As String

      • setTitoliColorDrawable (c As ColorDrawable) As String



    • Properties:

      • ColonneWidth

      • DataControl

      • PulsantiDim

      • RowColorDrawable

      • RowHeight

      • RowSelectedColorDrawable

      • TextSize

      • TitoliColorDrawable





  • SQLiteTableNavigator


    • Functions:

      • Class_Globals  As String

      • CreaSeDaCodice  As String

      • GetBase  As Panel

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

      • IsInitialized  As Boolean
        Tests whether the object has been initialized.
      • setAddButton (V As Boolean) As String

      • setDataControl (DataControl As SQLiteDataControl) As String

      • setDeleteButton (V As Boolean) As String

      • setFirstButton (V As Boolean) As String

      • setLastButton (V As Boolean) As String



    • Properties:

      • AddButton

      • DataControl

      • DeleteButton

      • FirstButton

      • LastButton





  • SQliteLabel


    • Events:

      • Click
      • LongClick


    • Functions:

      • Class_Globals  As String

      • CreaSeDaCodice  As String

      • GetBase  As Panel

      • getColumn  As String

      • getLabelTypeface  As Typeface

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

      • IsInitialized  As Boolean
        Tests whether the object has been initialized.
      • setColorDrawable (base As ColorDrawable) As String

      • setColumn (col As String) As String

      • setConnect  As Boolean

      • setDataControl (DataControl As SQLiteDataControl) As String

      • setLabelGravity (g As Int) As String

      • setLabelTextColor (g As Int) As String

      • setLabelTextSize (g As Int) As String

      • setLabelTypeface (TFace As Typeface) As String



    • Properties:

      • ColorDrawable

      • Column As String

      • DataControl

      • LabelGravity

      • LabelTextColor

      • LabelTextSize

      • LabelTypeface As Typeface





Visualizza il profilo dell'utente

2 Re: Controlli SQLite il Ven Ott 27, 2017 11:12 pm

Dust

avatar
Admin
Admin
SqLiteBitmap che serve?

Visualizza il profilo dell'utente http://basic4x.forumattivo.com

3 Re: Controlli SQLite il Ven Ott 27, 2017 11:27 pm

Zenzero

avatar
Moderatore
Moderatore
se in un sqlite memorizzi delle bitmap, con questo controllo le visualizzi

Visualizza il profilo dell'utente

4 Bitmap il Ven Mag 04, 2018 6:21 pm

Dust

avatar
Admin
Admin
Io ho studiato un pò per ottenere questo, anche perché con Android 4 c'é un bugs e devi prima salvarla l'immagine e poi leggerla.

Cmq oramai me la sono fatta da solo la classe, non mi ricordavo che l'avevi fatta già tu

Visualizza il profilo dell'utente http://basic4x.forumattivo.com

Contenuto sponsorizzato


Tornare in alto  Messaggio [Pagina 1 di 1]

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