Results 1 to 3 of 3

Thread: Properties CLASS, PARENTCLASS, BASECLASS

  1. #1
    Member
    Join Date
    Jul 2012
    Location
    Germany
    Posts
    94

    Properties CLASS, PARENTCLASS, BASECLASS

    Hi,
    in VFP the properties CLASS, PARENTCLASS, BASECLASS have the following meaning:

    CLASS - Name of the class the actual object is created of
    PARENTCLASS - Name of the class the class of the actual object is derived of
    BASECLASS - Name of the VFP-baseclass, the actual class is derived of

    In Lianja it is the following:

    CLASS - Name of the Lianja-baseclass, the actual class is derived of
    PARENTCLASS - Empty
    BASECLASS - Missing

    Is it possible, to implement it as it is in VFP?

    Here is a small prg in Lianja to test it:
    Code:
    define class cip_gui_form as form
    	Name = "cip_gui_form"
    	
    enddefine
    
    define class frmTest as cip_gui_form
    	Name = "frmTest"
    	
    	PROCEDURE ShowClass
    = Messagebox("class = '" + this.class + "' (should be: frmTest)" + CHR(13) + CHR(10) + ;
    			 "parentclass = '" + this.parentclass + "' (should be: cip_gui_form)")
    	RETURN
    	ENDPROC
    enddefine
    
    
    loObj = createobject("frmTest")
    loObj.ShowClass()
    
    = messagebox("Ok")

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,161
    Blog Entries
    22
    Hi Jens,

    Yes. Please cut and paste this into an ER ticket and I'll take a look.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  3. #3
    Member
    Join Date
    Jul 2012
    Location
    Germany
    Posts
    94
    Done

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us