Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid1
Message
From
26/01/2017 10:57:16
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
26/01/2017 09:51:47
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: Grid1
Miscellaneous
Thread ID:
01647011
Message ID:
01647028
Views:
68
>Hi Cetin
>the dynamicbackcolor and all dynamic...properties are applyed to grid.colum object
>also there is not dynamicGrilinecolor property.
>
>gridlinecolor is a specific grid property (not a column property).
>then cannot use the dynamic methods
>can apply one color at once on any grid with (gridlines=1,2,3)

>
>for ex:
>
>with  thisform.grid1
>.gridlinecolor= getcolor()
>endwith
>
>
>even using the "dynamicfontbold" as "fake method" cannot make grid lines colored as wanting.
>i tried this method but the colors are rendered screen by screen (instead line by line for ex.) and the vertical scrollbar is blocked (grid.scrollbars=2) ! only the mousewheel works !
>can you solve this problem ?

Hi Yousfi,
I didn't say otherwise, did I?

I said 'can come close' using containers. It would be rather tricky but doable. You can place lines at the borders of the container and set to any colour you want dynamically. DynamicFontBold would only save as a fake method to call the code that sets the colours or anything else.

(writing on safari it does a spelling check and changes color to colour! And I am using US settings)

I had posted samples on UT (or only on foxite?) demonstrating the idea with a little different question - showing dynamic coloured percentage bars years ago and also samples with container. We don't know the exact need.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform