dmbUpdateBrowser
dmbUpdateBrowser( ) => t / nil
Description
Updates the library browser with the values currently in the registered form formFields. This function lets applications update the Library Browser based on what users type into a form.
Any form in the DFII software can be linked to the Library Browser using the dmbSyncWithForm or dmbSyncWithCellForm function. After you invoke the dmbUpdateBrowser function for the form, you no longer need to type values on the form for the library, cell, view, and (optionally) version. Instead, you can select from graphic choices displayed in the Library Browser window, and the selected value will automatically display in the appropriate name field on the form. Conversely, typing a value in a name field on the form causes that typed name to be selected in the Library Browser window.
Supplied for compatibility. Replace with ddsUpdateSyncWithForm.
Arguments
Value Returned
|
No library is selected or the Library Browser is not synchronized with any particular form. |
Examples
exampleLibName = hiCreateStringField(
?name 'exampleLibName
?prompt "Library Name"
?value ""
?callback "dmbUpdateBrowser( )"
)
exampleCellName = hiCreateStringField(
?name 'exampleCellName
?prompt "Cell Name"
?callback "dmbUpdateBrowser( )"
)
hiCreateForm(
'exampleOpenForm "Synched Form Example"
"exampleOpenForm( )"
list( exampleLibName
exampleCellName )
""
)
procedure( exampleBrowser( )
dmbSyncWithCellForm( exampleOpenForm 'browse 'exampleLibName 'exampleCellName)
)
procedure( exampleOpenForm( )
dmbSyncWithCellForm( exampleOpenForm 'other
'exampleLibName 'exampleCellName )
hiDisplayForm( 'exampleOpenForm ) dmbLibBrowserFormDone( 'other )
)
Return to top