When press CTRL key on Multicomboxbox, form dispose

Posted by: ladak7861 on 8 September 2017, 3:11 pm EST

  • Posted 8 September 2017, 3:11 pm EST

    Hi there,

    I am having a problem with multicombobox,
    when ever i press CTRL key on it, form immediately dispose.

    I tried to find out the solution but i couldn't.

    Please help me out.

    Thanks
    Ladak
  • Replied 8 September 2017, 3:11 pm EST

    Hello,

    We are unable to replicate the issue. Could you please let us know the exact version of Spread used.

    If possible please attach a stripped out sample application replicating the issue for us to debug on the same.

    Thanks,
    Reeva
  • Replied 8 September 2017, 3:11 pm EST

    Verion No. : 5.0.3514.2008

    DataBinding

    Dim mcb As New FarPoint.Win.Spread.CellType.MultiColumnComboBoxCellType
    mcb.DataSourceList = ds.Tables("TblProducts")
    mcb.ButtonAlign = FarPoint.Win.ButtonAlign.Right
    mcb.ListWidth = 800
    mcb.MaxDrop = 4
    mcb.AutoSearch = FarPoint.Win.AutoSearch.MultipleCharacter
    Fp1.ButtonDrawMode = FarPoint.Win.Spread.ButtonDrawModes.CurrentRow
    mcb.ColumnEdit = True


    For A1 = 0 To Fp1_Sheet1.RowCount - 1
    Fp1.Sheets(0).Cells(A1, 0).CellType = mcb
    Next A1

    I have 12 columns, 1st one is multicombobox, when this cell is focused and i press CTRL button suddenly my form dispose.

    Waiting for your reply
    Ladak
  • Replied 8 September 2017, 3:11 pm EST

    There is no issue on other cells, Like i can copy and paste text from word file, in other cell i can use CTRL + V to paste my text but in multicombobox when ctrl is pressed form dispose.

    Thanks
  • Replied 8 September 2017, 3:11 pm EST

    For your information I am using vb.net
    Ladak
  • Replied 8 September 2017, 3:11 pm EST

    Hi reeva,

    finally i found solution, i just removed all keydown and keypress event from farpoint grid and now its working fine.

    Thanks
  • Replied 8 September 2017, 3:11 pm EST

    Hello,

    Glad to know your issue has been resolved.

    Thanks,
    Reeva
  • Replied 8 September 2017, 3:11 pm EST

    Hello,

    Glad to know your issue has been resolved.

    Thanks,
    Reeva
  • Replied 8 September 2017, 3:11 pm EST

    Hi Reeva, I have started two new topics in forum, can you please reply to that also.
    Thanks
    Ladak
  • Replied 8 September 2017, 3:11 pm EST

    Hello,

    I am unable to replicate the issue at my end with the same build you have mentioned. Please have a look at the attached sample for the same.

    And if possible please modify the sample to replicate the issue and revert back.

    Thanks,
    Reeva
    2013/11/SpreadMultiColumnCombobox.zip
  • Replied 8 September 2017, 3:11 pm EST

    Hi Reeva,

    After investing several hours, I came to know how page disposed when I click CTRL key in Multicombo box.

    The main form name is FrmMainMenu and its a MDI form. to load sales form i used

    Dim NewMDIChild As New FrmSalesQuotation()
    NewMDIChild.MdiParent = Me
    NewMDIChild.StartPosition = FormStartPosition.CenterScreen
    NewMDIChild.Show()

    forms load perfectly and when i press CTRL key the form disappears

    If I load from like

    FrmSalesQuotation.Show()

    The sales quotation form does not dispose and works fine.
    I want to use all form as MDI child form.

    Waiting for your reply with much interest.

    Thanks
    Ladak




Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels