SVG Support, Button hide and show, input events and CF.request timeout duration

76 views
Skip to first unread message

wouter grutt

unread,
Jan 31, 2018, 5:07:10 PM1/31/18
to CommandFusion Software
Hey,

Now that i'm having to use the software more, I'm starting to have a couple of questions:

  • Is there any / upcoming support for SVG images. Right now it just shows nothing.
  • How can I hide and show buttons. For example a button only exists when a condition is met.
  • How do I get the events of an input field when focused and blurred. Like how javascript has it in the web browsers.
  • Can I change the CF.request timeout duration?

Kind Regards,
Wouter

Jarrod Bell

unread,
Jan 31, 2018, 5:17:51 PM1/31/18
to comman...@googlegroups.com
Currently no support for SVG. We will consider this for future.

You can use the CF.setProperties JS method to set the opacity of buttons. Otherwise you can place them on subpages and hide/show subpages via its digital join. http://commandfusion.com/docs/scripting/gui.html#cF.setProperties

You can use the JS API to detect when the keyboard is shown or hidden:
http://commandfusion.com/docs/scripting/gui.html#cF.KeyboardUpEvent

The ability to adjust the timeout of a CF.request call is coming in iViewer 5.

Regards,

Jarrod Bell
CommandFusion
www.commandfusion.com

--
You received this message because you are subscribed to the Google Groups "CommandFusion Software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commandfusio...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

wouter grutt

unread,
Jan 31, 2018, 5:31:54 PM1/31/18
to CommandFusion Software
Thanks for the quick reply.

Aah, I do think SVGs would be great. Especially with mobile devices now having all kinds of resolutions and able to show a sharp image on every device.

When the opacity is 0, can it still be pressed?

Perfect.

Tulio

unread,
Feb 1, 2018, 6:21:52 AM2/1/18
to CommandFusion Software
only when opacity is greater than 0 (no matter which value) the button can be pressed.

in the case you need a "invisible" button, you can set a button theme with no image. You will see a black square in guidesigner (it helps to position the button) and in app you will see nothing but the area is "pressable"  

wouter grutt

unread,
Feb 2, 2018, 12:30:51 PM2/2/18
to CommandFusion Software
Great, I just need to make sure the button can not be pressed when invisible. So the opacity 0 works for me, thanks.
Reply all
Reply to author
Forward
0 new messages