Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Class and custom header replacement error
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Grid Class and custom header replacement error
Divers
Thread ID:
00817621
Message ID:
00817621
Vues:
67
Hi all

I get an error in the AddObject call stating that it is Object Name is Invalid.

In the property sheet cHeaderClass contains ihdrGridHeader. ihdrGridHeader is defined in a seperate prg included in the project.
FOR EACH oColumn IN THIS.COLUMNS
	lccc = oColumn.CURRENTCONTROL

	*** replace the header with custom header class
	*** created in code
	IF !EMPTY(THIS.cHeaderClass)
		oColumn.REMOVEOBJECT("hdr" + SUBSTR(oColumn.&lccc..NAME, 4))
		oColumn.ADDOBJECT("hdr" + SUBSTR(oColumn.&lccc..NAME, 4), ;
			THIS.cHeaderClass)
	ENDIF
...
ENDFOR
Please advise
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform