Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Class and custom header replacement error
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00817621
Message ID:
00817670
Views:
24
This message has been marked as the solution to the initial question of the thread.
Try:

lcName = loObj.Name
oColumn.REMOVEOBJECT( lcName )
oColumn.ADDOBJECT( lcName+"_NEW", This.cHeaderClass )
loHeader = eval("oColumn."+alltrim(lcName)+"_NEW")
loHeader.name = lcName

Dont know why, but if you created a GIRD Class the System doesnt want to create a HEADER with the same name as before, but understands it, when RENAMING it afterwards.


Greetings
Marvin Blase (tA-logistic Software GmbH)
You'll never notice the good things if you haven't seen the bad.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform