Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid and columns
Message
From
03/06/2004 13:30:39
 
 
To
03/06/2004 13:04:48
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00909614
Message ID:
00909637
Views:
22
Ciao Alessio,

una classe con baseclass column si può definire soltanto in a PRG.

a class with baseclass column can be only defined in to PRG.

Fatto questo, il funzionamento è simile a quello di una classe Page (eccetto un paio di bugs).

Fact this, the operation is similar to that one of one Page class ( except a pair of bugs ).
* ....\myClasses.PRG
SET CLASSLIB ".\RELATIVEPATH\MYCLASSLIB.VCX"

DEFINE CLASS myHeader AS Header

ENDDEFINE

DEFINE CLASS myColumn AS Column
	
    ADD OBJECT hd AS hd
	
    ADD OBJECT mytextbox AS mytextbox && OF myClassLib
	
ENDDEFINE
Se usi un textbox personalizzato, devi eseguire SET CLASSLIB prima di poter utilizzare myColumn.

If it uses a textbox personalized, you must execute SET CLASSLIB before being able to use myColumn.

Per automatizzarlo si può utilizzare un ProjectHook.

In order to automate it a ProjectHook can be used.

Fabio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform