|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Making a control pass events to underlying formI have a form with a number of controls which lie on top of each other. I
had a feeling there was a control property which would allow its events to be passed through to the parent (so that I don't have to duplicate events). Am I right? -Jerry "Jerry Spence1" <jerry.spe***@somewhere.com> schrieb: If you are referring to keyboard events, set the form's 'KeyPreview' >I have a form with a number of controls which lie on top of each other. I >had a feeling there was a control property which would allow its events to >be passed through to the parent (so that I don't have to duplicate events). property to 'True'. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
Show quote
Hide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message Thanks Herfried. I was actually hoping I could do the same with mouse news:OG$rw%23aoGHA.4768@TK2MSFTNGP03.phx.gbl... > "Jerry Spence1" <jerry.spe***@somewhere.com> schrieb: >>I have a form with a number of controls which lie on top of each other. I >>had a feeling there was a control property which would allow its events to >>be passed through to the parent (so that I don't have to duplicate >>events). > > > If you are referring to keyboard events, set the form's 'KeyPreview' > property to 'True'. > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://classicvb.org/petition/> clicks. I have a picturebox inside a form, which I can move around. When I click on the picture, I want to get the e.X and e.Y for the form, not the picturebox. Any ideas? -Jerry
Alternative to using Bitmap
Really stupid looping problem Regex Output to Textbox Startup speed Urgent! Get rowindex - datagrid navigation Need to capture all keystrokes to my application Images in a Windows DataGrid Custom coordinates How to drag a form around the screen? Including a document into a project using code... |
|||||||||||||||||||||||