RobWunderlich / Qlikview-Components

A library for common Qlikview Scripting tasks
197 stars 99 forks source link

Qvc.ColorTheme() remarks #60

Closed KoenBal closed 4 years ago

KoenBal commented 7 years ago

Hello Rob,

I added a macro and some less elegant functions (I noticed excel is not QlikView) to get it working.

I hope you find it a step forward :).

,KR Koen

ColorSample1.zip

RobWunderlich commented 7 years ago

The doc comment "'// Only ColorVariable names that begin with "Qvc.Color" will be propagated to the calling QVW." in the xlsx file is in error. All variables get loaded, but only Qvc.Color.v* names get loaded into the optional table -- if used. It may be possible to not propagate the other variables, but that would be complex. If ther is a desire to have truly "temp" variables in this case, it would be better to name those variables something special like "Qvc.Color.temp.vxx" and then they could be explicitily deleted.

I like the update to ColorSample1.xlsm, but I don't like the loss of being able to use the QV color functions. If you like it the way it is, I could add it as a second sample so people could see both ways.

KoenBal commented 7 years ago

Hello Rob,

Any extra ideas?

,KR Koen

ColorSample1_v3.zip