Hello Everybody :)
I have met a problem with again with the text callout box. This time i cant understand how to change color of this box, relatively to another box value.
In the example file i have attached, there is a master object with several shape data-s (Label, Color1, Color2, Cross, Mark)
The problem is that when I put in field "Color1" value "B" background of the shape changes to black and the text relatedo to the field "Cross" become invisible (because of its black color... :D)
So my question is - how to link text callout color to specific value/values and to change color. But not on all values but on 2 or 3 (for example "B" ; "L" and "R")
Thanks in advice!
Wish you all the best,
Andrew :)
for example: select your "Cross" callout, open shapesheet. change formula in section "Character", cell "Color".
=if(strsame(sheet.5!prop.color,"b"),1,0)
i.e. if background color is black, set font color is white. and still font color is black in another cases...
Something is not working...
nothing happens
Ooops!!! Really, i select sheet.9 and see formula in cell "Color"=THEMEGUARD(IF(Sheet.8!User.FillType=0,THEME("TextColor"),IF(LUM(Sheet.8!User.ThemeColor)<110,1,0)))
paste there =if(strsame(sheet.5!prop.color,"b"),1,0)
Exactly at the same place... I think.
Here is screenshot, with new formula and value... :-\
Seems Shape.2 is the group in your picture?
My bad....
In the text callout, there is more one level down, and there is sheet.9.
Really sorry for my misunderstanding! Thank you very much for the help.
Cheers :)
Andrew.
i`m looking in the online nelp for this function "strsame". I cant understand if is possible to add more than one color ?
Function STRSAME - Determines whether strings are the same.
http://msdn.microsoft.com/en-us/library/ms425572(v=office.12).aspx (http://msdn.microsoft.com/en-us/library/ms425572(v=office.12).aspx)
and i talk about shape.9 !
(http://www.xtwo.info/RH.png)
Yes... i have seen it too late :( Sorry about that.
I`m really bad in this coding thing. Trying to learn... but still lot to go. This help in Microsoft isn`t really helpful to me. Can`t get how to compare mutivalue. Even with this other function that is written there "STRSAMEEX""
I have manage to do it. Thank you All for the help :)
Browser ID: smf
(is_webkit)
Templates: 1:
Printpage (default).
Sub templates: 4:
init,
print_above,
main,
print_below.
Language files: 1:
index+Modifications.english (default).
Style sheets: 0:
.
Hooks called: 68 (
showintegrate_autoload, cache_get_data, integrate_pre_load, integrate_load_session, integrate_verify_user, cache_get_data, integrate_user_info, integrate_load_board, cache_get_data, integrate_board_info, cache_get_data, integrate_allowed_to_general, integrate_pre_load_theme, cache_get_data, integrate_allowed_to_general, integrate_simple_actions, integrate_allowed_to_general, integrate_load_theme, integrate_pre_log_stats, cache_get_data, integrate_actions, integrate_pre_parsebbc, integrate_bbc_codes, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_pre_parsebbc, integrate_bbc_print, integrate_post_parsebbc, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general, integrate_menu_buttons, integrate_current_action, integrate_theme_context, integrate_allowed_to_general, integrate_allowed_to_general, integrate_allowed_to_general)
Files included: 25 - 925KB. (
show/home/iw0lkfe3x6cq/public_html/vgforum/index.php, /home/iw0lkfe3x6cq/public_html/vgforum/Settings.php, /home/iw0lkfe3x6cq/public_html/vgforum/cache/db_last_error.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/QueryString.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Subs.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Subs-Auth.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Errors.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Load.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Security.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Subs-Compat.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Subs-Db-mysql.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Cache/CacheApi.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Cache/CacheApiInterface.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Cache/APIs/FileBased.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Subs-Charset.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Unicode/Metadata.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Unicode/QuickCheck.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Session.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Logging.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Class-BrowserDetect.php, (Current Theme)/languages/index.english.php, (Current Theme)/languages/Modifications.english.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Printpage.php, (Current Theme)/Printpage.template.php, /home/iw0lkfe3x6cq/public_html/vgforum/Sources/Unicode/CaseUpper.php)
Memory used: 772KB.
Tokens:
post-login.
Cache hits: 7: 0.00118s for 22,302 bytes (
showget modSettings: 0.00055s - 19983 bytes, get known_languages: 0.00024s - 1277 bytes, get board_parents-0: 0.00010s - 2 bytes, get permissions:-1: 0.00008s - 50 bytes, get theme_settings-1: 0.00011s - 980 bytes, get log_online-update: 0.00009s - 10 bytes, get menu_buttons--1-english: 0.00002s - 0 bytes)
Cache misses: 1: (
showget menu_buttons--1-english)
Queries used: 9.
[Show Queries]