Results 1 to 9 of 9

Thread: Subclassing cWebForm and psLabel

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2009
    Location
    Vienna, Austria
    Posts
    582

    Default Subclassing cWebForm and psLabel

    I have subclassed the cWebForm and have my own Set psLabel procedure

    Code:
      Procedure Set psLabel String Val   
         Forward Set psLabel to "XXXX"
      End_Procedure
    Of course it is not "XXXX" but my own function to support multilang. ;-)
    When the app runs it works perfect. But in the previewer I can't see a Label, it is blank. What must I do to support this in the previewer?

    And a second question: how can I do this with WebSet - when I to this code with WebSet instead of Set, I get a compiler error.

    Best regards,
    Peter
    Last edited by Peter Bosch; 8-Jul-2015 at 03:05 AM.

Posting Permissions

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