Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RGB() function
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00812606
Message ID:
00812610
Views:
14
Hi Simon,

The VFP RGB() function only accepts 3 parameters, no less, no more. Your code is most likely Fox 2.6 code and references UDF with the same name.

>Whilst looking at an old routine, I noticed a number of RGB() functions containing 6 color pairs, i.e. the way it used to be.
>
>The help in VFP has been changed to only talk about 3 parameters for this function so that it can be used with ForeColor, BackColor etc.
>
>Is there a forward compatibility issue with code that still passes 6 values to RGB()? (Yes, it still does an @...SAY)
>
>TIA,
>Simon
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform