Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
Par2: Conditionally changing tab colors based on sort order 1998-08-11 -- Dobi Sandor Here is the code
on ?sheet1 newselection
execute choice(?sheet1)
begin
tab1{prop:color} = selectedcolor
tab1{prop:fontstyle} = selectedfontstyle
tab2{prop:color} = unselectedcolor
tab2{prop:fontstyle} = unselectedstyle
.
.
tabn{prop:color} = unselectedcolor
tabn{prop:fontstyle} = unselectedstyle
end
begin
tab2{prop:color} = selectedcolor
tab2{prop:fontstyle} = selectedfontstyle
tab1{prop:color} = unselectedcolor
tab1{prop:fontstyle} = unselectedstyle
.
.
tabn{prop:color} = unselectedcolor
tabn{prop:fontstyle} = unselectedstyle
end
.
.
.
begin
tab1{prop:color} = unselectedcolor
tab1{prop:fontstyle} = unselectedfontstyle
tab2{prop:color} = unselectedcolor
tab2{prop:fontstyle} = unselectedstyle
.
.
tabn{prop:color} = selectedcolor
tabn{prop:fontstyle} = selectedstyle
end
end
In MH free templates there are the limitation, You only can select Bold
style for fonts.
Today is November 21, 2024, 3:52 am This article has been viewed 35186 times.
|
|