mouse over text VB.NET

4 posts, 0 answers
  1. Mike
    Mike avatar
    2 posts
    Member since:
    Dec 2011

    Posted 11 Jan 2013 Link to this post

    1. what am I trying to achieve:

    in windows based application written in VB.NET using VS 2010 based on the results of questionnaire I am creating summary statement that consists of logical parts that I call declarations. when mouse go over the "declaration" I need it to change color and if user right clicks on the "declaration" I would like to open menu of substitute choices, option to create new declaration on the fly and delete existing one from the text. will appreciate advise on whether I can use any custom text control to achieve my goals. Thank you.
  2. Plamen
    Admin
    Plamen avatar
    132 posts

    Posted 16 Jan 2013 Link to this post

    Hi Mike,

    Thank you for writing.

    I am not quite sure that I understand your case from the description provided. Can you please provide me with more information about the scenario, some sketches of the desired UI, and anything else you find relevant.

    Here are some additional questions:
    - What the results from the questioner looks like? Are they simple text?
    - What do you mean with logical parts (declarations)?
    - How it should look like?
    - What you you mean with a menu with substitute choices? Does this mean something like radio buttons, where selecting one deselect the others? Or is it just a menu item?
    - If the declaration is a text, maybe you want to just change it?

    Thank you in advance for your cooperation. I am looking forward to your reply.

    Greetings,
    Plamen
    the Telerik team
    Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Mike
    Mike avatar
    2 posts
    Member since:
    Dec 2011

    Posted 16 Jan 2013 Link to this post

    Plamen,

    i appreciate your help.

    here is the example of what i am trying to do.

    let say we are talking about cars.
    in diagnostic center they inspect somebodies car and choosing options for different aspects of enspection.

    car - condition
    condition - body, engine, transmition, brakes, tires
    body -  assemblies ( damage, paint, rust )

    damage - declarations(no damage, small dents less then 1cm, dents, large dents, smashed parts)
    paint - declarations(new paint, old paint , old paint with areas damaged or missing, no paint)
    rust - declarations(no rust, some rust areas on edges, small rust areas less then 2cm, rust areas, large rust areas more then 4cm)

    now. after answering questions
    inspection report for car's body might look like this:

    BODY - small dents less then 1cm, old paint with areas damaged or missing, some rust areas on edges

    this report displayed in some sort of vb control, txt, rtf or webbrowser control...

    now i want to have an ability when mouse go over that text in the control, if it is over "small dents less then 1cm" right click will display menu with all choices for the assembly PART so i can change it on the fly right in the report before printing

    Thank you

    Mike

  5. Plamen
    Admin
    Plamen avatar
    132 posts

    Posted 18 Jan 2013 Link to this post

    Hi Mike,

    Thank you for the detailed information.

    Basically, you have some strings as a result of the questionnaire and you want to store them in a control, modify them with options in the context menu and print them when needed. If so, you can use our RadGridView control. In it, you can edit the cell values, or display a context menu for each cell according to its content. Furthermore, the control offers built in printing support http://www.telerik.com/help/winforms/gridview-printing-support.html.

    Other suitable controls might be RadListControl, RadListView, RadTreeView, however, these does not offer printing support.

    Please review these controls and let me know if you have any questions.

    Kind regards,
    Plamen
    the Telerik team
    Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
Back to Top