Re: Panel & click event

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Emss,

If you were just doing text you could use a panel. You could put the
labels on the panel and handle the click event of the panel. Clicking
on the labels will raise the click event of the panel. If you use a
picture box for the graphics you can handle the click event for it.

Does this help?

If not give me some an example of what your user would do. As in the
user will click on the latitude label and this will popup a message
box.....

Emss wrote:
Chris Oswald a écrit :

Hi,

Perhaps you could provide some more details about what you are trying
to do.

I'm trying to create rectangular areas that contain labels, graphics and
so on (GPS data), on the pda screen.

I'd like that these areas react to a click/tap by issuing a click event
that could be handled the standard way in C# (Eventhandler).

The nearest thing I can think of is a button whose content would look
like a full featured panel (container of labels, graphics, with custom
layout) and not only a text.

As I'm not a skilled C# CF programmer, I'd like to keep the whole thing
simple stupid ;)

Regards

.



Relevant Pages

  • Re: Panel & click event
    ... I'm trying to create rectangular areas that contain labels, graphics and so on (GPS data), on the pda screen. ... The nearest thing I can think of is a button whose content would look like a full featured panel (container of labels, graphics, with custom layout) and not only a text. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Dynamic Controls - Still!
    ... I've got another page where the same code works just fine, but the labels ... A panel derives from Control just like the Page ... > Dim ddl As DropDownList = New DropDownList ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)
  • Re: The Electricians Credo, part XXXIV
    ... owns the house know which breaker goes where. ... The NEC requires the panel to be labeled, ... Typically you'll get general labels like first floor lighting, ... The electrician that wired my house made a computer printed label that ...
    (alt.home.repair)
  • Re: performance
    ... >I'm going to create a web form to show some textboxes to users, ... I'm thinking not using 2 pages but use panel ... >server control to group my textboxes and labels, before postback, i ... My questions is hiding a lot of server controls will be ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: VB .NET dynamic number of controls...
    ... > I've been trying todo this by creating arrays of progressbars and labels. ... > progress on, I create a bar and label and add them to a panel. ... no labels, no progress bars. ...
    (microsoft.public.dotnet.general)