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
Next revision Both sides next revision
sample_code:database_navigate [2015/04/20 22:31]
82.125.130.65 enhanced titles and list reviews
sample_code:database_navigate [2015/04/23 12:18]
194.98.70.135
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 I leave text, the code for icons is kepts inside ... see the 3 tCol
 +
 +And if you do not have a database, use the Sample, and verify the database : MyData. 
  
 enjoy. Sorry few French comments. enjoy. Sorry few French comments.
Line 80: Line 82:
          
   // 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 219: Line 221:
    //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 276: Line 278:
 { {
  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.txt ยท Last modified: 2015/04/23 20:59 (external edit)