Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Builder property
Message
From
12/05/2006 19:20:29
 
 
To
18/02/2006 01:31:53
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01097279
Message ID:
01121565
Views:
18
This message has been marked as the solution to the initial question of the thread.
Hi Grigore.

>I was trying yesterday to set a builder for one of my classes. I have added a .Builder property, then wrote in it the full path to my builder form. Suprise. MemberData Editor menu entry stopped working, because it calls my builder now, instead MemberData Editor form.

I finally got some spare time to resolve this issue. It turned out to be very easy to fix. MODI PROJ BUILDER in the \Tools\xsource\VFPSource\builders folder of your VFP home directory. Modify Builder.PRG and comment out these lines (starting around line 223):
IF ALEN(wbaControl) = 1	AND TYPE("wbaControl[1].Builder")=="C" AND NOT EMPTY(wbaControl[1].Builder)
  lcBuilder=wbaControl[1].Builder
  DoBuilder(wbaControl[1],tuSource,lcBuilder)
  _vfp.LanguageOptions = liOldLanguageOptions 	&& restore memvar checking value (jd 11/26/00)
  RETURN
ENDIF
Then build BUILDER.APP into the VFP home directory to overwrite the existing one. Now, the MemberData Editor will properly function when you have a Builder property of an object.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform