Re: [dabo-users] Grid prefs?

2013-09-12 Thread Ricardo Aráoz
El 12/09/13 01:46, Paul McNett escribió: On 9/11/13 8:40 PM, Ricardo Aráoz wrote: I've tried this (see below), and yet the grid won't remember the column widths. The window and other stuff are remembered. I've also tried the code with the import dabo.dPref as dPref and app.PreferenceManager

Re: [dabo-users] Grid prefs?

2013-09-12 Thread Ricardo Aráoz
El 12/09/13 08:02, Ricardo Aráoz escribió: El 12/09/13 01:46, Paul McNett escribió: On 9/11/13 8:40 PM, Ricardo Aráoz wrote: I've tried this (see below), and yet the grid won't remember the column widths. The window and other stuff are remembered. I've also tried the code with the import

Re: [dabo-users] Grid prefs?

2013-09-12 Thread John Fabiani
On 09/12/2013 04:50 AM, Ricardo Aráoz wrote: El 12/09/13 08:02, Ricardo Aráoz escribió: El 12/09/13 01:46, Paul McNett escribió: On 9/11/13 8:40 PM, Ricardo Aráoz wrote: I've tried this (see below), and yet the grid won't remember the column widths. The window and other stuff are remembered.

Re: [dabo-users] Grid prefs?

2013-09-12 Thread Ricardo Aráoz
El 12/09/13 11:35, John Fabiani escribió: On 09/12/2013 04:50 AM, Ricardo Aráoz wrote: El 12/09/13 08:02, Ricardo Aráoz escribió: El 12/09/13 01:46, Paul McNett escribió: On 9/11/13 8:40 PM, Ricardo Aráoz wrote: I've tried this (see below), and yet the grid won't remember the column widths.

Re: [dabo-users] Grid prefs?

2013-09-12 Thread Ricardo Aráoz
For completeness sake I would like to add that the code I used to open local pref database works and does not appear to interfere with the persistance of preferences. ___ Post Messages to: Dabo-users@leafe.com Subscription Maintenance:

Re: [dabo-users] Grid prefs?

2013-09-12 Thread John Fabiani
On 09/12/2013 08:41 AM, Ricardo Aráoz wrote: P.S.: John, AFAIK BasePrefKey is what sets a different pref name space for my app. What does setAppInfo do? And why do you setAppInfo twice (or was that just a typo)? It was a cut and paste. And notice one is appShortName and the other is

[dabo-users] Bizobjs and lookup tables

2013-09-12 Thread Ricardo Aráoz
You may see below a Bizobj I've just coded. It works ok, but I would like a heads up upon how it is coded, or any suggestion that might prevent future glitches. This is Movimiento table with various lookup tables. Among them Tarjeta and Grupo which is referenced in Tarjeta (is it ok how I

Re: [dabo-users] Grid prefs?

2013-09-12 Thread Paul McNett
On 9/12/13 8:41 AM, Ricardo Aráoz wrote: So I've tried a couple things. Thanks for persisting! i) setting ColumnCount and then setting the properties of the different Columns[] will NOT persist column widths. Hm, that's a bug. I probably never noticed because I don't instantiate my

Re: [dabo-users] Bizobjs and lookup tables

2013-09-12 Thread John Fabiani
On 09/12/2013 12:29 PM, Ricardo Aráoz wrote: I use a DataStructure, the field Tarjeta.Foto is a BLOB field containing a jpg picture. What data type should I put for this field in the DataStructure? FullName is a virtual field which is derived from two fields in Tarjeta. i) Is it ok to