Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refresh not refreshing
Message
De
23/05/2001 11:36:28
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00510014
Message ID:
00510397
Vues:
14
>>>ok I can't repreduse the error when I take the navigation buttons out of the form following is the add button code, the refresh code and the navigation code
>>>
>>>and yes I know this is gonna look like kiddie code, but it works
>>>if you want more code to try and help me just say

Stephen,

Working on the assumption (from Nadya's post) that the Refresh is taking too long to do it's stuff you could try the following
This only evaluates the RGB value once and IIF's are apparently faster
(i've only done a few lines but you get the idea)

I also find it easier to read :)
		Local lnRed, lnGrey
		lnRed = RGB(128,0,0)
		lnGrey = RGB(128,128,128)
		.chkPurchase_gen.DISABLEDFORECOLOR = IIF(START.Purchase_gen, lnRed, lnGrey))
		.chkPurchase_rec.DISABLEDFORECOLOR = IIF(START.Purchase_rec, lnRed, lnGrey))
		.chkPurchase_mod.DISABLEDFORECOLOR = IIF(START.Purchase_mod, lnRed, lnGrey))
		.chkReceipt_mod.DISABLEDFORECOLOR = IIF(START.Receipt_mod, lnRed, lnGrey))
		.chkVendor.DISABLEDFORECOLOR = IIF(START.Vendor, lnRed, lnGrey))
Will Jones
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform