Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

array property

delphi array

  • Please log in to reply
4 replies to this topic

#1 jaiii

jaiii

    CC Regular

  • Just Joined
  • PipPipPip
  • 45 posts

Posted 31 July 2010 - 03:07 PM

Hi,

Can anybody help me with arrayproperty I need enything that help me how can I work with this (propertyeditor ,work with int Index and so ...):

class PACKAGE MyComponent public : TComponent
{
...
__published:
__property int Array[int Index]={read=SetArray,write=GetArray};
...
}
in Borland C++ or Delphi.

Thank veri much.
  • 0

#2 dargueta

dargueta

    I chown trolls.

  • Moderator
  • 4854 posts
  • Programming Language:C, Java, C++, PHP, Python, JavaScript, Perl, Assembly, Bash, Others
  • Learning:Objective-C

Posted 31 July 2010 - 04:30 PM

You really need to be more specific as to what you want. And please stop posting the same question over and over again on different forums.

Edited by dargueta, 31 July 2010 - 04:30 PM.
Grammar

  • 0

sudo rm -rf / && echo $'Sanitize your inputs!'


#3 jaiii

jaiii

    CC Regular

  • Just Joined
  • PipPipPip
  • 45 posts

Posted 01 August 2010 - 01:04 AM

Hi,

I am very sorry for this .But I realy need help with propertyarray for my new component.

Property array is special kind of __property . This kind of property behave as array .For example it is
TFieldDefs or TIndexDefs in TDataSet.But I can't search any help in google or programers forum and in help of BCB6 is very small example thats not enough.
If nobody can me help I try solve this problem with normal property.

By.
  • 0

#4 dargueta

dargueta

    I chown trolls.

  • Moderator
  • 4854 posts
  • Programming Language:C, Java, C++, PHP, Python, JavaScript, Perl, Assembly, Bash, Others
  • Learning:Objective-C

Posted 01 August 2010 - 08:31 AM

Do any of these help?

13.2 Indexed Properties (C++)
C++ Keyword Extensions - RAD Studio
Visual C++ Keywords: __property
  • 0

sudo rm -rf / && echo $'Sanitize your inputs!'


#5 jaiii

jaiii

    CC Regular

  • Just Joined
  • PipPipPip
  • 45 posts

Posted 01 August 2010 - 12:25 PM

Hi,

Thank very much I read it and try.

By.
  • 0





Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download