Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controls
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
01222444
Message ID:
01222445
Vues:
16
This message has been marked as the solution to the initial question of the thread.
To all:

Problem solved. Please disregard this one.

Apparently you can't enable a control if its control source contains a deleted on empty record?

Thanks anyway.

Elgin

>I am in the process of developing a form that is populated with several text and combo boxes. All of my base classes for text and combo boxes have a custom property called "Editable" and my base form has one called "Editing." I use these custom properties to enable and disable all the "editable" controls on the form depending on the "editing" mode of the form. I got this from Jim Booth years ago and it has always worked great for me in the past, and it has been working on this form in the early stages of testing up until today.
>
>This frmAddRec form is subclassed from my frmMain class which already has a few comboboxes on it. Those comboboxes respect the editing mode and are enabled correctly. However, any controls that are added to the subclassed frmAddRec form are not respecting the editing mode, in a way.
>
>Here's the weird part, I can look at the each of these problem controls in the Debugger and they are showing ".T." for the Enabled property, yet I can't click on them and their backcolor is that of a disabled control.
>
>This all started when I started adding code to the "Add" button of another form to call this frmAddRec form passing a parameter of "Edit" to enable editing mode. I have since commented out all of that code and I am still having the problem when I simply run the form and distinctly set the form's "editing" mode to true.
>
>I am at a total loss.
>
>Thank you for your help.
>
>Sincerely,
Elgin Rogers
Epic Solutions
www.epicsolutions.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform