|
What you need to do, is call your own code, the method that you hook up to be called when the button is clicked. That's what was explained to you. You can't raise the click event, at least, not according to what I find with google.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christ
No thats not my requirement is, my requirement is Letus assume we have a button called "Button1"
This buttons click event can be performed when I call "Button1.PerformClick();". k. I want the same thing to be happened when datagridview's cell is clicked.
Now what I need is I want to do is to either to execute the datagridview's cellclick event to be called explicitly as mentioned above with "Button1"
or
other wise calling the same internal method which is executed when a cell is clicked. Means this will be like event driven and delegate system so if I know the method which is called at the time of cellclick, I can call it by sending the proper parameters to it. Could u please help me Christ please. Thank you.
Regards,
Aleem,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Again, I've done some research for you, and I've seen many people say that you can't do this.
Why do you need to ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christ as I told u earlier I need it for my client pls. help me yaar.
After selecting a particular cell in datagrid(it is done automtically when a button is clicked), but he needs to click the cell or datagridview once again to select the text in the cell.
What he needs is, it it also has to be done automatically when that button click is done in one shot. Can u please help me in this regard. please dont think that am bluffing u please. Thank you.
Regards,
Aleem,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
indian143 wrote: Christ as I told u earlier I need it for my client pls. help me yaar.
OK - my client wants money to come out of the floppy drive on their PC. You help me with that, and I'll help you with your impossible requests.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi all,
I have a Windows application developped using C#.Net with .Net 2005. I have used a datagridview in it. That datagridview is allowing its contents to be changed or its cells are editable. When a button is clicked, a cell in the gridview is selected. This is how happeneing till now.
My clients requirement is, when that button is clicked apart from the cell is being selected, cursor must also be placed on the text of the cell, for user friendlyness. Pls. help me I will be thankfull to you.
The code that I am using to select a cell in the gridview is below :
dgvLasers.EditingPanel.Visible = true;
bEdit = true;
dgvLasers.SelectionMode = DataGridViewSelectionMode.CellSelect;
dgvLasers.Rows[intIndex].Cells[1].Selected = true;
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
You know, because we tell you every time, don't cross post. Pick a forum and stick with it.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Again started the old rivelry, yaar please answer me yaar. If its not urgent y would I ask you for several times. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
If it's urgent why are you asking on a website where people give help for free? If you need it quickly and for a client then go pay for it.
|
|
|
|
|
So what?? You're not paying anyone for any kind of support. Posting your question again and again and again in different forums will NOT get it answered any faster. We do this on a volunteer basis on our own time, not when YOU demand the answer.
The only thing that's that urgent, in a forum environment, is if you have to go apply anti-inflamitory ointment to your hemeroids.
|
|
|
|
|
Dave Kreskowiak wrote: The only thing that's that urgent, in a forum environment, is if you have to go apply anti-inflamitory ointment to your hemeroids.
I may have to quote you on that the next time I see an "urgent" post.
|
|
|
|
|
Dave Kreskowiak wrote: if you have to go apply anti-inflamitory ointment to your hemeroids.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
indian143 wrote: started the old rivelry
You can afford to tell this to the cop on road in US or elsewhere (India exempted, since you can purchase the cops) and go scott-free throwing traffic rules to the air.
|
|
|
|
|
Hey
Do u mean that Indian cops are corrupted, no yaar dont say to all. If I was not become a s/w engnr I would have become a Police Inspector. I wanted to be that really. I want to punish the people who really suffers innocents. Its true.
So dont comment about the cops specially Indian cops they are far better than them u mentioned. Thank you. That too give me answer yaar please dont divert me from my important work pls.(smile)
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
indian143 wrote: yaar
What does that mean anyway?
Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...
"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."
My website
|
|
|
|
|
indian143 wrote: If its not urgent y would I ask you for several times.
Your inability to do the jobs you accept is not our problem. Everyone who asks a question, wants an answer ASAP. That's why 'urgent' is rude, because it implies that your request for free help is more important than all the other requests, from people who want a (free) answer just as much as you do.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: That's why 'urgent' is rude, because it implies that your request for free help is more important than all the other requests, from people who want a (free) answer just as much as you do.
Dude, you just so nailed it.
|
|
|
|
|
indian143 wrote: If its not urgent y would I ask you for several times
If it is urgent then PAY FOR SUPPORT! This is a voluntary forum. People help because they can and they enjoy it. I don't enjoy being told by some frickin' upstart that their problem is urgent and that's the reason they are being rude by cross posting their post.
Cross posting is rude and inconsiderate regardless of the reason. Many of us monitor many forums because we have expertise that crosses the boundary.
Bottom line: DON'T CROSS POST!
Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...
"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."
My website
|
|
|
|
|
Ok. I will stick with it, but in this mean time it will go too much behind and people will ignore it. Thats what I am worried for. So please help me atleast by giving some referrence sites. I would be thankfull to you.
Regards,
Aleem
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
So it moves down the list. Fair enough - that's the way the forums work and everybody lives with this. This approach of repeat and cross posting is highly counterproductive because we are going to spend more time telling you the rules. Please read this[^] article.
BTW - there are no old rivalries here. I'm merely asking you to respect the rules that the majority of other people live by on the forums. You've got enough exposure here to be aware of the rules. Respect them - they are there for a reason.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Pete O'Hanlon wrote: This approach of repeat and cross posting is highly counterproductive because we are going to spend more time telling you the rules.
It starts to really get old fast and pisses people off..
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
Its ok sooooooooooooooorrrrrrrrrrrrrrrrrrrrrrrrrrry. k. satisfied. I am sorry yaar.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
indian143 wrote: sooooooooooooooorrrrrrrrrrrrrrrrrrrrrrrrrrry
Said like a child who doesn't really mean it.
Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...
"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."
My website
|
|
|
|
|
indian143 wrote: go too much behind and people will ignore it
Not necessarily true, because there is View unanswered questions in the Windows Forms forum link at the top of the page.
indian143 wrote: what I am worried for.
You should be more concerned about getting the job done for the client instead of cross posting all over and irritating people.
"It's only that urgent if you have to pee.." - Dave Kreskowiak
|
|
|
|
|
Ok, sir I will take care of it. Thank you please.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|