In the grid's Mousemove Event Use this code to display the contents of Cell as tooltip Hope this helps dim str as string = "" Dim pt As Point = New Point(e.X, e.Y) Dim hti As DataGrid.HitTestInfo = gridName.HitTest(pt) If gridName.VisibleRowCount > 0 Then Dim bmb As BindingManagerBase = frm.BindingContext(gridName.DataSource, gridName.DataMember) If hti.Row < bmb.Count And hti.Type = DataGrid.HitTestType.Cell Then str = gridName.Item(hti.Row, hti.Column) ' Or the required tool tip Else str = "" End If Else str ="" End If if str <> "" then ToolTip1.SetToolTip(sender, str)
ashamsa
Posts
-
put tooltip on grid column -
Drawing on Images?Can u give me sample code or links on this.
-
Drawing on Images?Could you please be a little more elaborate on how should i design such an application.I need to work out the sections.How do i draw on the different sections of a prelaoded image.Why did us ay throw away the picture boxex.Right now i m keeping 32 pictureboxes,one for each tooth.Can u give me a solution on how to work on this.I am working in vb.net -- modified at 4:28 Wednesday 27th June, 2007
-
Drawing on Images?I am working on a dental software.I need to display all 32 teeth of a selected patient with markings of each treatment he had undergone.I am displaying images of all 32 teeth on the form, without any treatment shown, in 32 picture boxes.If there is a treatment on a particular tooth it should be shown in the picture box with a differnt appearance indicating the treatment he has taken.For example if he has taken a root canal treatment for tooth no.4 then the root portion should be filled with red color.If another treatment is taken on the same tooth then that treatment also should be displayed in the figure along with the previous treatment.My problem is how to go about it.Any programming idea and/or code samples are welcome. Asha
-
Timed DemoCan u send me some source code ont his.Like which events are being handled and how are u checking and writing to registry etc
-
Timed DemoCan anyone send me the source code for designing a timed demo.ie it should be a trial version and show message like ,The application will expire in 30 days and should show reminders for 20/10/5 days.Thanks in advance.
-
starting wordpad from vb.netCan i get some detailed info on how to give the command line arguments?Thnks asha -- modified at 2:54 Wednesday 11th April, 2007
-
starting wordpad from vb.netI am invoking wordpad using system.diagnostics.process.start(). Is there a way to hide the toolbars ruler etc while opening wordpad from vb.net.I want all the main menu bar to be dispalyed with the opened file.
-
explorer like Combo boxIs it possible to have a combo box like one in OpenFileDialog window look-in Combo Box (explorer ComboBox) in a vb.net windows application without adding a separate dll .If anyone has an idea please help. -- modified at 23:32 Friday 21st October, 2005
-
VB.NET Multiline TextboxThanx for your womderful help.I think I should go by the second approach.Gonna start working on that.Thanx once again for the wonderful idea.:):rose:
-
VB.NET Multiline TextboxI have a multiline text box on a form in a windows application.If some portion of teh text appears inside a tag like this ,#some text#.Then I want to make that portion of the text non editable.Can i implement this.How do i go about this.Later I want to replace the text between the pound symbol with data from a database while printing a report.So I don't want the user to edit the text inside the tag.These tags will be inserted from a list of values.The user should be able to edit the remaining part of the text box.These tags can come anywhere inside the text box and more than once.
-
vb.net deploymentCould you please provide me with a detailed instructions on how to go about this(to install the msi installer itself, ME does not know what to do with an msi file otherwise.) or provide some links where I can get this information .I am quite new to VB.Net.Thanks so much for your help
-
vb.net deploymentwhen i try to install that instmsiA it shows it's been alredy installed.
-
vb.net deploymentCould you please help me on how to go about this.(Install the msi installer)I mean explain a bit going step by step.Thanx in advance
-
vb.net deploymentwhen I double click the windows installer file An Open With Dialog box is opened and I am not sure how to proceed from there.Please help.
-
vb.net deploymentdot net framework is installed in the target machine.not able to install means i cud not able to run the setup program in windows ME.
-
vb.net deploymentI have developed a windows applicatio using vb.net as MS Access.I have created a setup program using the package and deploymnet wizard.But I am not able to install it on a system with Windows ME OS.I can install it on Windows XP and Wndows 2000.What could be the problem?The OS I use is Windows 2000.Can anyone help me.Thanks in advance.