Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Member Class bug
Message
De
07/03/2003 02:26:20
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Member Class bug
Divers
Thread ID:
00762601
Message ID:
00762601
Vues:
46
MemberClass is a long awaited feature, but...

I defined classes for column, header and texbox in code.
define class _header as Header
	fontname = "Tahoma"
enddefine

define class _textbox as textbox
	fontsize = 12
enddefine

define class _column as Column
	add object header as _header
	add object text as _textbox
enddefine
Then visually created grid class in vcx class library and set MemberClass prop to _column class defined in previous step.

After dropping that grid onto form I noticed that chnaged properties of header and textbox in grid's columns are bolded - that means COPIED not INHERITED.

After rightclicking and choosing "Reset To Default" command inheritance came back. But after saving and reopening form vfox8 again copied changed header and textbox props what breaks inheritance.

Can anyone confirm that?

Best,

Janusz Czudek
WORD Softwate
jczudek@wordsoft.com.pl
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform