Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I need to add an Icon to the heads of a grid ...
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00240888
Message ID:
00241283
Views:
13
>Outlook does (there's a little triangle in the sorted column indicating the direction of sort) but you can get the same sort of functionality by abandoning the VFP grid in favor of a third-party ActiveX control that'll accept icons in columns. it isn't free, and will require3 significantly different programming techniques to be used, but such controls do exist, and some may work in the VFP environment.

Yes, we have combo Outlook/Exchange, and both have the little "disabled" graphic arrow, which is what I assume he wants...

>
>If I desperately had to have this exact functionality, I'd probably go to someone like ComponentSource and see if they had something that could do the job, and I'd accept the cost and the fact that I'd have to rewrite every bit of code related to the grid to add this feature - and I'd point out to the cleint that his graphical arrow was probably going to add several thousand dollars to the cost of development, and increase the eventual cost of on-going development as well. It'd be their dollars to spend.
>
>It doesn't matter if you operate as an in-house employee or an outside contractor; whatever pointy-haired boss said it had to work that way would have to decide to spend the money - whether your time is worth anything is their decision, as long as you get paid.

Well said, Ed. Bear in mind that for me, though, that means spending your taxpayer dollars on such non-necessities < s >

>Noone has mentioned the approach I'd take to this problem - get away from the need for the graphic icon entirely. This is actually not difficult - it'd just be a matter of using a font with the necessary up- and down-arrow symbols in them, and then when sort orders changed, it'd be a simple matter of changing the caption of the header to add/remove the appropriate character. And this gets around the sizing issue as well. This now becomes a more reasonable scenario - the cost is now the cost of the necessary font license if you don't have one with the symbols you need already...but then, I'm lazy and don't give a rat's patootie if it does what the user wants but isn't exactly the graphical appearance they'd like. I'm in favor of letting them decide between fast to implement, easy to maintain and inexpensive to implement, or lots of time spent researching a solution, getting bit down the road for more time if the behavior has to change, and expensive. It's their money, and
>they're the pointy-haired boss...

>BTW, Courier New and Arial both have « » if pointing left and right rather than up and down would work, everything has < >, and Symbol has the graphical arrows you'd need, but not letters and numbers. I'd expect to find mathematical or engineering fonts that had them needed character sets from someone like Adobe pretty easily...

That idea has been mentioned on the UT sometime in the past, as I recall. Don't know if anyone's actually done it, though...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform