Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh not refreshing
Message
From
23/05/2001 11:36:28
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00510014
Message ID:
00510397
Views:
13
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform