Select to view content in your preferred language

Non Closeable, Fixed Position Widget

527
3
05-25-2011 05:57 AM
JadeFreeman
Occasional Contributor III
Anyone have an idea how I could create a widget that cannot be closed by the user and also cannot be moved by the user (disable the drag functionality)?
Tags (2)
0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus
Jade,

   That woukld require you to create your own copy of the WidgetTemplate.as and remove the close button. To make a widget non-draggable all you have to do is set the widgetcontainer's layout to equal fixed.
0 Kudos
JadeFreeman
Occasional Contributor III
Thanks Robert!  I see also that WidgetTemplate has properties to enable closing, resizing, dragging etc. which hide the buttons.  To hide the resize button in the lower right you must also set the resizable property to false.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Jade,

   Good to know. I missed where they added that.
0 Kudos