Jump to content

OIP Resource Popup


Recommended Posts

I'm struggling with adding a resource popup widget to my OIP.

 

I can make a resource popup work with using a kWidgetButtonResourcePopup (105) and then calling vs.vsoButtonGetResource when the widget button is pressed just fine, but it sure isn't as pretty as the actual resource popup. 😁

 

Whenever I use kWidgetResourcePopup (107) I'm adding the popup to my OIP just fine, however there's no data there and it's just greyed out.

kWidgetResourcePopup.png.c4f0867c3b4e89ba75c431fca0f8da5c.png

Clicking on it doesn't cause the resource pop up to display like with the button, nor does it do anything in terms of flagging events like the kWidgetButtonResourcePopup approach.

I've enabled kObjXPropSupportResourcePopup (53) via vs.SetObjPropVS during kObjOnInitXProperties.

I've tried using vs.vsoWidgetPopupAdd(N) to feed random data to it which doesn't seem to be the way to go about this.

Doesn't seem to be a way to link it to a resource list that's been built...?

 

What am I overlooking here to make this work? 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...