Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug in RGB() function
Message
From
26/06/2015 13:24:38
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
To
26/06/2015 13:17:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01621469
Message ID:
01621489
Views:
65
>Definitely tsk on me. You confirmed it is a bug though in that the property sheet displays differently than the rgb() function. Or perhaps a feature. But you are right, I never noticed the difference between the property sheet and RGB(). The backwards order violates windows standards and well, is pretty stupid to have property sheet and function behave differently and not document that anywhere. I guess either it never came up or I was living in ignorant bliss (smile). Either way it is bizarre behavior to say the least.
>
>I discovered it when another program queried VFP and asked for a color number and got a backwards number. VFP always lived in its own world, but come on, RGB colors you have to make different than every other program in the world?
>
>Thanks for the explanation.

Fox was always doing some things differently, but looking at it historically, it came about because it did them before the standards were set. It had to have its own window management, because of the mac version which predates the windows version for a few years. FP 1.0 came before W3, FPW came at the time of W3.1. I guess only dr Dave could shed some light. Garry Nietz's book that I have is left with my daughter back in Virginia, and it's been thirteen years since I read it, so I can't know for sure.

You must confess that this quirk was well encapsulated, or else you would have noticed it a decade ago.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform