Grid Property Customization in SL 7.0 SP1

Last post 03-23-2008 6:39 PM by Arifin. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-13-2008 12:39 AM

    • Arifin
    • Top 100 Contributor
    • Joined on 03-12-2008
    • Jakarta
    • Posts 4

    Grid Property Customization in SL 7.0 SP1

    I don't know either this one is Solomon standard's bug or customization's bug. What I'm curious is this bug will not happen in standard level but the customization is the simple one. I have an experience of this one while customized Cash Account Transaction and Purchase Order screen. I was only  set the property for grid's property exactly enabled property. The enabled property on grid will be changed based on the header's condition. Actually the header's condition is also customization. For example:

    I wrote this code in spread1_LineGotFocus_Event

    if status = "H" then

        if flagbudget = 1 then

           call msetprop("cTranDate", prop_enabled, false)

            ...

          call msetprop("...", prop_enabled, false)
     

        end if 

    end if 

    The weird was on the next entry or after you cancel or open the others hold batnbr, the F3 or F7 functionality in trandate field will disable, but I could double right-click and unfortunately, the value will not be loaded in grid view, but it was loaded in form view. I could saw it. What is it?

    Another example was when I customized Purchase Order screen, the same way with Cash account transaction, my qty field, will always reset to zero every I input the new one. Then I released the set property for this field, and luckily I got the error in unit price field :(. My unit price will reset to zero every I input the new one.

    I don't know what I have to do next, my temporary solution was, I release the set property for the weird fields, but I added the validation by wrote a 'retval = errnomess'  code. Is there any hotfix of this one? 

  • 03-20-2008 11:26 AM In reply to

    Re: Grid Property Customization in SL 7.0 SP1

    Arifin

    This looks like it is pretty straight forward and should work. Perhaps your customization is getting overridded by default behaviour in another event. Have you tried overloading the double click event also?

     thanks

  • 03-23-2008 6:39 PM In reply to

    • Arifin
    • Top 100 Contributor
    • Joined on 03-12-2008
    • Jakarta
    • Posts 4

    Re: Grid Property Customization in SL 7.0 SP1

    Hi Craig,

    Unfortunately the customization in SL 7.0 SP1 still use VB 6 as their framework. The .Net framework only works at VBRDT customization, so I can not overload the double click event in this case.

    Regards,

    -Afin- 

Page 1 of 1 (3 items)