All pastes #844889 Raw Edit

Need help

public cpp v1 · immutable
#844889 ·published 2008-01-07 06:24 UTC
rendered paste body
for(int i=0;i<Mines_X;i++)		{				for(j=0;j<Mines_Y;j++)						{						pnl=new TPanel(this);						pnlList->Add(pnl);						pnl->Width=20;						pnl->Height=20;						pnl->Top=60+20*i;						pnl->Left=20+20*j;						pnl->Parent=this;						pnl->Name+=i;						pnl->Name+=j;						pnl->OnClick(this)=Button1Click(this);						}		}void __fastcall TForm1::Button1Click(TObject *Sender){//How can i refer to each panel specificaly??? For example, how can i refer to the panel at the 2nd row and 2nd column, so thay// i will be able to say pnl22->BevelOuter=bvLowered;}