Formatting Dynamic Output
- To: mathgroup at smc.vnet.net
- Subject: [mg128540] Formatting Dynamic Output
- From: Gregory Lypny <gregory.lypny at videotron.ca>
- Date: Fri, 2 Nov 2012 00:43:06 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
Hello everyone, I have some cells that use Dynamic to display a string or result of a StringForm expression when a condition is met. It looks like this. Dynamic[ If[conditionMet, displayString, ""]] It works fine except for two things. If the condition is met and the string to be display is long, it is indented to the right when it wraps to the second line. How can I remove the indent, especially for StringForm output? The second thing is when the condition is not met, a blank cell is output because I have an empty string ("") in my If[] condition. What can I replace that with so that no cell is produced when the condition is not met. Much obliged, Gregory