Results 1 to 6 of 6

Thread: cSigCjReportControl.pkg

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Join Date
    Feb 2009
    Location
    Cayman Islands
    Posts
    3,969

    Default Re: cSigCjReportControl.pkg

    Quote Originally Posted by Ian Smith View Post
    Yep - remove the (Self))

    An example of how much work has gone into the compiler / code validation in 19.1 - compiles in 19.0 errors in 19.1

    Change commited - also committed change to cSigCjPushButton class so that it will compile in pre 19.1 and 19.1
    I could get it to compile but it crashed in Flexcom20 in all versions, just in one program. That program contained a WizardPanel developed from an example in Mike Starzen's book, which allowed 'Value' as the button property for 'Label'.
    That worked in 19.0 with regular Button based classes but not with the CJ one.

    Could trip up somebody else I suppose, if you want to proof it against really old usage you could add 'Value' versions of these at line 444 or thereabouts:
    Code:
    { Visibility=Private Obsolete=True }
        // To support standard dataflex button code
        Procedure Set Label String sCaption
            Set psCaption To sCaption
        End_Procedure
        // To support standard dataflex button code
        { Visibility=Private Obsolete=True }
        Function Label Returns String
            Function_Return (SigCJProperty(Self, Get_Private_psCaption, Get_ComCaption ))
        End_Function
    Last edited by DaveR; 22-Aug-2018 at 06:33 PM.
    I should be on a beach ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •