Not getting tootip for devexpress form - c#

Hi all,
Please help me,
i have already attached screen shot for problem
Screen 1:
on windows 7 if run cmd or Firefox or vs 2012 and on task bar on mouse hover it shows tool tip on top.
Screen 2:
but if we run any devexpress form then it is not showing tooltip for form .
please help me for the same. is their any property need to set or is their any code for that.
please help me.
Thanks in advanced.

Go to design view, select properties toolbar and look for Text and TitleText.
The same goes for WinForms with the exclusion of TitleText which is added by DevExpress.

The tooltip is automatic. It displays the window's title/caption. If your window does not have a title/caption, then nothing will be displayed.
To fix it, set a title/caption for your window. I'd tell you exactly how to do it, but the DevExpress online documentation is terrible and your question doesn't say which of their packages you're actually using.

Related

C# Win Form Spell Checker .Net 3.5

I'm looking to implement a spell checker on my win form app. The app need to be built in .Net 3.5 and I'm struggling to figure out what I need to do. I walked through an example of importing a Windows Presentation Form control that did this perfectly, but that control is only available in .Net 4 Framework.
Can anybody point me in the right direction on this please? I'm only using this control for the one richTextBox, so i dont want to spend too much time on this one element of my project.
Thanks
Add a TextBox to your form
In the XAML tab, add the following code between TextBox tags:
SpellCheck.IsEnabled = "True"
You can add the same code in the standard C# code window. Just enter:
textBox1.SpellCheck.IsEnabled = true;
3.Now, launch the application.
If you enter incorrect words, these are underlined in red. If you right-click the word, you get some spelling suggestions to correct.
I hope, thats what u wanted.
Hope these links may help you
http://coolthingoftheday.blogspot.com/2010/02/spell-check-enable-your-winform.html
http://www.codeproject.com/Articles/5277/NetSpell-Spell-Checker-for-NET

Tool Strip wont stretch and autofit, according to the window! (in c#, using Visual Studio 2010)

I am a beginner coder and I have a major problem when I am coding my browser. The problem is basically all thanks to the tool strip.
Here is my problem:
1) When I was designing all the stuff, I arranged all the buttons and text boxes!
When I ran my program, it was all working good. Take a look at the picture.
http://i.stack.imgur.com/5GHZ8.png
And now...
2) Now, after I pressed the maximize button, things were badly unarranged...! Take a look at the picture !
http://i.stack.imgur.com/cfVUK.png
Now what should I do? Please help!
Hi there and welcome to C# and StackOverflow!
You need to be able to tell Visual Studio which element will get resized with the window and which elements will stay at the same width, etc. This is done using LayoutPanels, in your case best suited is TableLayoutPanel. You can then dock all elements in their appropriate table cells and tell the cells how to size (you can even use proportions!). You can of course make the second row the area, where the web page is displayed and tell the first cell to span across all columns ( http://msdn.microsoft.com/en-us/library/ms171687%28v=VS.80%29.aspx ).
There's a guide here: http://msdn.microsoft.com/en-us/library/w4yc3e8c%28v=VS.80%29.aspx

Vista Style DropDownMenu with TrackBar

In Windows Vista/7's windows explorer, the Icon Size selector has got a track bar in the DropDownMenu (see Fig. 1)
Fig. 1: DropDownMenu with TrackBar in Windows Vista
Does anyone know where I can get a similar UserControl or show me how to replicate it in .NET?
NOTE: If anyone's wondering where the image came from, I captured it from Windows Vista's Windows Explorer when I clicked on the Views Button.
Edit
I realised that Trilian 5 beta also has something similar. I'll try to get a screenshot of it soon enough.
I have found an article at CodeProject. It allows such a menu. This will be of assistance to you.
WPF Slider Menu
http://www.codeproject.com/KB/WPF/WPF_Slider_Menu.aspx

How to display ok button at bottom in .net compact framework?

I am developing mobile application in C#. I am using the following code in my application to display the messagebox but the button ok is displayed at the top right corner. I want to display the ok button at the bottom. This is my code
MessageBox.Show("Records successfully inserted","Customer Entry",MessageBoxButtons.OK,MessageBoxIcon.None,MessageBoxDefaultButton.Button1);
Is anything wrong in my code? or should I need to do different things ? Can you please provide me any code or link through which I can resolve the above issue?
It is the standard MessageBox behaviour in the compact framework to display the OK button at the top right corner (unless, I think, you are on a Windows Mobile 6.5.x, in that case it would be displayed at the bottom).
The only way I can see of "moving" that OK button at the bottom would be to create a form and use it instead of the MessageBox. That means creating a kind of custom MessageBox class.
This is quite annoying i agree. Especially when working on small touchscreens where pressing the OK in the top right is difficult.
Since you just want to present the OK button id suggest using MessageBox.OKCancel instead and just treat any button press as OK. Setting anything other than OK will show the buttons at the bottom.
MessageBox.Show("Records successfully inserted","Customer Entry",MessageBoxButtons.OKCancel,MessageBoxIcon.None,MessageBoxDefaultButton.Button1);

How to setup feedback link on Windows Forms caption using C#?

I would like to setup Feedback link on every windows form, so that user can send suggestion about design, functionality etc.. using C# (.NET 3.5) but I could not find solution.
Any help or suggestion will be appreciated.
On every form? You could create a "FeedbackLink" UserControl, and place that whereever you like. I wouldn't recommend trying to do it as a clever blanket-thing, because you can never assume the place you want the feedback hyperlink won't be used by something else.
My suggestion would actually be to add it to the "Help" menu on your main form, and possibly in some kind of (very intrusive) pop-up dialog. Maybe do it the way Visual Studio tackles it - by putting an icon in the systray with a bubble that pops up for the user to click on?
Example image (might take a second or two to appear):
Example http://www.freeimagehosting.net/uploads/b7939d58ae.png

Categories