dmbSyncWithCellForm
dmbSyncWithCellForm(s_forms_synctypes_libraryNames_cellName[s_viewName] [s_versionNumber] ) => t / nil
Description
Establishes synchronization between a given form and the Library Browser. The given library, cell, and view fields are filled in as you select items in the Library Browser.
Any form in the DFII software can be linked to the Library Browser. Linking ensures that the library, cell, view, and version fields of the corresponding form and the selected expansion in the Library Browser window are synchronized. One of these two functions should be called immediately before bringing up any form that is to be synchronized with the Library Browser. The last four parameters to these functions dictate which fields in the form are synchronized with the Library Browser when the dmbUpdateBrowser function is invoked. You can synchronize only one form at a time with the Library Browser.
dmbSyncWithForm and dmbSyncWithCellForm are identical, except that s_viewName is required in dmbSyncWithForm and is optional in dmbSyncWithCellForm.
Supplied for compatibility. Replace both with ddsSyncWithForm.
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( )"
)
exampleViewName = hiCreateStringField(
?name 'exampleViewName
?prompt "View Name"
?callback "dmbUpdateBrowser( )"
)
exampleVersionNumber = hiCreateStringField(
?name 'exampleVersionNumber
?prompt "Version Number"
?callback "dmbUpdateBrowser( )"
)
exampleBrowser = hiCreateButtonBoxField(
?name 'exampleBrowser
?prompt " "
?choices '(" Browse ")
?callback list("exampleBrowser( )")
)
hiCreateForm( 'exampleOpenForm "Synched Form Example" "exampleOpenForm( )" list( exampleLibName exampleCellName exampleViewName exampleVersionNumber exampleBrowser ) "" ) procedure( exampleBrowser( ) dmbSyncWithForm( exampleOpenForm 'browse 'exampleLibName 'exampleCellName’exampleViewName
'exampleVersionNumber )
)
procedure( exampleOpenForm( )
dmbSyncWithForm( exampleOpenForm 'other 'exampleLibName
'exampleCellName 'exampleViewName
'exampleVersionNumber)
hiDisplayForm( 'exampleOpenForm )
dmbLibBrowserFormDone( 'other )
)
Return to top