![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Basic4ppc Wishlist Missing any feature? |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
simple example: After a user has selected a position in a TextBox the application might require to get a MouseUp event. Unfortunately, as soon as you place a TextBox on a Form, any mouse events within the region of the TextBox are masked from the Form, you want get an event. Two solutions: easy(?): Just don't mask Mouse events from the form. (Actually, current behavior could be considered a bug). complicated(!): Add these events to every control. BTW: The simplified programming model of B4PPC suggests the former solution. BTW2: It gets even more complicated with controls which are added by libraries (e.g., TreeView). Jens Last edited by Woinowski : 08-23-2007 at 08:20 AM. |
|
||||
|
In the .NET Compact Framework only the Panel, PictureBox and Form controls receive Mouse events which is one reason why only the Panel and Form controls in B4PPC implement them.
You could try using dzt's dzEventsMagic library :- dzEventsMagic This might let you get the mouse messages for a B4PPC Image control (which is based on a .NET PictureBox) and maybe for other controls as well - but no guarantees as I don't know which window messages are sent to which control. EDIT:- Note that this library needs .NET 2.0 Last edited by agraham : 10-22-2007 at 09:44 AM. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hiding SIP button | Byak@ | Questions & Help Needed | 3 | 09-03-2008 02:10 PM |
| Form Forelayer on top of other controls ? | klaus | Questions & Help Needed | 2 | 08-01-2008 03:32 PM |
| Table - MouseDown event and more | Erel | Code Samples & Tips | 1 | 04-07-2008 06:55 PM |
| Removing controls from a form | colin9876 | Questions & Help Needed | 3 | 11-17-2007 06:48 PM |
| Copy controls in another form in the designer | magi6162 | Questions & Help Needed | 2 | 09-03-2007 04:51 PM |