fix some IDs

Hi list,

I'd like to keep many personalized parms into a DB for (essentially)
ListCtrls; what would be the best way to achieve that?

I'm thinking about IDs, but I need them to always be the same, so
can I start @ 1, or are there up/dwn limits to be safe?
But if there's another way, I'm interested in.

JY

路路路

--
They can always run stderr through uniq. :slight_smile:
聽聽聽聽-- Larry Wall in <199704012331.PAA16535@wall.org>

Hi list,

I'd like to keep many personalized parms into a DB for (essentially)
ListCtrls; what would be the best way to achieve that?

You mean for column width and stuff like that?

I name my ListCtrls and then use that name as the in a column I use to get all the variables I need for a particular listctrl, in my case I do a db row per listctrl column. You can see this in the MediaLocker stuff I did together with Mike, in there it is used for all the ObjectListView LC's.

I'm thinking about IDs, but I need them to always be the same, so
can I start @ 1, or are there up/dwn limits to be safe?
But if there's another way, I'm interested in.

I don't like id's because they are not human readable when you look at the db in this case.

Just my 0.02茂驴陆
Werner

路路路

On 12/26/2011 09:21 PM, Jean-Yves F. Barbier wrote:

> I'd like to keep many personalized parms into a DB for (essentially)
> ListCtrls; what would be the best way to achieve that?

You mean for column width and stuff like that?

Yep, exactly.

I name my ListCtrls and then use that name as the in a column I use to
get all the variables I need for a particular listctrl, in my case I do
a db row per listctrl column. You can see this in the MediaLocker stuff
I did together with Mike, in there it is used for all the ObjectListView
LC's.

Ok, I'm downloading it ASAP.

> I'm thinking about IDs, but I need them to always be the same, so
> can I start @ 1, or are there up/dwn limits to be safe?
> But if there's another way, I'm interested in.
>
I don't like id's because they are not human readable when you look at
the db in this case.

Me neither:)

Thanks Werner.

JY

路路路

On Tue, 27 Dec 2011 12:53:15 +0100 werner <wbruhin@free.fr> wrote:
--
We must believe in free will. We have no choice. -Isaac B. Singer