PDA

Click to See Complete Forum and Search --> : add my properties in existing textbox, how is possible using VB6.0


sasikumar1
Nov 1st, 2006, 07:45 PM
Dear Experts.
Hi I am SASIKUMAR
Im using VB6.0
Now I have prob. for create new textbox (add my comment, dispalycondition properties) how is possible with out creation OCX or any idea about this .

I want

Text1.Comment=" my comment here stored "
Text1.displaycondition=" what ever condition here "

this type of textbox

Best regards

P.SASIKUMAR
Papyrus

AIS4U
Nov 2nd, 2006, 04:54 PM
sasikumar:

my comment here stored
Are you storing your comments in a database or where are they stored?

And I guess the same question for your conditions?

I am not sure that I understand what you are doing, but wouldn't you want to have two textboxes. One that displays "your comments" and one the displays "conditions"?

Or, maybe use a combobox and a textbox.

When someone selects a comment from the combobox the corresponding condition could be automatically displayed in a textbox.

Like I said, I probably am not understanding what you are trying to do.

sasikumar1
Nov 5th, 2006, 06:30 PM
Dear Experts

Do you understand my probl.m
I am creating new tool for as same in textbox, command button, tab control, picture box etc.. but I want small changes in exsiting textbox , command button.... , I will add some properties only , how can I achive using VB6.0

In this case What I do? please explain me

Best regards
P.SASIKUMAR

Rajneesh Noonia
Nov 7th, 2006, 12:56 AM
Inheritance is not supported in vb6 like in Dot net.you need to write wrapper around existing text box properties and method (Use Active X Ctrl Widzard) and then add your extra properties and method..

sasikumar1
Nov 7th, 2006, 02:01 AM
Thank you Rahneesh

I will try to your concept and then get back to thread

Thousands of Thanks]


By
SASIKUMAR