I am facing a problem in desktop application i think you can solve my problem. I want to show information in plain text like
Age Yes/No
Gender Yes/No
SSN Yes/No
Address Yes/No
You feel temprature Yes/No
You like Movies Yes/No
These informations are past on plain text from a template which already store in database or in any other formate. This template contain many information but user want to keep only few so he click Yes(Color of Yes will be change) on those he want keep and save. When next time user will load the file he will only see the text for which he select Yes .
I have spent much time on net search but i found no such control(Word/RichTextBox/Any Other) which provides Yes/No options and save only data whose option is Yes. Please help me as soon as possible. I shall wait you reply.
Thanks in advance
Regards,
Jamshaid Qamer
Loading
Jamshaid QamerPosted Jul 8, 2008, 3:17 PM
Please Consider the snario and help me....
-------------------------------------------------------
Breakfast
--------------------------------------------------------
Launch
--------------------------------------------------------
Dinner
---------------------------------------------------------
Suppose above data is showing in a grid
Against Breakfast there are multiple lines which are visible false in grid
Milk Yes/No
Tae Yes/No
Bread Yes/No
Egg Yes/No
Butter Yes/No
Similarly Against Lunch there are multiple lines which are visible false in grid
Burger Yes/No
Pizza Yes/No
Biryani Yes/No
salad Yes/No
Cold Drik Yes/No
and similarly for Dinner.....
When user double click on breakfast then its Templete past on Editor area start from cursor position.
let suppose user click on breakfast then following information will be past on Rich Text Box are may be any other editor i don't know because this thing i have seen in an application demo so i am not sured about it i just want to acheive my requirement goal.
Paste information look like
Breakfast
Milk Yes / No
Tae Yes /NoBread Yes/No
Egg Yes /No
Butter Yes/No
After double click when template automatically pasted in editor now user click mouse on Milk Yes option and its colour become green he also choose yes for Egg after selection user click on save button now problem raise there that editor will save only lines for which option yes is hilighted. How can i only save those lines for which option Yes is hilighted and how i can heighlite Yes on mouse down.
When after save user agaun load that file it will display information
Breakfast
Milk
Egg
these are only those values for which option yes was hilighted.Its some kind of selection in an editor but i couldn't find any solution.
I Hope you are clear about it
Regards,
Jamshaid
Mahesh ChandPosted Jul 8, 2008, 8:21 AM