|
-
October 15th, 2012, 10:13 AM
#4
Re: array of buttons... click event ?
I think you're right for Managed C++,
however this forum is mostly empty, I think I would not get an answer there.
And so...
Okay!!!
I need to associate the click on those buttons arrays to the correct interpretation in the GO_BUT::Click event.
So how I do that?
Is it like this or something like that?
Code:
private: System::Void GOBUT_Click(System::Object^ sender, System::EventArgs^ e) {
int ID;
Button^ IDBut;
IDBut = sender;
EDIT : Returns conversion error. Object^ to Button^
How can I associate the right index of my button array to it?
Last edited by FenixEden; October 15th, 2012 at 10:17 AM.
Reason: code doesn't work
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|