Ed Leafe пишет: > On Nov 16, 2006, at 11:30 PM, Basil Shubin wrote: > >>> You get this "for free" when you use a full-blown Dabo app with a Dabo >>> Application object. The user can drag columns around, resize them, and >>> the changes "stick". >> >> Is it save it states between sessions? If yes - how it done? > > Look at the source, and search for 'setUserSetting'.
Oh! Thanks for this, I will look at it tommorow! >>> There isn't a Visible property for columns (perhaps there should be). >>> You can call grid.removeColumn(columnIndex). >> >> Than how I can return removed column back? How to show it again? > > There wasn't a way to do that until you first posted the question. > That day I added the Visible property to the dColumn class. You can now > set "col.Visible=False", and it will be removed from the grid. As long > as you keep a reference to the column object around, you can later > execute "col.Visible=True", and the column will re-appear just as it was. Is it in SVN? And will it be in the 0.0.7 version after release? PS. I am starting to like the Dado! Thanks for excelent work, you are great! :-) I promise for a next freelance project I'll be use Dado from the very begining! Great work and thanks! -- Basil Shubin Freelance Software Developer _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
