Announcement

Collapse
No announcement yet.

Grid Bug ???

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Grid Bug ???

    Hey All,
    Following on from this thread of a couple of days ago
    https://forums.indigorose.com/forum/...id-is-selected

    When you select a cell in the Grid using the following code
    Code:
    sCheck = Grid.GetCellText("Grid1", e_Row, e_Column);
    if sCheck ~="" then
        
        bTextFile = Grid.IsCellSelected("Grid1", e_Row, 2);
        if bTextFile==true then
            myrow = e_Row
            --Dialog for testing uncomment to test
            Dialog.Message("Notice", "You have selected Row "..myrow.."  Col 2", MB_OKCANCEL, MB_ICONINFORMATION, MB_DEFBUTTON1);
            
            end
        end
    If you do not use the Dialog Message (Comment out) - When pressing 1,2 or 3 on keyboard the grid accepts the key pressed instead of inputting text from On Key code
    If you use Copy to clipboard and paste into notepad - then return to project , press 1,2,3 On Key code works
    also
    using Page.SetFocus("no object"); also On Key code works

    Seems to be a bug with cell losing / restoring focus

    I have attached a sample with two Grid Objects :
    Grid Bug.apz


Working...
X