cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
lala
Level VII

How can I modify the default Settings of the Hover Labels Editor in my software?

I want to modify the contents of the "Textlet" in this "Hover Labels Editor" in the default Settings of the software and let it open automatically.
This allows the software to start and execute the new content.

Thanks!

2024-02-23_10-10-48.png

4 REPLIES 4
jthi
Super User

Re: How can I modify the default Settings of the Hover Labels Editor in my software?

I'm not sure what you want to modify and how? Do you want to be able to open that menu automatically? What should trigger this "automatically"? 

-Jarmo
hogi
Level XI

Re: How can I modify the default Settings of the Hover Labels Editor in my software?

If you want every graph to have a default Hover Label settings like this one,

 

...maybe half-way to the ultimate solution:
add an icon to the toolbar which executes a code like the below one.

 

Then, whenever you need this type of Hover Label, you can apply it with a single mouse click.

Alterantive: define a menu item and link it to a Keyboard Shortcut.

 

fbs = Current Report() << xpath( "//FrameBox" );

fbs << Set Textlet(
	Setup( local:encodedWhere = XML Encode( local:_age ) ),
	Markup( "<b> Age</b>: {local:_age}
" )
);

 

hogi
Level XI

Re: How can I modify the default Settings of the Hover Labels Editor in my software?

@julian , I wonder if this is an application case for Platform Presets.

It's just a single setting which has to be applied.

So the preset has to recorded before any additional setting is defined (like value on the x and y axis etc).

lala
Level VII

Re: How can I modify the default Settings of the Hover Labels Editor in my software?

  • This reduces the need to write JSL.

  • Just for the machine, of course.