Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 6.0 SaveAsClass - Header, Column,Page
Message
From
03/10/1998 12:40:57
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
03/10/1998 12:29:40
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00143459
Message ID:
00143608
Views:
35
>
>Well, I was really hoping something generic that would save any nondeafult properties. This could be used in a grid class that replaced the default textbox with a custom textbox, and default column with a custom column. There are too many potential properties to worry about without doing it generically.
>
>I don't think I will find a way to do this.
With pemstatus you could do it. Some are dangerous to change (class functionality might be depending on it - ie: specialeffect) so I limited to font*, alignment. Here are some usefull functions summarized :
*!*	ObjectSCXFile = sys(1271,oObject)
*!*	ObjectHierarchy = sys(1272, oObjectName)

*!*	lPEMExists		= pemstatus(oObject, cProperty, 5)
*!*	lPEMProtected		= pemstatus(oObject, cProperty, 2)
*!*	cPEMType		= pemstatus(oObject, cProperty, 3)
*!*	lPEMUDF			= pemstatus(oObject, cProperty, 4)
*!*	* Properties only
*!*	lPropertyChanged	= pemstatus(oObject, cProperty, 0)
*!*	lPropertyRW		= !pemstatus(oObject, cProperty, 1)
*!*	* IsReadonlyProperty = sys(1269,oObject,cProperty,1)
*!*	* IsPropertyChanged = sys(1269,oObject,cProperty,0)
*!*	* Properties only
*!*	uPropertyValue = getpem(oObject,cProperty)
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