| 
        
          | 
              
                | T O P I C    R E V I E W |  
                | Bernhard | Posted - Nov 07 2022 : 12:41:58 Hi Nigel,
 
 I am working with C++Builder and try the following code:
 
 void __fastcall TForm1::Button3Click(TObject *Sender) {
 int a = View->IEBitmap->Pixels_ie16g[1000, 1000];
 }
 
 I get an Copiler error:
 
 [C++ Error] TestView2_Unit.cpp(64, 50):  wrong number of index arguments to property. Expecting 2, found 1
 
 Same with other Pixels... properties.
 
 I dont understand what this means; there are 2 index arguments.
 
 Bernhard
 |  
                | 1   L A T E S T    R E P L I E S    (Newest First) |  
                | xequte | Posted - Nov 08 2022 : 03:07:44 Hi Bernhard
 
 In C ++ each sub-index has its own square bracket, so the correct declaration would be...
 
 int a = View->IEBitmap->Pixels_ie16g[1000][1000];
 
 
 Nigel
 Xequte Software
 www.imageen.com
 
 |  |  
 |