Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. In Datagrid the Error tooltip does not pop up even though ErrorIcon is displayed

In Datagrid the Error tooltip does not pop up even though ErrorIcon is displayed

Scheduled Pinned Locked Moved Visual Basic
helpalgorithmsquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    BabyEmperor
    wrote on last edited by
    #1

    Hi, i have made a form which follows the following logic :- The form displays various panels which are used to get criterias from the user. then form.layout is suspended and the following algorithm executes : 1. Based on these criterias i add various column to a datatable say dtRecordsReturned. 2. Then datagridcolumnstyles [some of them are instances of classes i inherited from datagridcolumnstyle] are made and added to a datagridtablestyle , which is then added to the TableStyle property of a datagrid say dgRecordsReturned. 3. the dtRecordsReturned is then bound to a dataview dvRecordsReturned. 4. dvRecordsReturned is bound to the dgRecordsReturned. 5. then records(rows) are added to dtRecordsReturned by executing a sqlQuery. 6. Then Values of some of the columns of each row are set according to the criterias got from the user. While doing this some special conditions may arise, which i am displaying to the user by setting an errormessage on that particulare column by calling .SetColumnError(columnname,strSpecialContidionDescription). 7. then the panel [pnlRecordsReturned] which contains dgRecordsReturned is brought to the front by calling pnlRecordsReturned.BringToFront(). 8.Finally the form.Resumelayout() is called. Now the Problem i am facing is that though the ColumnErrorIcon is displayed in the columns, no tooltip message pops up when the cursor is hovered over the icon. I tried using .RowError instead of .SetColumnError still the result is similar. ErrorIcon appears in the rowheader but no tooltip message pops up. Any Suggestions? Thanks

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups