Tinderbox Forum

Like $DisplayExpression for $Caption?

It’s not possible to have a note’s caption be coded in a dynamic way, correct?

What do you mean by dynamically code, Beck?

You can definitely change the caption using stamps, rules and edicts, but is there something else you mean? I don’t think they change without some trigger though (like clicking outside the note, changing the view etc, rather than continually updating).

Am I misunderstand what you’re after?

David.

I was after putting something like the Rule query you used for your illustration into the Caption box, like so:

But this’ll definitely work!

(What I’m after in this instance is putting the $AgentQuery as the caption to the agent. It’d be neat to just have this be automatic, say in an agent Prototype.)

Thanks, David!

1 Like

If you add to the code:

$CaptionFont=$CodeFont;

Then for this agent (only) the caption will change to a monospace font making it easier to read the code.

1 Like

I’m glad it helped!

1 Like

Nice touch!

2 Likes

Of course other fonts are available, but you get the idea. :smile:

4 Likes