User Tools

Site Tools


sample_code:database_navigate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
sample_code:database_navigate [2015/04/20 22:48]
82.125.130.65
sample_code:database_navigate [2015/04/23 20:59] (current)
Line 8: Line 8:
  
  
-On My local Version, I have also 3 icons in subdirectory Img<br> +On My local Version, I have also 3 icons in subdirectory Img/ 
-I leave text, the code for icons is kepts inside ... see the 3 tCol+ 
 +The code is now both for icons or text... see the 3 tCol
  
 And if you do not have a database, use the Sample, and verify the database : MyData.  And if you do not have a database, use the Sample, and verify the database : MyData. 
Line 82: Line 83:
          
   // titles 3 columns,  text or image if found   // titles 3 columns,  text or image if found
-  var colorTitle="#0033dd";+  colorTitle="#0033dd";
   if (app.FileExists( "Img/database.png")){   if (app.FileExists( "Img/database.png")){
     tColGauche= app.CreateImage("Img/database.png",0.07);      tColGauche= app.CreateImage("Img/database.png",0.07); 
Line 221: Line 222:
    //layDlg.SetPadding( 0.02, 0, 0.02, 0.02 );    //layDlg.SetPadding( 0.02, 0, 0.02, 0.02 );
    dlgTxt.AddLayout( layDlg );    dlgTxt.AddLayout( layDlg );
- descItem=app.CreateText("confirm delete database "+item, 1, 0.06);+ descItem=app.CreateText( item, 1, 0.06);
    layDlg.AddChild(descItem);    layDlg.AddChild(descItem);
    descItem.SetTextSize( txtSize );    descItem.SetTextSize( txtSize );
Line 278: Line 279:
 { {
  var objet = results.rows.item(0)  ;  var objet = results.rows.item(0)  ;
- emptyList( lstRight );+ //emptyList( lstRight );
  var arraytext= parseSqliteMasterSql( objet['sql']);  var arraytext= parseSqliteMasterSql( objet['sql']);
  for(var column in arraytext )   for(var column in arraytext ) 
sample_code/database_navigate.1429570086.txt.gz · Last modified: 2015/04/21 06:48 (external edit)