Results 1 to 3 of 3

Thread: YAFR: GetByRef

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Feb 2009
    Copenhagen, Denmark

    Default Re: YAFR: GetByRef


    Or how about making properties accessible as if they were variables?

    Property tWebRow AsVar MySpecialRow
    Declared like this you can not set og get the value. Instead you can address it as if it was a global variable (but from within the class only).

    If you REALLY need to set or get from an object outside the direct line of inheritance, THEN you kan write a Get/Set'er function for it.

    My reason for suggesting this is to avoid the bypassing of set'ers and get'ers when manipulated by the GetByRef method. AsVar eliminates that problem

    Last edited by Sture; 10-Oct-2018 at 10:12 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