>> But all recordsource, datasource are tablename.fieldname and I would like to 
>> have only the fieldname. Is this
possible or must I hack the .sct/.scx ?<<

You can write a simple form builder that can traverse the objects on a form and 
strip off the alias if you like. 

Or you can create a simpler builder that you have to right-click on each object 
and pick the Builder menu item and have
that builder strip off the alias. The grids and other container classes might 
have to have some recursive logic to drill
into the containers. But you have to do this for the form builder first 
mentioned.

A more sophisticated solution is to assign a builder to each base class in your 
library using a custom Builder property.
You assign the builder program name or ClassLib,class to the property. In this 
situation you can set the Builder Lock
setting on the VFP Options dialog (Forms page) so a builder runs every time an 
object is created on the form. The
builder does not have to have any user interface at all. All it needs to do is 
check the ControlSource and strip off the
alias and shut down. So you would not see anything other than maybe a little 
hesitation after the drop happens on the
form. Still, this could get annoying over time, but you can turn off the 
Builder Lock anytime you don't want the builder
to run.

Rick
White Light Computing, Inc.

www.whitelightcomputing.com
www.swfox.net
www.rickschummer.com



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to