Jump to content
Developer Wiki and Function Reference Links ×

Returning VAR to the OIP


Recommended Posts

An alternative is to add a static text widget to the parameter list in the plugin setup event by using:

FUNCTION vsoAppendWidget(widgetType:LONGINT; mappingID:LONGINT; text:STRING; data:LONGINT): BOOLEAN;

widget types:

kFieldLongInt = 1;

kFieldBoolean = 2;

kFieldReal = 3;

kFieldText = 4;

kFieldCalculation = 5;

kFieldHandle = 6;

kFieldCoordDisp = 7; {dimension}

kFieldPopUp = 8;

kFieldRadio = 9;

kFieldCoordLocX = 10;

kFieldCoordLocY = 11;

kWidgetButton = 12;

kWidgetStaticText = 13;

and the last one is what you would use to display information

Link to comment

I tried

vsoAppendWidget can't get this to load the file I can use

vsoInsertWidget.

This call is placed during the event of

kObjOnInitXProperties:

I can use:

vsoWidgetSetText(buttonID_3,Concat('FilePath:',p__Temp));

to feed information back to the field.

But the timing is odd.

The field only updates when I re:select the object. Ie deselect then select again.

It is not automatically updating?.

Link to comment

I noticed the same some weeks ago, it's a bug and Vlado informed us that it will get fixed in VW2012

Vlado on the VS mailinglist:

Yes, I see what you mean. Unfortunately, it should work but it isn't,

and this is a problem of VW. I'll fix it for VW2012.[/Quote]

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...