Click here to Skip to main content
16,004,969 members
Home / Discussions / C#
   

C#

 
GeneralRe: Finite automations Pin
Mike15619-Feb-05 9:04
sussMike15619-Feb-05 9:04 
GeneralLogin user dialogue Pin
Stephen McAllister18-Feb-05 17:58
Stephen McAllister18-Feb-05 17:58 
GeneralRe: Login user dialogue Pin
Yulianto.18-Feb-05 18:09
Yulianto.18-Feb-05 18:09 
QuestionCF_XMLCODE - What is it ? Pin
Tee+18-Feb-05 17:18
Tee+18-Feb-05 17:18 
QuestionHow to implement a Click event in an owner drawn object. Pin
gr8tushar18-Feb-05 15:41
gr8tushar18-Feb-05 15:41 
AnswerRe: How to implement a Click event in an owner drawn object. Pin
Bob Bonser19-Feb-05 3:41
Bob Bonser19-Feb-05 3:41 
GeneralRe: How to implement a Click event in an owner drawn object. Pin
gr8tushar19-Feb-05 5:01
gr8tushar19-Feb-05 5:01 
GeneralRe: How to implement a Click event in an owner drawn object. Pin
Luis Alonso Ramos19-Feb-05 11:42
Luis Alonso Ramos19-Feb-05 11:42 
piscian1982 wrote:
The click event only works on the form. its not working on the Myobjects

Because your object is not a control that can trap user events. It draws itself on the form, but you would need the form to trap the click event and forward to your object.

Or your object could install an event handler for the Click event of the form, and check in the delegate if the location of the click is inside your object, and if so, react accordingly. If the point is outside your object, just let the form process its event.

-- LuisR



Luis Alonso Ramos
Intelectix - Chihuahua, Mexico

Not much here: My CP Blog!

Question.NET has a BUG??? Pin
Radgar18-Feb-05 14:28
Radgar18-Feb-05 14:28 
AnswerRe: .NET has a BUG??? Pin
S. Senthil Kumar18-Feb-05 14:45
S. Senthil Kumar18-Feb-05 14:45 
GeneralRe: .NET has a BUG??? Pin
Radgar18-Feb-05 14:51
Radgar18-Feb-05 14:51 
Generalcustom authentication Pin
balkang18-Feb-05 11:42
balkang18-Feb-05 11:42 
GeneralRe: custom authentication Pin
leppie18-Feb-05 19:50
leppie18-Feb-05 19:50 
GeneralAutofill Html Page text fields in C# Pin
wade1818-Feb-05 11:25
wade1818-Feb-05 11:25 
GeneralC# Dynamic Control Removal Trouble Pin
centiipede18-Feb-05 11:08
centiipede18-Feb-05 11:08 
GeneralRe: C# Dynamic Control Removal Trouble Pin
Rob Graham18-Feb-05 11:28
Rob Graham18-Feb-05 11:28 
GeneralRe: C# Dynamic Control Removal Trouble Pin
centiipede18-Feb-05 11:34
centiipede18-Feb-05 11:34 
GeneralRe: C# Dynamic Control Removal Trouble Pin
Rob Graham18-Feb-05 12:01
Rob Graham18-Feb-05 12:01 
GeneralRe: C# Dynamic Control Removal Trouble Pin
centiipede18-Feb-05 12:28
centiipede18-Feb-05 12:28 
GeneralRe: C# Dynamic Control Removal Trouble Pin
Rob Graham18-Feb-05 13:11
Rob Graham18-Feb-05 13:11 
GeneralRe: C# Dynamic Control Removal Trouble Pin
centiipede18-Feb-05 13:25
centiipede18-Feb-05 13:25 
GeneralRe: C# Dynamic Control Removal Trouble Pin
Rob Graham18-Feb-05 17:09
Rob Graham18-Feb-05 17:09 
GeneralRe: C# Dynamic Control Removal Trouble Pin
centiipede18-Feb-05 18:30
centiipede18-Feb-05 18:30 
GeneralRe: C# Dynamic Control Removal Trouble Pin
centiipede19-Feb-05 5:24
centiipede19-Feb-05 5:24 
GeneralColor Pallette Pin
Bob Bonser18-Feb-05 10:47
Bob Bonser18-Feb-05 10:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.