This is a migrated thread and some comments may be shown as answers.

mouse over text VB.NET

3 Answers 126 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 11 Jan 2013, 05:49 PM
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.

3 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 16 Jan 2013, 09:18 AM
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.
0
Mike
Top achievements
Rank 1
answered on 16 Jan 2013, 02:51 PM
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

0
Plamen
Telerik team
answered on 18 Jan 2013, 04:11 PM
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.
Tags
General Discussions
Asked by
Mike
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Mike
Top achievements
Rank 1
Share this question
or