Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Different behaviour of VFP by changing gridheader in for
Message
From
26/02/2003 10:38:11
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
26/02/2003 10:32:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00758071
Message ID:
00758120
Views:
19
>Hello Cetin,
>
>thanks for your quick answer.
>
>I just tried your advise to only add the new headerclass. But VFP prompts an errormessage which says, that an identical object is already present (I am using VFP7 SP1).
>
>How comes that your vfp acts different than mine. Should I install the original american version instead of the localised german one ;-))

I used an headername that's different from default 'Header1'. Then you could do it like this :
with oCol
 if type('.Header1')='O'
  .removeObject('header1')
 endif
 .NewObject('Header1','myHeaderClass','HeaderClassLib.prg')
endwith
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform