Windows Develop Bookmark and Share   
 index > Windows Forms General > What can i use here
 

What can i use here

Hi

I have try with tolltip , but this is not want to do.

What i want is a box (not messagebox) like a tolltip
comes forward when some one click on the textfield
and close again when someone click on the textfield

Regards

alvin

Alvin Kuiper  Sunday, November 05, 2006 3:04 PM

interesting. I guess next to this control you can place a label then check to see if its visible and if not make it visible else hide it.

I guess another method is to make a custom control similar to a tooltip or has the same characteristics as a tool tip then show this in the position of the textbox when you click the textbox or something. It's an interesting one....

I've kind of managed to do it with the tooltip. I simply set it as a global variable then on the click event of the textfield, check to see if its active, if it is then made it unactive and make sure it is not set to ShowAlways otherwise I set the tool tip and make it active and set it to ShowAlways. Seems to work

ahmedilyas  Sunday, November 05, 2006 3:46 PM

interesting. I guess next to this control you can place a label then check to see if its visible and if not make it visible else hide it.

I guess another method is to make a custom control similar to a tooltip or has the same characteristics as a tool tip then show this in the position of the textbox when you click the textbox or something. It's an interesting one....

I've kind of managed to do it with the tooltip. I simply set it as a global variable then on the click event of the textfield, check to see if its active, if it is then made it unactive and make sure it is not set to ShowAlways otherwise I set the tool tip and make it active and set it to ShowAlways. Seems to work

ahmedilyas  Sunday, November 05, 2006 3:46 PM

You can use google to search for other answers

Custom Search

More Threads

• Component advice
• Help with Client/Server archtecture...
• Redirecting Console & Trace output to TextBox
• Capture MouseClick or MouseDown event in WebBrowser Control
• Quick Question - Showing a background image on a control?
• How to remove space for icons in MenuStrip
• Hiearchical windows forms datagrid control
• Filelist in listbox - How to open in default editor (for any extension type)
• How to create ActiveX control having GDI+ capabilities?
• Remove Controls from the TabIndex