🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.language.objectpascal
1 messages
1 total messages Started by Stacey Tue, 04 Sep 2007 14:50
Need help with class and List property?
#168
Author: Stacey
Date: Tue, 04 Sep 2007 14:50
16 lines
1706 bytes
Hi All,

I'm trying to add a 'list' of options to a class I've created, and
would like some suggestions on the best way to do this.

Say I have a class called TBankOptions. The TBankOptions class is a
general class with several across the board settings, but, within this
class, I need to store more specific options for each company. I'd
like to be able to access them this way:
BankOptions.CompanyOptions('CompanyName').Option1 and
BankOptions.CompanyOptions('CompanyName').Option2, etc.

What is the best way to do this?

Thanks in advance for any help,
Stacey
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads