Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding properties to Favorites
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01011617
Message ID:
01012238
Views:
20
>
>Hi Brad,
>
>MereMortals is using regular _builder. However, it uses Builder and BuilderX properties in order to run the builders.
>
>I believe (though not 100%) certain, that the bug is in MS Builder.app itself. E.g. why should it try to instantiate a builder if it's called from Property Sheet Add to Favorites or from MemberData menu?
>
>Here is what I did:
>
>I extracted everything from XSource directory and looked into Builder project. In this project there is a program called Builder (main program). In that program I made a following change:
>
>
>** Nadya Nosonovsky changed from Builder to BuilderX 5/9/2005 and also added a check for MemberData
>IF ALEN(wbaControl) = 1	;
>AND IIF(TYPE("wbcpOrigin")="C" AND UPPER(wbcpOrigin)=="MEMBERDATA",.F.,.T.) ;
>AND TYPE("wbaControl[1].BuilderX")=="C" AND NOT EMPTY(wbaControl[1].BuilderX)
>	lcBuilder=wbaControl[1].BuilderX	
>	DoBuilder(wbaControl[1],tuSource,lcBuilder)
>	_vfp.LanguageOptions = liOldLanguageOptions 	&& restore memvar checking value (jd 11/26/00)
>	RETURN
>ENDIF
>
>
>After that I recompiled the app and put it in VFP9 directory. It now seems to behave correctly, e.g. my builders are instantiated when called for Builders and Add to Favorites/MemberData menu works as well.
>
>Though using your caution I probably not going to use this until we all switch to VFP9.
>
>Now is it indeed a bug? If it is, how should I report it?
>
>Thanks again.


Well, I don't want to fool around with the BUILDER.PRG... I looked at it a little and I think I see where you made your change, but in a block of code somewhere before that, they already handle the possibility of a BuilderX property. But I don't want to spend a lot of time trying to figure out what's going on in that code.

I know it's not a bug that _BUILDER is called from "Add To Favorites" or from the "Member Data Editor" menu selection... that's just the way VFP9 works... after all, anything that has to do with _MemberData is PEM-related, so it makes sense to have _BUILDER handle that.

I dont want to address the issue of a bug in BUILDER.PRG. There may be something else going on... again I point to my experience with the FOXUSER file and the invalid pointer for the BUILDERS entry (and also, I found, for the WIZARDS entry). Maybe you happen to be correctly pointing to the correct BUILDER.DBF this time because of some environment change or... who knows?

If you feel there is a bug to report, you can go to:
http://support.microsoft.com/default.aspx?scid=kb;en-us;867477

Best...

--Brad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform