Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with DynamicBackColor
Message
From
10/11/2020 11:21:18
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
10/11/2020 11:13:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01677077
Message ID:
01677092
Views:
54
Yeah, not much fun with views, then.

Just a question, have you looked up the DYNAMIC* prop of the column? Just like
suspend 
?thisform.grid.column1.DYNAMICBACKCOLOR
if the stuff is not working?

So, if this is empty, on the place you set the recordsource of the grid, just add something like
grid.SETALL("DYNAMICBACKCOLOR",lcDynamicStuff,'Column')
>Yes, I am referring to the alias of the view. This form has identical "blocks" of controls e.g. "Quote #1", "Quote #2", "Quote #3" etc. as the user can keep adding quotes. They use the same view with a different alias each time e.g. "QuoteHeader1", "QuoteHeader2" etc. ; it works fine except for this one small issue (that others have not even noticed but I have). After instantiating a new container - which contains the grid - then I set the record source of every control in code to the new alias. Once that is done, the cursor is placed in the first editing control within the container (not the grid) for them to input the name of the quote e.g. "Lifetime annuity at $200k").
>
>Re CA's: this is a legacy application that I have been told to not make any "big" changes to it - so they are not going to pay me to switch to CA's - should have tried to get approval for that years ago but didn't.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform