|
|
|
|
|
LibraryPanelVisible (Property) In french: PanneauBibliothèqueVisible
The property LibraryPanelVisible property: - determine if the "Library" panel is displayed in a Diagram Editor control.
- show or hide the "Library" panel in a Diagram Editor control.
Reminder: The "Library" panel of a Diagram Editor control corresponds to the panel displaying predefined shapes that can be used in the Diagram Editor control. This panel is displayed on the left side of the Diagram Editor control.
EDIAG_Diagramme.PanneauBibliothèqueVisible = INT_Options[1]
EDIAG_Diagramme.PanneauModifieurVisible = INT_Options[2]
EDIAG_Diagramme.BarreOutilsVisible = INT_Options[3]
EDIAG_Diagramme.QuadrillageVisible = INT_Options[4]
Syntax
Determining if the "Library" panel is displayed Hide the details
<Result> = <Diagram Editor control>.LibraryPanelVisible
<Result>: Boolean - True if the "Library" panel is visible,
- False otherwise.
<Diagram Editor control>: Control name Name of the Diagram Editor control used.
Showing or hiding the "Library" panel Hide the details
<Diagram Editor control>.LibraryPanelVisible = <Display>
<Diagram Editor control>: Control name Name of the Diagram Editor control used. <Display>: Boolean - True to show the "Library" panel,
- False otherwise.
Remarks The "Library" panel allows you to display preset or custom libraries. Custom libraries can be created and displayed using the following code: sFichier is string = fTempDir() + [ fSep ] + "bibli_perso.wddiag"
BibliTemp is Diagram
D1 is diagOval
D1.Width = 50
D1.Height = 50
D1.Background.Color = DarkRed
Add(BibliTemp.Shape, D1)
D2 is diagOval
D2.Width = 50
D2.Height = 70
D2.Background.Color = DarkGreen
Add(BibliTemp.Shape, D2)
DiagramSave(BibliTemp, sFichier)
MaBibli is diagLibrary
DiagramLoadLibrary(MaBibli, sFichier)
MaBibli.Name = "Perso"
Add(EDIAG_Diagramme.Bibliothèque, MaBibli)
ToastDisplay("La bibliothèque personnelle a été ajoutée dans la liste.")
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|