Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG? Change Name Property with MemberClass...
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
BUG? Change Name Property with MemberClass...
Divers
Thread ID:
00788050
Message ID:
00788050
Vues:
68
Hi Folks!,

I've created one class (CommandButton) and called it "fw_CommandButton". I changed some properties like Picture, Caption, and so on...

After that, I created othe class (CommandGroup) and set MEMBERCLASS = "fw_CommandButton". VFP warned me that I'll lose code, blá blá blá and I confirmed this action. Saved and close it.

I opened it again and change some properties in each button. Saved and closed it. I opened again. Until there, all was working perfectly. So, I replaced the name from "fw_CommandButton1" to "Button1" and "fw_CommandButton2" to "Button2". Saved and Closed it.

Here, I got a big problem... All my propertie (Picture, Caption, etc) lose their values (defined in CommandGroup class - "fw_CommandGroup") and assumed their default values (defined in CommandButtom class - "fw_CommandButton")

Is it a BUG or I should do something else?

If it is a BUG, I think it appears in PageFrames + Pages, OptionGroup + OptionButton, etc...

By the way: I read about change name of Member Class, when you are using a PRG instead a Visual Class... I'm trying it using Visual Class.

I'm using VFP 8, build 08.00.0000.2521 and Windows 98.

[]s
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rodolfo Duarte
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform