When the OLE Object control is linked, the method for updating the link information. If the user tries to activate the OLE object and PowerBuilder cannot find the linked file, which breaks the link, LinkUpdateOptions controls whether PowerBuilder automatically displays a dialog box prompting the user to find the file. If you turn off the automatic dialog box, you can reestablish the link by calling the LinkTo or LinkUpdateDialog in a script.
OLE Object controls
PowerBuilder dot notation:
dw_control.Object.olecontrolname.LinkUpdateOptions
Describe and Modify argument:
"olecontrolname.LinkUpdateOptions { = ' updatetype ' }"
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |