AddLBImage Dialogs - Modern - Browser 
VectorWorks11.0 - obsolete as of Vectorworks 2012

VectorScript Declaration:

FUNCTION   AddLBImage
(   dialogID :LONGINT;
    componentID :LONGINT;
    resourceType :INTEGER;
    resourceID :INTEGER
) :INTEGER ;

Python:

def  vs.AddLBImage(dialogID, componentID, resourceType, resourceID):
   return INTEGER

Special Notes:

AddLBImage is obsolete as of Vectorworks 2012

Description:

Adds specified image resource to image list.

Currently only one resource type is supported: the 'ics8' resource. This is a 16x16 color icon. Pass a value of 1 for the resourceType argument to indicate this type. Call SetVSResourceFile to specify a resource file that contains the icons.

説明

イメージリソースをイメージリストに追加します。廃止予定の関数です。代わりに AddListBrowserImage を使用してください。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
resourceType type of image resource to be added リソースタイプ
resourceID the resource ID of image to add リソース番号

See Also:

SetVSResourceFile   CreateLB   InsertLBColumn   SetLBControlType   SetLBItemDisplayType   InsertLBColumnDataItem   SetLBItemUsingColumnDataItem   InsertLBItem   EnableLBColumnLines  



  AddLBOriginalName Dialogs - Modern - Browser 
Vectorworks 2013

VectorScript Declaration:

PROCEDURE   AddLBOriginalName
(   dialogID :LONGINT;
    componentID :LONGINT;
    originalName :STRING
) ;

Python:

def  vs.AddLBOriginalName(dialogID, componentID, originalName):
   return None

Description:

This function is called when hierarchical display is on and a new item is added to the list browser.

説明

階層表示がONで、新規アイテムをリストブラウザに追加する時に呼び出されます。

Parameters:

dialogID The id of the dialog. ダイアログ番号
componentID The id of the list browser. リストブラウザ番号
originalName The original name of the new item being added to the list browser. リストブラウザに追加する新規アイテムの名前



  AddListBrowserImage Dialogs - Modern - Browser 
Vectorworks 2012

VectorScript Declaration:

FUNCTION   AddListBrowserImage
(   dialogID :LONGINT;
    controlID :LONGINT;
    imageSpecifier :DYNARRAY[] of CHAR
) :INTEGER ;

Python:

def  vs.AddListBrowserImage(dialogID, controlID, imageSpecifier):
   return INTEGER

Description:

Adds an image to a list browser. Replaces AddLBImage.

説明

リストブラウザにイメージを追加します。AddLBImage の代わりに使用してください。

Parameters:

dialogID The dialog identifier given by the command to create the dialog. ダイアログ番号
controlID The identifier of the control to be updated. アイテム番号
imageSpecifier The string identifier for the image. It should be of the form "ResourceFileNameWithoutExtension/PathOfImageFile". イメージの識別文字( 拡張子なしのリソースファイル名 / イメージファイルパス の形で指定します)



  AreLBColumnLinesEnabled Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   AreLBColumnLinesEnabled
(   dialogID :LONGINT;
    componentID :LONGINT
) :BOOLEAN ;

Python:

def  vs.AreLBColumnLinesEnabled(dialogID, componentID):
   return BOOLEAN

Description:

Determines if column lines are drawn.

説明

列の枠線が描かれている/いないを返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号



  AreLBRadioColumnLinesEnabled Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   AreLBRadioColumnLinesEnabled
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.AreLBRadioColumnLinesEnabled(dialogID, componentID, columnIndex):
   return BOOLEAN

Description:

Determines if "column" lines are drawn between radio control items.

説明

列の枠線がラジオボタンの間に描かれている/いないを返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the index of the column 列番号



  CollapseAllLBItems Dialogs - Modern - Browser 
Vectorworks 2013

VectorScript Declaration:

PROCEDURE   CollapseAllLBItems
(   dialogID :LONGINT;
    componentID :LONGINT
) ;

Python:

def  vs.CollapseAllLBItems(dialogID, componentID):
   return None

Description:

This function is called when a list browser is in hierarchical display mode, and it removes all items that are not at the top level and closes all container items.

説明

リストブラウザが階層表示モードの時に呼び出され、トップレベルにないすべてのアイテムを削除し、すべてのコンテナアイテムを閉じます。

Parameters:

dialogID The id of the dialog. ダイアログ番号
componentID The id of the list browser. リストブラウザ番号



  CreateLB Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

PROCEDURE   CreateLB
(   dialogID :LONGINT;
    componentID :LONGINT;
    widthInStdChar :INTEGER;
    heightInLines :INTEGER
) ;

Python:

def  vs.CreateLB(dialogID, componentID, widthInStdChar, heightInLines):
   return None

Description:

Creates a layout manager list browser control.

説明

リストブラウザを作成します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
widthInStdChar The width of the displayed text in standard character count. See GetDlgCtrlWidthStdCh. 幅(文字数指定)
heightInLines the height of the control in characters 高さ(文字数指定)

See Also:

GetDlgCtrlWidthStdCh  



  DeleteAllLBItems Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   DeleteAllLBItems
(   dialogID :LONGINT;
    componentID :LONGINT
) :BOOLEAN ;

Python:

def  vs.DeleteAllLBItems(dialogID, componentID):
   return BOOLEAN

Description:

Deletes all list browser items.

説明

リストブラウザからすべての項目を削除します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号



  DeleteLBColumn Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   DeleteLBColumn
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.DeleteLBColumn(dialogID, componentID, columnIndex):
   return BOOLEAN

Description:

Deletes a column from the specified list browser control.

説明

指定したリストブラウザから列を削除します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex index of the column to be deleted 列番号



  DeleteLBItem Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   DeleteLBItem
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.DeleteLBItem(dialogID, componentID, itemIndex):
   return BOOLEAN

Description:

Deletes an item from the specified list browser control.

説明

指定したリストブラウザからアイテムを削除します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the index of the item to delete アイテム番号



  EnableLB Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   EnableLB
(   dialogID :LONGINT;
    componentID :LONGINT;
    enable :BOOLEAN
) :BOOLEAN ;

Python:

def  vs.EnableLB(dialogID, componentID, enable):
   return BOOLEAN

Description:

Enables or disables the specified list browser.

説明

リストブラウザを使用する/しないを設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
enable determines if the list browser should be enabled or disabled. TRUE:使用する/FALSE:使用しない



  EnableLBClickAllDataChange Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   EnableLBClickAllDataChange
(   dialogID :LONGINT;
    componentID :LONGINT;
    enable :BOOLEAN
) :BOOLEAN ;

Python:

def  vs.EnableLBClickAllDataChange(dialogID, componentID, enable):
   return BOOLEAN

Description:

Enables all radio and multi state column data items to be changed with a single click if the alt key or option key is pressed during the click.

説明

クリックする際にoption (Mac) /alt (Win) キーを押していれば、ラジオボタンや複数選択可能な列にあるすべてのデータ項目を一回のクリックで変更する/しないを設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
enable determines if all data items should be changed during the click if the appropriate modifier key is pressed. TRUE:変更する/FALSE:変更しない



  EnableLBColumnLines Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

PROCEDURE   EnableLBColumnLines
(   dialogID :LONGINT;
    componentID :LONGINT;
    enableColumnLines :BOOLEAN
) ;

Python:

def  vs.EnableLBColumnLines(dialogID, componentID, enableColumnLines):
   return None

Description:

Enables/disables column lines.

説明

列の枠線を作成する/しないを設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
enableColumnLines specifies if column lines should be drawn 枠線の設定(TRUE:作成する/FALSE:しない)



  EnableLBColumnTracking Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

PROCEDURE   EnableLBColumnTracking
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    enableColumnTracking :BOOLEAN
) ;

Python:

def  vs.EnableLBColumnTracking(dialogID, componentID, columnIndex, enableColumnTracking):
   return None

Description:

Enables/disables column tracking.

説明

列を編成する/しないを設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the index of the column 列番号
enableColumnTracking specifies if column tracking should be enabled or disabled 編成の設定(TRUE:編成する/FALSE:編成しない)



  EnableLBDragAndDrop Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   EnableLBDragAndDrop
(   dialogID :LONGINT;
    componentID :LONGINT;
    enable :BOOLEAN
) :BOOLEAN ;

Python:

def  vs.EnableLBDragAndDrop(dialogID, componentID, enable):
   return BOOLEAN

Description:

Enables list browser drag and drop. Use SetLBDragDropColumn to set the drag and drop column.

説明

ドラッグ&ドロップ機能を使用する/しないを設定します。SetLBDragDropColumnを使って、ドラッグ&ドロップ列を設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
enable determines if drag and drop should be enabled TRUE:使用する/FALSE:使用しない



  EnableLBExternalSort Dialogs - Modern - Browser 
Vectorworks 2020

VectorScript Declaration:

PROCEDURE   EnableLBExternalSort
(   dialogID :LONGINT;
    componentID :LONGINT;
    enable :BOOLEAN
) ;

Python:

def  vs.EnableLBExternalSort(dialogID, componentID, enable):
   return None

Description:

Enables/disables external sorting.

説明

外部ソートを有効/無効にします。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
enable specifies whether to enable or disable external sorting 外部ソートの設定



  EnableLBHierDisplay Dialogs - Modern - Browser 
Vectorworks 2013

VectorScript Declaration:

PROCEDURE   EnableLBHierDisplay
(   dialogID :LONGINT;
    componentID :LONGINT;
    enableHierDisplay :BOOLEAN
) ;

Python:

def  vs.EnableLBHierDisplay(dialogID, componentID, enableHierDisplay):
   return None

Description:

This function enables/disables the list browser to display items hierarchically. Calling this along will not change the display. The hierarchical display column must be set.

説明

リストブラウザでアイテムを階層表示する/しないを設定します。この関数を呼んだだけでは表示は変わりません。列が階層表示する設定である必要があります。

Parameters:

dialogID The id of the dialog containing the list browser. ダイアログ番号
componentID The id of the list browser. リストブラウザ番号
enableHierDisplay Whether to enable hierarchical display in the list browser. 階層表示する/しない

See Also:

SetLBHierDispColumn  



  EnableLBRadioColumnLines Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

PROCEDURE   EnableLBRadioColumnLines
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    enableRadioColumnLines :BOOLEAN
) ;

Python:

def  vs.EnableLBRadioColumnLines(dialogID, componentID, columnIndex, enableRadioColumnLines):
   return None

Description:

Enables/disables radio item "column" lines.

説明

ラジオボタンを列の線に配置する/しないを設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the index of the column 列番号
enableRadioColumnLines specifies if radio item "column" lines should be drawn 配置の設定(TRUE:配置する/FALSE:配置しない)



  EnableLBSingleLineSelection Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   EnableLBSingleLineSelection
(   dialogID :LONGINT;
    componentID :LONGINT;
    enable :BOOLEAN
) :BOOLEAN ;

Python:

def  vs.EnableLBSingleLineSelection(dialogID, componentID, enable):
   return BOOLEAN

Description:

Enables single line only selection. Multiple selections will not be permitted.

説明

1行のみ選択可能に設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
enable determines if single line selection only should be enabled. TRUE:1行のみ選択/FALSE:複数行選択



  EnableLBSorting Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

PROCEDURE   EnableLBSorting
(   dialogID :LONGINT;
    componentID :LONGINT;
    enableSorting :BOOLEAN
) ;

Python:

def  vs.EnableLBSorting(dialogID, componentID, enableSorting):
   return None

Description:

Enables/disables sorting.

説明

並び替え(ソート)する/しないを設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
enableSorting specifies whether to enable or disable sorting ソートの設定(TRUE:する/FALSE:しない)



  EnableLBUpdates Dialogs - Modern - Browser 
VectorWorks12.5

VectorScript Declaration:

PROCEDURE   EnableLBUpdates
(   liDialogID :LONGINT;
    liComponentID :LONGINT;
    bEnableUpdates :BOOLEAN
) ;

Python:

def  vs.EnableLBUpdates(liDialogID, liComponentID, bEnableUpdates):
   return None

Description:

Determines if updates should be enabled for the specified list browser.

説明

リストブラウザを更新する/しないを設定します。



  EnsureLBItemIsVisible Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   EnsureLBItemIsVisible
(   dialogID :LONGINT;
    componentID :LONGINT;
    index :INTEGER
) :BOOLEAN ;

Python:

def  vs.EnsureLBItemIsVisible(dialogID, componentID, index):
   return BOOLEAN

Description:

Ensures the element at the given row index is visible in the specified list browser.

説明

リストブラウザで、指定した行のデータが表示されるようにします。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
index the row index 行番号



  ExpandAllLBItems Dialogs - Modern - Browser 
Vectorworks 2013

VectorScript Declaration:

PROCEDURE   ExpandAllLBItems
(   dialogID :LONGINT;
    componentID :LONGINT
) ;

Python:

def  vs.ExpandAllLBItems(dialogID, componentID):
   return None

Description:

This function is called when a list browser is in hierarchical display mode, and it redisplays all items that were hidden and opens all the containers.

説明

リストブラウザが階層表示モードの時に呼び出され、非表示になっていたすべてのアイテムを再表示し、すべてのコンテナを開きます。

Parameters:

dialogID The id of the dialog. ダイアログ番号
componentID The id of the list browser. リストブラウザ番号



  FindLBColumnDataItem Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   FindLBColumnDataItem
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    itemString :STRING;
  VAR  columnDataItemIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.FindLBColumnDataItem(dialogID, componentID, columnIndex, itemString):
   return (BOOLEAN, columnDataItemIndex)

Description:

Finds the column data item with the specified text.

説明

文字列を指定して列に含まれているデータアイテムを検索します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the index of the column 列番号
itemString the text to find 文字列
columnDataItemIndex the index at which the text was found データアイテム番号



  FindLBColumnItem Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   FindLBColumnItem
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    itemString :STRING;
  VAR  itemIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.FindLBColumnItem(dialogID, componentID, columnIndex, itemString):
   return (BOOLEAN, itemIndex)

Description:

Finds the column item with the specified text.

説明

文字列を指定して列に含まれているアイテムを検索します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the index of the column 列番号
itemString the text to find 文字列
itemIndex the index at which the text was found アイテム番号



  GetLBColumnDataItemInfo Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   GetLBColumnDataItemInfo
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    columnDataItemIndex :INTEGER;
  VAR  itemString :STRING;
  VAR  imageOn :INTEGER;
  VAR  imageOff :INTEGER;
  VAR  itemData :LONGINT
) :BOOLEAN ;

Python:

def  vs.GetLBColumnDataItemInfo(dialogID, componentID, columnIndex, columnDataItemIndex):
   return (BOOLEAN, itemString, imageOn, imageOff, itemData)

Description:

Gets the specified column data item's text, image and user data.

説明

指定した列のデータ(文字列やイメージ、ユーザデータ)を返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the column from which to get the data 列番号
columnDataItemIndex the column data item データアイテム番号
itemString the item text 文字列
imageOn the 'on' image list index ONのイメージ
imageOff the 'off' image list index OFFのイメージ
itemData the item user data ユーザデータ



  GetLBColumnHeaderJust Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   GetLBColumnHeaderJust
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
  VAR  justification :INTEGER
) :BOOLEAN ;

Python:

def  vs.GetLBColumnHeaderJust(dialogID, componentID, columnIndex):
   return (BOOLEAN, justification)

Description:

Retrieves the specified column header's justification.

説明

指定した列ヘッダの位置揃えを返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the column index 列番号
justification Left - 1 Center - 2 Right - 3 位置揃え
1:左/2:中心/3:右



  GetLBColumnHeaderToolTip Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   GetLBColumnHeaderToolTip
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
  VAR  toolTipPrimaryText :STRING;
  VAR  toolTipSubText :STRING
) :BOOLEAN ;

Python:

def  vs.GetLBColumnHeaderToolTip(dialogID, componentID, columnIndex):
   return (BOOLEAN, toolTipPrimaryText, toolTipSubText)

Description:

Gets the list browser column header's tooltip text.

説明

リストブラウザの列ヘッダでツールチップとして表示される文字列を返します。サブツールチップはcommand (Mac) /shift (Win) を押した時に表示されます。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the column index 列番号
toolTipPrimaryText the primary tooltip text ツールチップの文字列
toolTipSubText the sub tooltip text displayed when the user the command (Mac) or shift (Win) button サブツールチップの文字列



  GetLBColumnOwnerDrawnType Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   GetLBColumnOwnerDrawnType
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  ownerDrawnType :INTEGER
) :BOOLEAN ;

Python:

def  vs.GetLBColumnOwnerDrawnType(dialogID, componentID, itemIndex, subItemIndex):
   return (BOOLEAN, ownerDrawnType)

Description:

Gets the list browser column's owner drawn type.

説明

リストブラウザの列の描画タイプを返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
ownerDrawnType None - 0 Solid rect - 1 Dual solid rect - 2 Pattern rect - 3 Dual pattern rect - 4 Gradient or image - 5 Blank - 6 Text - 7 Dashed line - 8 0:なし/1:四角形(塗り潰し)/2:二重四角形(塗り潰し)/3:四角形(模様)/4:二重四角形(模様)/5:グラデーションまたはイメージ/6:空白/7:文字列/8:破線



  GetLBColumnSortState Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   GetLBColumnSortState
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER
) :INTEGER ;

Python:

def  vs.GetLBColumnSortState(dialogID, componentID, columnIndex):
   return INTEGER

Description:

Gets the column sort state.

説明

列のソート状態を返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the column index 列番号



  GetLBColumnWidth Dialogs - Modern - Browser 
Vectorworks 2009

VectorScript Declaration:

FUNCTION   GetLBColumnWidth
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
  VAR  width :INTEGER
) :BOOLEAN ;

Python:

def  vs.GetLBColumnWidth(dialogID, componentID, columnIndex):
   return (BOOLEAN, width)

Description:

Gets the width of the specified column in the specified list browser control.

説明

指定したリストブラウザにある指定した列の幅を返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the column from which to get the width 列番号
width width of the column



  GetLBControlType Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   GetLBControlType
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER
) :INTEGER ;

Python:

def  vs.GetLBControlType(dialogID, componentID, columnIndex):
   return INTEGER

Description:

Gets control type for column.

説明

列の制御タイプを返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the index of the column 列番号



  GetLBEditDisplayType Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   GetLBEditDisplayType
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER
) :INTEGER ;

Python:

def  vs.GetLBEditDisplayType(dialogID, componentID, columnIndex):
   return INTEGER

Description:

Gets edit display type for list items in specified column.

説明

指定した列にあるリストアイテムの表示形式を返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the index of the column 列番号



  GetLBEventInfo Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   GetLBEventInfo
(   dialogID :LONGINT;
    componentID :LONGINT;
  VAR  eventType :INTEGER;
  VAR  rowIndex :INTEGER;
  VAR  columIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.GetLBEventInfo(dialogID, componentID):
   return (BOOLEAN, eventType, rowIndex, columIndex)

Description:

Retrieves the last event information for the specified list browser.

説明

リストブラウザで最後に実行されたイベントの情報を返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
rowIndex the row index where the click occurred. クリックされた行の番号
columIndex the column index where the click occurred. クリックされた列の番号



  GetLBItemDashStyle Dialogs - Modern - Browser 
VectorWorks12.0 - obsolete as of Vectorworks 2019

VectorScript Declaration:

FUNCTION   GetLBItemDashStyle
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  styleIndex :INTEGER;
  VAR  lineWeight :INTEGER
) :BOOLEAN ;

Python:

def  vs.GetLBItemDashStyle(dialogID, componentID, itemIndex, subItemIndex):
   return (BOOLEAN, styleIndex, lineWeight)

Special Notes:

GetLBItemDashStyle is obsolete as of Vectorworks 2019

Description:

Deprecated - will generate error. Use GetLBItemLineType instead.

説明

リストブラウザアイテムの破線の種類を返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
styleIndex the dash line's style index 破線の種類番号
lineWeight the dash line's line weight 破線の太さ

See Also:

GetLBItemLineType  



  GetLBItemData Dialogs - Modern - Browser 
VectorWorks12.5

VectorScript Declaration:

PROCEDURE   GetLBItemData
(   nDialogID :LONGINT;
    nComponentID :LONGINT;
    nItemIndex :INTEGER;
    nSubItemIndex :INTEGER;
  VAR  nUserData :LONGINT
) ;

Python:

def  vs.GetLBItemData(nDialogID, nComponentID, nItemIndex, nSubItemIndex):
   return nUserData

Description:

Retrieves the user data associated with the list browser item.

説明

リストブラウザアイテムのユーザデータを返します。



  GetLBItemDisplayType Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   GetLBItemDisplayType
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER
) :INTEGER ;

Python:

def  vs.GetLBItemDisplayType(dialogID, componentID, columnIndex):
   return INTEGER

Description:

Gets item display type for list items in specified column.

説明

指定した列にあるリストアイテムの表示形式を返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the index of the column 列番号



  GetLBItemFillBackColor Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   GetLBItemFillBackColor
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  redIndex :INTEGER;
  VAR  greenIndex :INTEGER;
  VAR  blueIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.GetLBItemFillBackColor(dialogID, componentID, itemIndex, subItemIndex):
   return (BOOLEAN, redIndex, greenIndex, blueIndex)

Description:

Gets the specified list browser item's fill background color.

説明

リストブラウザアイテムの面の地色を返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
redIndex the red component (0 - 255) 赤(0~255)
greenIndex the green component (0 - 255) 緑(0~255)
blueIndex the blue component (0 - 255) 青(0~255)



  GetLBItemFillForeColor Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   GetLBItemFillForeColor
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  redIndex :INTEGER;
  VAR  greenIndex :INTEGER;
  VAR  blueIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.GetLBItemFillForeColor(dialogID, componentID, itemIndex, subItemIndex):
   return (BOOLEAN, redIndex, greenIndex, blueIndex)

Description:

Gets the specified list browser item's fill foreground color.

説明

リストブラウザアイテムの面の色を返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
redIndex the red component (0 - 255) 赤(0~255)
greenIndex the green component (0 - 255) 緑(0~255)
blueIndex the blue component (0 - 255) 青(0~255)



  GetLBItemGradientOrImageRefNumber Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   GetLBItemGradientOrImageRefNumber
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  refNumber :LONGINT
) :BOOLEAN ;

Python:

def  vs.GetLBItemGradientOrImageRefNumber(dialogID, componentID, itemIndex, subItemIndex):
   return (BOOLEAN, refNumber)

Description:

Gets the specified list browser item's gradient or image.

説明

リストブラウザアイテムのグラデーションまたはイメージを返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
refNumber the gradient or image's ref number グラデーションまたはイメージの参照



  GetLBItemHatchRefNum Dialogs - Modern - Browser 
Vectorworks 2022

VectorScript Declaration:

FUNCTION   GetLBItemHatchRefNum
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  refNumber :LONGINT
) :BOOLEAN ;

Python:

def  vs.GetLBItemHatchRefNum(dialogID, componentID, itemIndex, subItemIndex):
   return (BOOLEAN, refNumber)

Description:

Sets the specified list browser item's hatch.

説明

リストブラウザアイテムのハッチングを取得します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the colum index 列番号
refNumber the hatch's ref number ハッチングの参照番号



  GetLBItemInfo Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   GetLBItemInfo
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  itemString :STRING;
  VAR  imageIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.GetLBItemInfo(dialogID, componentID, itemIndex, subItemIndex):
   return (BOOLEAN, itemString, imageIndex)

Description:

Gets string and image information for a specified item of a List Browser control.

説明

指定したアイテムのデータを返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the item index アイテム番号
subItemIndex the subitem index サブアイテム番号
itemString the item text 文字列
imageIndex the item image list index イメージ番号



  GetLBItemLineType Dialogs - Modern - Browser 
Vectorworks 2015

VectorScript Declaration:

FUNCTION   GetLBItemLineType
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  lineType :LONGINT;
  VAR  lineWeight :INTEGER
) :BOOLEAN ;

Python:

def  vs.GetLBItemLineType(dialogID, componentID, itemIndex, subItemIndex):
   return (BOOLEAN, lineType, lineWeight)

Description:

Gets the specified list browser item's line type.

説明

指定したリストブラウザアイテムのラインタイプを返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
lineType the line type internal index (reference number) ラインタイプのインデックス
lineWeight the line weight 線の太さ



  GetLBItemMkrByClass Dialogs - Modern - Browser 
Vectorworks 2022

VectorScript Declaration:

FUNCTION   GetLBItemMkrByClass
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  isByClass :BOOLEAN
) :BOOLEAN ;

Python:

def  vs.GetLBItemMkrByClass(dialogID, componentID, itemIndex, subItemIndex):
   return (BOOLEAN, isByClass)

Description:

Gets if the specified list browser item's marker is by class.

説明

指定されたリストブラウザアイテムのマーカーがクラスごとであるかどうかを取得します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
isByClass if the marker is by class or not マーカーがクラス別かどうか



  GetLBItemMkrChoice Dialogs - Modern - Browser 
Vectorworks 2022

VectorScript Declaration:

PROCEDURE   GetLBItemMkrChoice
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  style :LONGINT;
  VAR  angle :INTEGER;
  VAR  size :REAL;
  VAR  width :REAL;
  VAR  thicknessBasis :INTEGER;
  VAR  thickness :REAL
) ;

Python:

def  vs.GetLBItemMkrChoice(dialogID, componentID, itemIndex, subItemIndex):
   return (BOOLEAN, style, angle, size, width, thicknessBasis, thickness)

Description:

Gets the specified list browser item's marker.

説明

指定されたリストブラウザアイテムのマーカーを取得します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
style the marker's style マーカーのスタイル
angle the marker's angle マーカーの角度
size the marker's size マーカーのサイズ
width the marker's width マーカーの幅
thicknessBasis the marker's thickness basis マーカーの厚さの基準
thickness the marker's thickness マーカーの厚さ



  GetLBItemOrigName Dialogs - Modern - Browser 
Vectorworks 2013

VectorScript Declaration:

FUNCTION   GetLBItemOrigName
(   dialogID :LONGINT;
    compenentID :LONGINT;
    itemIndex :INTEGER
) :STRING ;

Python:

def  vs.GetLBItemOrigName(dialogID, compenentID, itemIndex):
   return STRING

Description:

Returns the original name for a list browser item when hierarchical display is on. If the item is a container item, it will return an empty string.

説明

階層表示がONの時に、リストブラウザアイテムの元の名前を返します。アイテムがコンテナアイテムの場合には、空のストリングを返します。

Parameters:

dialogID The id of the dialog. ダイアログ番号
compenentID The id of the list browser. リストブラウザ番号
itemIndex The index of the item for which the original name is returned. リストブラウザアイテムの番号

Result:

The original name of the indicated item.

返り値

指定したアイテムの元の名前を返します。

See Also:

AddLBOriginalName  



  GetLBItemPatternIndex Dialogs - Modern - Browser 
Vectorworks 2010

VectorScript Declaration:

FUNCTION   GetLBItemPatternIndex
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    the column index :INTEGER;
  VAR  outPatIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.GetLBItemPatternIndex(dialogID, componentID, itemIndex, the column index):
   return (BOOLEAN, outPatIndex)

Description:

Gets the specified list browser item's pattern index.

説明

リストブラウザアイテムの模様番号をを返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
the column index the column index 列番号
outPatIndex Output parameter. Returns the pattern index of this item. Value from [1..71] 模様番号(1..71)



  GetLBItemPenBackColor Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   GetLBItemPenBackColor
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  redIndex :INTEGER;
  VAR  greenIndex :INTEGER;
  VAR  blueIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.GetLBItemPenBackColor(dialogID, componentID, itemIndex, subItemIndex):
   return (BOOLEAN, redIndex, greenIndex, blueIndex)

Description:

Gets the specified list browser item's pen background color.

説明

リストブラウザアイテムの線の地色を返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
redIndex the red component (0 - 255) 赤(0~255)
greenIndex the green component (0 - 255) 緑(0~255)
blueIndex the blue component (0 - 255) 青(0~255)



  GetLBItemPenForeColor Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   GetLBItemPenForeColor
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  redIndex :INTEGER;
  VAR  greenIndex :INTEGER;
  VAR  blueIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.GetLBItemPenForeColor(dialogID, componentID, itemIndex, subItemIndex):
   return (BOOLEAN, redIndex, greenIndex, blueIndex)

Description:

Gets the specified list browser item's pen foreground color.

説明

リストブラウザアイテムの線の色を返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
redIndex the red component (0 - 255) 赤(0~255)
greenIndex the green component (0 - 255) 緑(0~255)
blueIndex the blue component (0 - 255) 青(0~255)



  GetLBItemTextColor Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   GetLBItemTextColor
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  redIndex :INTEGER;
  VAR  greenIndex :INTEGER;
  VAR  blueIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.GetLBItemTextColor(dialogID, componentID, itemIndex, subItemIndex):
   return (BOOLEAN, redIndex, greenIndex, blueIndex)

Description:

Gets the text color for the specified list browser item.

説明

リストブラウザアイテムの文字の色を返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
redIndex the red component (0 - 255) 赤(0~255)
greenIndex the green component (0 - 255) 緑(0~255)
blueIndex the blue component (0 - 255) 青(0~255)



  GetLBItemTextJust Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   GetLBItemTextJust
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  justification :INTEGER
) :BOOLEAN ;

Python:

def  vs.GetLBItemTextJust(dialogID, componentID, itemIndex, subItemIndex):
   return (BOOLEAN, justification)

Description:

Gets the text alignment for the specified list browser item.

説明

リストブラウザアイテムの文字の位置揃えを返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
justification Left - 1 Center - 2 Right - 3 位置揃え(1:左/2:中央/3:右)



  GetLBItemTextStyle Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   GetLBItemTextStyle
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  textStyle :INTEGER
) :BOOLEAN ;

Python:

def  vs.GetLBItemTextStyle(dialogID, componentID, itemIndex, subItemIndex):
   return (BOOLEAN, textStyle)

Description:

Gets the text style for the specified list browser item.

説明

リストブラウザアイテムの文字のスタイルを返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
textStyle Plain - 0 Bold - 1 Italic - 2 Underline - 4 Outline - 16 (Mac only) Shadow - 32 (Mac only) 文字のスタイル(0:標準/1:ボールド/2:イタリック/4:アンダーライン/16:アウトライン/32:シャドウ)



  GetLBItemTileRefNum Dialogs - Modern - Browser 
Vectorworks 2022

VectorScript Declaration:

FUNCTION   GetLBItemTileRefNum
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  refNumber :LONGINT
) :BOOLEAN ;

Python:

def  vs.GetLBItemTileRefNum(dialogID, componentID, itemIndex, subItemIndex):
   return (BOOLEAN, refNumber)

Description:

Sets the specified list browser item's tile.

説明

指定したリストブラウザアイテムのタイルを取得します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the colum index 列番号
refNumber the tile's ref number タイルの参照番号



  GetLBMultImageIndexes Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   GetLBMultImageIndexes
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
  VAR  imageIndex0 :INTEGER;
  VAR  imageIndex1 :INTEGER;
  VAR  imageIndex2 :INTEGER
) :BOOLEAN ;

Python:

def  vs.GetLBMultImageIndexes(dialogID, componentID, itemIndex, subItemIndex):
   return (BOOLEAN, imageIndex0, imageIndex1, imageIndex2)

Description:

Gets the index of the images within the list browser multi image display.

説明

リストブラウザの複数イメージ表示にあるイメージの番号を返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
imageIndex0 the 'ics8' resource index of the first image 1つ目のイメージの「ics8」リソース番号
imageIndex1 the 'ics8' resource index of the second image 2つ目のイメージの「ics8」リソース番号
imageIndex2 the 'ics8' resource index of the third image 3つ目のイメージの「ics8」リソース番号



  GetLBOrigNameClLevel Dialogs - Modern - Browser 
Vectorworks 2013

VectorScript Declaration:

PROCEDURE   GetLBOrigNameClLevel
(   dialogID :LONGINT;
    componentID :LONGINT;
    originalName :STRING;
  VAR  level1Closed :BOOLEAN;
  VAR  level2Closed :BOOLEAN;
  VAR  level3Closed :BOOLEAN
) ;

Python:

def  vs.GetLBOrigNameClLevel(dialogID, componentID, originalName):
   return (level1Closed, level2Closed, level3Closed)

Description:

This function returns the close levels for an original name in the list browser. If the item for the name is displayed, then all the closeLevels will be false.

説明

リストブラウザ内の元の名前の閉じレベルを返します。名前が表示されているときは、全てFALSEとなります。

Parameters:

dialogID The id of the dialog. ダイアログ番号
componentID The id of the list browser. リストブラウザ番号
originalName The original name of the item. アイテムの元の名前
level1Closed Whether the item's level 1 container is closed. レベル1のアイテムが閉じているかどうか
level2Closed Whether the item's level 2 container is closed. レベル2のアイテムが閉じているかどうか
level3Closed Whether the item's level 3 container is closed. レベル3のアイテムが閉じているかどうか



  GetLBSortColumn Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   GetLBSortColumn
(   dialogID :LONGINT;
    componentID :LONGINT
) :INTEGER ;

Python:

def  vs.GetLBSortColumn(dialogID, componentID):
   return INTEGER

Description:

Gets the index of the sort column in the specified list browser control.

説明

リストブラウザでソートされている列の番号を返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号



  GetNumLBColumnDataItems Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   GetNumLBColumnDataItems
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER
) :INTEGER ;

Python:

def  vs.GetNumLBColumnDataItems(dialogID, componentID, columnIndex):
   return INTEGER

Description:

Get the number of columnDataItems.

説明

列のデータアイテムの数を返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the index of the column 列番号



  GetNumLBColumns Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   GetNumLBColumns
(   dialogID :LONGINT;
    componentID :LONGINT
) :INTEGER ;

Python:

def  vs.GetNumLBColumns(dialogID, componentID):
   return INTEGER

Description:

Gets the number of columns in the specified list browser control.

説明

指定したリストブラウザにある列の数を返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号



  GetNumLBItems Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   GetNumLBItems
(   dialogID :LONGINT;
    componentID :LONGINT
) :INTEGER ;

Python:

def  vs.GetNumLBItems(dialogID, componentID):
   return INTEGER

Description:

Gets the number of items in the specified list browser control.

説明

指定したリストブラウザにあるアイテムの数を返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号

Result:

Returns the number of items in the list browser.

返り値

リストブラウザにあるアイテムの数を返します。



  GetNumSelectedLBItems Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   GetNumSelectedLBItems
(   dialogID :LONGINT;
    componentID :LONGINT
) :INTEGER ;

Python:

def  vs.GetNumSelectedLBItems(dialogID, componentID):
   return INTEGER

Description:

Returns the number of selected list browser items.

説明

リストブラウザで選択されているアイテムの数を返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号



  HierLBItemClosed Dialogs - Modern - Browser 
Vectorworks 2013

VectorScript Declaration:

PROCEDURE   HierLBItemClosed
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    recursive :BOOLEAN
) ;

Python:

def  vs.HierLBItemClosed(dialogID, componentID, itemIndex, recursive):
   return None

Description:

This function is called when the user clicks on a container item to close it. It will remove items that are inside the container being closed.

説明

ユーザがコンテナアイテムを閉じるためにクリックすると呼び出されます。閉じるコンテナ内にあるアイテムを削除します。

Parameters:

dialogID The id of the dialog containing the list browser. ダイアログ番号
componentID The id of the list browser. リストブラウザ番号
itemIndex The index of the item that was clicked on. クリックされたコンテナアイテムの番号
recursive Whether to also close any containers inside the container that was clicked on. 下位レベル全てを閉じるかどうか

See Also:

HierLBItemOpened  



  HierLBItemIsClosed Dialogs - Modern - Browser 
Vectorworks 2013

VectorScript Declaration:

FUNCTION   HierLBItemIsClosed
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.HierLBItemIsClosed(dialogID, componentID, itemIndex):
   return BOOLEAN

Description:

Returns whether the indicated container item is closed.

説明

指定したコンテナアイテムが閉じているかを返します。

Parameters:

dialogID The id of the dialog. ダイアログ番号
componentID The id of the list browser. リストブラウザ番号
itemIndex The index of the item. コンテナアイテムの番号



  HierLBItemIsContain Dialogs - Modern - Browser 
Vectorworks 2013

VectorScript Declaration:

FUNCTION   HierLBItemIsContain
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.HierLBItemIsContain(dialogID, componentID, itemIndex):
   return BOOLEAN

Description:

Returns whether the indicated item is a container item.

説明

指定したアイテムがコンテナアイテムかを返します。

Parameters:

dialogID The id of the dialog containing the list browser. ダイアログ番号
componentID The ID of the list browser. リストブラウザ番号
itemIndex The index of the item. コンテナアイテムの番号

Result:

Whether the indicated item is a container item.

返り値

指定したアイテムがコンテナアイテムかを返します。

See Also:

HierLBItemIsClosed  



  HierLBItemOpened Dialogs - Modern - Browser 
Vectorworks 2013

VectorScript Declaration:

PROCEDURE   HierLBItemOpened
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    recursive :BOOLEAN;
  VAR  numbRedisplItems :INTEGER
) ;

Python:

def  vs.HierLBItemOpened(dialogID, componentID, itemIndex, recursive):
   return numbRedisplItems

Description:

This function is called when the user clicks on a container item to open it. It wil redisplay items inside the container that were hidden (unless they are inside a lower level container that is closed), but only with the hierarchical name set. If other data needs to be redisplayed, it will need to be done with other functions. numbRedisplItems indicates how many non-container items were redisplayed.

説明

ユーザがコンテナアイテムを開くためにクリックすると呼び出されます。閉じている下位レベルコンテナ内にない限り、非表示だったコンテナ内のアイテムを再表示します。

Parameters:

dialogID The id of the dialog containing the list browser. ダイアログ番号
componentID The id of the list browser. リストブラウザ番号
itemIndex The index of the item that was clicked on. クリックされたコンテナアイテムの番号
recursive Indicates whether any subcontainers should also be opened. 下位レベル全てを再表示するかどうか
numbRedisplItems The number of items that were redisplayed. 再表示されたコンテナアイテムの数

See Also:

HierLBItemClosed  



  InsertLBColumn Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   InsertLBColumn
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    headerString :STRING;
    width :INTEGER
) :INTEGER ;

Python:

def  vs.InsertLBColumn(dialogID, componentID, columnIndex, headerString, width):
   return INTEGER

Description:

Inserts a column into the specified list browser control. Returns index of created column.

説明

指定したリストブラウザに列を挿入します。作成された列の番号を返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex index at which the column is to be inserted 列番号
headerString text to set as column header ヘッダの文字列
width the width of the column in pixels 列の幅(ピクセル)



  InsertLBColumnDataItem Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   InsertLBColumnDataItem
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    itemString :STRING;
    imageOn :INTEGER;
    imageOff :INTEGER;
    itemData :LONGINT
) :INTEGER ;

Python:

def  vs.InsertLBColumnDataItem(dialogID, componentID, columnIndex, itemString, imageOn, imageOff, itemData):
   return INTEGER

Description:

Inserts column data item with specified data. Returns the index to the newly inserted item.

説明

指定したデータを列に挿入します。作成されたアイテムの番号を返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the column for which to set the data 列番号
itemString the item text アイテムの文字列
imageOn the 'on' image list index ONのイメージ
imageOff the 'off' image list index OFFのイメージ
itemData the item user data ユーザデータ



  InsertLBItem Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   InsertLBItem
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    itemString :STRING
) :INTEGER ;

Python:

def  vs.InsertLBItem(dialogID, componentID, itemIndex, itemString):
   return INTEGER

Description:

Insert an item into the specified list browser control. Returns the index of the created item.

説明

指定したリストブラウザにアイテムを挿入します。作成されたアイテムの番号を返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex index at which the item is to be inserted アイテム番号
itemString text to set for item アイテムの文字列



  IsLBColumnTrackingEnabled Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   IsLBColumnTrackingEnabled
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.IsLBColumnTrackingEnabled(dialogID, componentID, columnIndex):
   return BOOLEAN

Description:

Determines if column tracking is enabled for the specified column.

説明

指定した列で編成の有効/無効を返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the index of the column 列番号



  IsLBDisplayHier Dialogs - Modern - Browser 
Vectorworks 2013

VectorScript Declaration:

FUNCTION   IsLBDisplayHier
(   dialogID :LONGINT;
    componentID :LONGINT
) :BOOLEAN ;

Python:

def  vs.IsLBDisplayHier(dialogID, componentID):
   return BOOLEAN

Description:

Returns whether the indicated list browser is set to display items hierarchically. One column in the list browser can be set to display names heirarchically.

説明

指定したリストブラウザがアイテムを階層表示するよう設定されているかを返します。

Parameters:

dialogID The id of the dialog containing the list browser. ダイアログ番号
componentID The id of the list browser. リストブラウザ番号

See Also:

EnableLBHierDisplay  



  IsLBItemReadOnly Dialogs - Modern - Browser 
Vectorworks 2022

VectorScript Declaration:

FUNCTION   IsLBItemReadOnly
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.IsLBItemReadOnly(dialogID, componentID, itemIndex, subItemIndex):
   return BOOLEAN

Description:

Determines if the specified item is read only.

説明

指定された項目が読み取り専用かどうかを判断します。

Parameters:

dialogID id of the dialog that contains the list browser リストブラウザを含むダイアログ番号
componentID id of the list browser control リストブラウザコントロール番号
itemIndex the row number 行番号
subItemIndex the column number 列番号



  IsLBItemSelected Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   IsLBItemSelected
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.IsLBItemSelected(dialogID, componentID, itemIndex):
   return BOOLEAN

Description:

Determines if the specified item is currently selected.

説明

指定したアイテムが現在選択されている/いないを返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row number アイテム番号



  IsLBReadOnly Dialogs - Modern - Browser 
Vectorworks 2022

VectorScript Declaration:

FUNCTION   IsLBReadOnly
(   dialogID :LONGINT;
    componentID :LONGINT
) :BOOLEAN ;

Python:

def  vs.IsLBReadOnly(dialogID, componentID):
   return BOOLEAN

Description:

Determines the list browser's read-only state.

説明

リストブラウザの読み取り専用状態を判定します。



  IsLBResOnlyCurDoc Dialogs - Modern - Browser 
Vectorworks 2022

VectorScript Declaration:

FUNCTION   IsLBResOnlyCurDoc
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.IsLBResOnlyCurDoc(dialogID, componentID, itemIndex, subItemIndex):
   return BOOLEAN

Description:

Returns whether the specified list browser item is set, or not, to only use the current document when using/displaying resources.

説明

指定したリストブラウザのアイテムがリソースを使用/表示するときに現在のファイルのみを使用するように設定されているかどうかを返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the item index 行番号
subItemIndex the column index 列番号

Result:

Returns whether the specified list browser item is set, or not, to only use the current document when using/displaying resources.

返り値

リソースの使用/表示時に現在のドキュメントのみを使用するように、指定したリストブラウザ項目が設定されているかどうかを返します。



  IsLBSortingEnabled Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   IsLBSortingEnabled
(   dialogID :LONGINT;
    componentID :LONGINT
) :BOOLEAN ;

Python:

def  vs.IsLBSortingEnabled(dialogID, componentID):
   return BOOLEAN

Description:

Determines if sorting is enabled or disabled.

説明

並び替え(ソート)の有効/無効を返します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号



  RefreshLB Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   RefreshLB
(   dialogID :LONGINT;
    componentID :LONGINT
) :BOOLEAN ;

Python:

def  vs.RefreshLB(dialogID, componentID):
   return BOOLEAN

Description:

Refreshes the contents of the specified list browser.

説明

リストブラウザの内容を更新します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号



  RemoveAllLBColumnDataItems Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

PROCEDURE   RemoveAllLBColumnDataItems
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER
) ;

Python:

def  vs.RemoveAllLBColumnDataItems(dialogID, componentID, columnIndex):
   return None

Description:

Removes all column data items.

説明

すべての列のデータアイテムを削除します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the index of the column 列番号



  RemoveLBColumnDataItem Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   RemoveLBColumnDataItem
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    columnDataItemIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.RemoveLBColumnDataItem(dialogID, componentID, columnIndex, columnDataItemIndex):
   return BOOLEAN

Description:

Removes the specified column data item.

説明

指定した列のデータアイテムを削除します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the index of the column 列番号
columnDataItemIndex the column data item to remove データアイテム番号



  SetFocusOnLB Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   SetFocusOnLB
(   dialogID :LONGINT;
    componentID :LONGINT
) :BOOLEAN ;

Python:

def  vs.SetFocusOnLB(dialogID, componentID):
   return BOOLEAN

Description:

Sets the keyboard/input focus on the specified list browser.

説明

リストブラウザにキーボード入力フォーカスを設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号



  SetLBColumnHeaderJust Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   SetLBColumnHeaderJust
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    justification :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBColumnHeaderJust(dialogID, componentID, columnIndex, justification):
   return BOOLEAN

Description:

Sets the specified column header's justification.

説明

指定した列ヘッダの位置揃えを設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the column index 列番号
justification Left - 1 Center - 2 Right - 3 位置揃え
1:左/2:中央/3:右



  SetLBColumnHeaderToolTip Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   SetLBColumnHeaderToolTip
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    toolTipPrimaryText :STRING;
    toolTipSubText :STRING
) :BOOLEAN ;

Python:

def  vs.SetLBColumnHeaderToolTip(dialogID, componentID, columnIndex, toolTipPrimaryText, toolTipSubText):
   return BOOLEAN

Description:

Sets the list browser column header's tooltip text.

説明

リストブラウザの列ヘッダでツールチップとして表示される文字列を設定します。サブツールチップはcommand (Mac) /shift (Win) を押した時に表示されます。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the column index 列番号
toolTipPrimaryText the primary tooltip text ツールチップの文字列
toolTipSubText the sub tooltip text displayed when the user the command (Mac) or shift (Win) button サブツールチップの文字列



  SetLBColumnImage Dialogs - Modern - Browser 
VectorWorks 2008

VectorScript Declaration:

FUNCTION   SetLBColumnImage
(   nDialogID :LONGINT;
    nComponentID :LONGINT;
    nColumnIndex :INTEGER;
    nImageIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBColumnImage(nDialogID, nComponentID, nColumnIndex, nImageIndex):
   return BOOLEAN

Description:

Draws an icon instead of text on a list browser header column. Use with AddLBImage.

説明

リストブラウザの列ヘッダで文字の代わりにアイコンを描画します。



  SetLBColumnOwnerDrawnType Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   SetLBColumnOwnerDrawnType
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    ownerDrawnType :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBColumnOwnerDrawnType(dialogID, componentID, itemIndex, subItemIndex, ownerDrawnType):
   return BOOLEAN

Description:

Sets the list browser column's owner drawn type.

説明

リストブラウザの列の描画タイプを設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
ownerDrawnType None - 0 Solid rect - 1 Dual solid rect - 2 Pattern rect - 3 Dual pattern rect - 4 Gradient or image - 5 Blank - 6 Text - 7 Dashed line - 8 0:なし/1:四角形(塗り潰し)/2:二重四角形(塗り潰し)/3:四角形(模様)/4:二重四角形(模様)/5:グラデーションまたはイメージ/6:空白/7:文字列/8:破線



  SetLBColumnWidth Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   SetLBColumnWidth
(   dialogID :LONGINT;
    componentID :LONGINT;
    fromColumn :INTEGER;
    toColumn :INTEGER;
    width :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBColumnWidth(dialogID, componentID, fromColumn, toColumn, width):
   return BOOLEAN

Description:

Sets the width of the specified range of columns of the specified list browser control.

説明

指定したリストブラウザの指定した範囲の列の幅を設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
fromColumn first column to be changed 開始列番号
toColumn last column to be changed 終了列番号
width the width of the column in pixels 列の幅(ピクセル)



  SetLBControlType Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   SetLBControlType
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    controlType :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBControlType(dialogID, componentID, columnIndex, controlType):
   return BOOLEAN

Description:

Sets control type for column.

説明

指定した列の種類を設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the index of the column 列番号
controlType the control type to be set (1: Static, 2: Radio, 3: Multi State, 4: Single Instance Icon [See Organization Dialog active element column], 5: Static Icon, 6: Number, 7: Multiple Icons) 列の種類(1:編集不可/2:ラジオボタン/3:複数選択可)



  SetLBDragDropColumn Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   SetLBDragDropColumn
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBDragDropColumn(dialogID, componentID, columnIndex):
   return BOOLEAN

Description:

Sets the drag and drop column.

説明

ドラッグ&ドロップ列を設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the column index 列番号



  SetLBEditDisplayType Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   SetLBEditDisplayType
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    displayType :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBEditDisplayType(dialogID, componentID, columnIndex, displayType):
   return BOOLEAN

Description:

Sets edit display type for list items in specified column.

説明

指定した列のリストアイテムの表示形式を設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the index of the column 列番号
displayType the display type to be set (0: Text Only, 1: Icon Only, 3: Text and Icon) 表示形式(0:文字列のみ/1:アイコンのみ/3:文字列とアイコン)



  SetLBHierDispColumn Dialogs - Modern - Browser 
Vectorworks 2013

VectorScript Declaration:

PROCEDURE   SetLBHierDispColumn
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnID :INTEGER
) ;

Python:

def  vs.SetLBHierDispColumn(dialogID, componentID, columnID):
   return None

Description:

This function sets which column to display hierarchically in a list browser. This will only work on a text column. Items with dashes in the string value for the hierarchical column will be displayed hierarchically. This will work on items already entered. When new items are entered, this will need to be called again.

説明

リストブラウザで階層表示する列を設定します。

Parameters:

dialogID The id of the dialog. ダイアログ番号
componentID The id of the list browser. リストブラウザ番号
columnID The index of the hierarchical column. 階層表示する列番号

See Also:

EnableLBHierDisplay  



  SetLBItemDashStyle Dialogs - Modern - Browser 
VectorWorks12.0 - obsolete as of Vectorworks 2019

VectorScript Declaration:

FUNCTION   SetLBItemDashStyle
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    styleIndex :INTEGER;
    lineWeight :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBItemDashStyle(dialogID, componentID, itemIndex, subItemIndex, styleIndex, lineWeight):
   return BOOLEAN

Special Notes:

SetLBItemDashStyle is obsolete as of Vectorworks 2019

Description:

Deprecated - will generate error. Use SetLBItemLineType instead.

説明

リストブラウザアイテムの破線の種類を設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
styleIndex the dash line's style index 破線の種類番号
lineWeight the dash line's line weight 破線の太さ

See Also:

SetLBItemLineType  



  SetLBItemData Dialogs - Modern - Browser 
VectorWorks12.5

VectorScript Declaration:

PROCEDURE   SetLBItemData
(   nDialogID :LONGINT;
    nComponentID :LONGINT;
    nItemIndex :INTEGER;
    nSubItemIndex :INTEGER;
    nUserData :LONGINT
) ;

Python:

def  vs.SetLBItemData(nDialogID, nComponentID, nItemIndex, nSubItemIndex, nUserData):
   return None

Description:

Sets the user data associated with the list browser item.

説明

リストブラウザアイテムのユーザデータを設定します。



  SetLBItemDisplayType Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   SetLBItemDisplayType
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    displayType :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBItemDisplayType(dialogID, componentID, columnIndex, displayType):
   return BOOLEAN

Description:

Sets item display type for list items in specified column.

説明

指定した列のリストアイテムの表示形式を設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the index of the column 列番号
displayType the display type to be set (0: Text Only, 1: Icon Only, 3: Text and Icon) 表示形式(0:文字列のみ/1:アイコンのみ/3:文字列とアイコン)



  SetLBItemFillBackColor Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   SetLBItemFillBackColor
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    redIndex :INTEGER;
    greenIndex :INTEGER;
    blueIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBItemFillBackColor(dialogID, componentID, itemIndex, subItemIndex, redIndex, greenIndex, blueIndex):
   return BOOLEAN

Description:

Sets the specified list browser item's fill background color.

説明

リストブラウザアイテムの面の地色を設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
redIndex the red component (0 - 255) 赤(0~255)
greenIndex the green component (0 - 255) 緑(0~255)
blueIndex the blue component (0 - 255) 青(0~255)



  SetLBItemFillForeColor Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   SetLBItemFillForeColor
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    redIndex :INTEGER;
    greenIndex :INTEGER;
    blueIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBItemFillForeColor(dialogID, componentID, itemIndex, subItemIndex, redIndex, greenIndex, blueIndex):
   return BOOLEAN

Description:

Sets the specified list browser item's fill foreground color.

説明

リストブラウザアイテムの面の色を設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
redIndex the red component (0 - 255) 赤(0~255)
greenIndex the green component (0 - 255) 緑(0~255)
blueIndex the blue component (0 - 255) 青(0~255)



  SetLBItemGradientOrImageRefNumber Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   SetLBItemGradientOrImageRefNumber
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    refNumber :LONGINT
) :BOOLEAN ;

Python:

def  vs.SetLBItemGradientOrImageRefNumber(dialogID, componentID, itemIndex, subItemIndex, refNumber):
   return BOOLEAN

Description:

Sets the specified list browser item's gradient or image.

説明

リストブラウザアイテムのグラデーションまたはイメージを設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
refNumber the gradient or image's ref number グラデーションまたはイメージの参照番号



  SetLBItemHatchRefNum Dialogs - Modern - Browser 
Vectorworks 2022

VectorScript Declaration:

FUNCTION   SetLBItemHatchRefNum
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    refNumber :LONGINT
) :BOOLEAN ;

Python:

def  vs.SetLBItemHatchRefNum(dialogID, componentID, itemIndex, subItemIndex, refNumber):
   return BOOLEAN

Description:

Sets the specified list browser item's hatch.

説明

リストブラウザアイテムのハッチングを設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
refNumber the hatch's ref number ハッチングの参照番号



  SetLBItemInfo Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   SetLBItemInfo
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    itemString :STRING;
    imageIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBItemInfo(dialogID, componentID, itemIndex, subItemIndex, itemString, imageIndex):
   return BOOLEAN

Description:

Sets data for item.

説明

アイテムにデータを設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the item index アイテム番号
subItemIndex the subitem index サブアイテム番号
itemString the item text 文字列
imageIndex the item image list index イメージ番号



  SetLBItemInteracType Dialogs - Modern - Browser 
Vectorworks 2022

VectorScript Declaration:

FUNCTION   SetLBItemInteracType
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    interactionType :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBItemInteracType(dialogID, componentID, itemIndex, subItemIndex, interactionType):
   return BOOLEAN

Description:

Sets interaction type for item.

説明

アイテムの操作タイプを設定します。

Parameters:

dialogID id of the dialog that contains the list browser リストブラウザを含むダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the item index アイテム番号
subItemIndex the subitem index サブアイテム番号
interactionType the interaction type 操作タイプ



  SetLBItemLineType Dialogs - Modern - Browser 
Vectorworks 2015

VectorScript Declaration:

FUNCTION   SetLBItemLineType
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    lineType :LONGINT;
    lineWeight :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBItemLineType(dialogID, componentID, itemIndex, subItemIndex, lineType, lineWeight):
   return BOOLEAN

Description:

Sets the specified list browser item's line type.

説明

指定したリストブラウザアイテムのラインタイプを設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
lineType the line type internal index (reference number) ラインタイプのインデックス
lineWeight the line weight 線の太さ



  SetLBItemMkrByClass Dialogs - Modern - Browser 
Vectorworks 2022

VectorScript Declaration:

FUNCTION   SetLBItemMkrByClass
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    isByClass :BOOLEAN
) :BOOLEAN ;

Python:

def  vs.SetLBItemMkrByClass(dialogID, componentID, itemIndex, subItemIndex, isByClass):
   return BOOLEAN

Description:

Sets if the specified list browser item's marker is by class.

説明

指定されたリストブラウザアイテムのマーカーがクラスごとであるかどうかを設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
isByClass if the marker is by class or not マーカーがクラス別かどうか



  SetLBItemMkrChoice Dialogs - Modern - Browser 
Vectorworks 2022

VectorScript Declaration:

PROCEDURE   SetLBItemMkrChoice
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    style :LONGINT;
    angle :INTEGER;
    size :REAL;
    width :REAL;
    thicknessBasis :INTEGER;
    thickness :REAL
) ;

Python:

def  vs.SetLBItemMkrChoice(dialogID, componentID, itemIndex, subItemIndex, style, angle, size, width, thicknessBasis, thickness):
   return BOOLEAN

Description:

Sets the specified list browser item's marker.

説明

指定されたリストブラウザアイテムのマーカーを設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
style the marker's style マーカーのスタイル
angle the marker's angle マーカーの角度
size the marker's size マーカーのサイズ
width the marker's width マーカーの幅
thicknessBasis the marker's thickness basis マーカーの厚さ基準
thickness the marker's thickness マーカーの厚さ



  SetLBItemPatternIndex Dialogs - Modern - Browser 
Vectorworks 2010

VectorScript Declaration:

FUNCTION   SetLBItemPatternIndex
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    patIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBItemPatternIndex(dialogID, componentID, itemIndex, subItemIndex, patIndex):
   return BOOLEAN

Description:

Sets the specified list browser item's pattern index.

説明

リストブラウザアイテムの模様番号を設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
patIndex The pattern index of this item. Value from [1..71] 模様番号(1..71)



  SetLBItemPenBackColor Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   SetLBItemPenBackColor
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    redIndex :INTEGER;
    greenIndex :INTEGER;
    blueIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBItemPenBackColor(dialogID, componentID, itemIndex, subItemIndex, redIndex, greenIndex, blueIndex):
   return BOOLEAN

Description:

Sets the specified list browser item's pen background color.

説明

リストブラウザアイテムの線の地色を設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
redIndex the red component (0 - 255) 赤(0~255)
greenIndex the green component (0 - 255) 緑(0~255)
blueIndex the blue component (0 - 255) 青(0~255)



  SetLBItemPenForeColor Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   SetLBItemPenForeColor
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    redIndex :INTEGER;
    greenIndex :INTEGER;
    blueIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBItemPenForeColor(dialogID, componentID, itemIndex, subItemIndex, redIndex, greenIndex, blueIndex):
   return BOOLEAN

Description:

Sets the specified list browser item's pen foreground color.

説明

リストブラウザアイテムの線の色を設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
redIndex the red component (0 - 255) 赤(0~255)
greenIndex the green component (0 - 255) 緑(0~255)
blueIndex the blue component (0 - 255) 青(0~255)



  SetLBItemReadOnly Dialogs - Modern - Browser 
Vectorworks 2022

VectorScript Declaration:

PROCEDURE   SetLBItemReadOnly
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    readOnly :BOOLEAN
) ;

Python:

def  vs.SetLBItemReadOnly(dialogID, componentID, itemIndex, subItemIndex, readOnly):
   return None

Description:

Sets the item's read-only state.

説明

アイテムの読み取り専用状態を設定します。

Parameters:

dialogID id of the dialog that contains the list browser リストブラウザを含むダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
readOnly the read-only state 読み取り専用状態



  SetLBItemTextColor Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   SetLBItemTextColor
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    redIndex :INTEGER;
    greenIndex :INTEGER;
    blueIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBItemTextColor(dialogID, componentID, itemIndex, subItemIndex, redIndex, greenIndex, blueIndex):
   return BOOLEAN

Description:

Sets the text color for the specified list browser item.

説明

リストブラウザアイテムの文字の色を設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
redIndex the red component (0 - 255) 赤(0~255)
greenIndex the green component (0 - 255) 緑(0~255)
blueIndex the blue component (0 - 255) 青(0~255)



  SetLBItemTextColorN Dialogs - Modern - Browser 
Vectorworks 2023

VectorScript Declaration:

FUNCTION   SetLBItemTextColorN
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    tint :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBItemTextColorN(dialogID, componentID, itemIndex, subItemIndex, tint):
   return BOOLEAN

Description:

Sets the text color tint for the specified list browser item.

説明

指定されたリストブラウザの項目に対して、文字色の色合いを設定します。

Parameters:

dialogID id of the dialog that contains the list browser リストブラウザを含むダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
tint Tint number. See Appendix for the available values. 色合い番号。使用可能な値については付録(Appendix)を参照してください。



  SetLBItemTextJust Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   SetLBItemTextJust
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    justification :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBItemTextJust(dialogID, componentID, itemIndex, subItemIndex, justification):
   return BOOLEAN

Description:

Sets the text alignment for the specified list browser item.

説明

リストブラウザアイテムの文字の位置揃えを設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
justification Left - 1 Center - 2 Right - 3 位置揃え
1:左/2:中央/3:右



  SetLBItemTextStyle Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

FUNCTION   SetLBItemTextStyle
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    textStyle :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBItemTextStyle(dialogID, componentID, itemIndex, subItemIndex, textStyle):
   return BOOLEAN

Description:

Sets the text style for the specified list browser item.

説明

リストブラウザアイテムの文字のスタイルを設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
textStyle Plain - 0 Bold - 1 Italic - 2 Underline - 4 Outline - 16 (Mac only) Shadow - 32 (Mac only) 文字のスタイル
0:標準/1:ボールド/2:イタリック/4:アンダーライン/16 :アウトライン(Macのみ)/32 :シャドウ(Macのみ)



  SetLBItemTileRefNum Dialogs - Modern - Browser 
Vectorworks 2022

VectorScript Declaration:

FUNCTION   SetLBItemTileRefNum
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    refNumber :LONGINT
) :BOOLEAN ;

Python:

def  vs.SetLBItemTileRefNum(dialogID, componentID, itemIndex, subItemIndex, refNumber):
   return BOOLEAN

Description:

Sets the specified list browser item's tile.

説明

指定したリストブラウザアイテムのタイルを設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the colum index 列番号
refNumber the tile's ref number タイルの参照番号



  SetLBItemUsingColumnDataItem Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   SetLBItemUsingColumnDataItem
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    columnDataItemIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBItemUsingColumnDataItem(dialogID, componentID, itemIndex, subItemIndex, columnDataItemIndex):
   return BOOLEAN

Description:

Sets list item data with specified column data item.

説明

指定した列のデータアイテムにリストアイテムデータを設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index アイテム番号
subItemIndex the column index サブアイテム番号
columnDataItemIndex the column data item with which to set list item data データアイテム番号



  SetLBMultImageIndexes Dialogs - Modern - Browser 
VectorWorks12.0 - obsolete as of Vectorworks 2012

VectorScript Declaration:

FUNCTION   SetLBMultImageIndexes
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    imageIndex0 :INTEGER;
    imageIndex1 :INTEGER;
    imageIndex2 :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBMultImageIndexes(dialogID, componentID, itemIndex, subItemIndex, imageIndex0, imageIndex1, imageIndex2):
   return BOOLEAN

Special Notes:

SetLBMultImageIndexes is obsolete as of Vectorworks 2012

Description:

Sets the index of the images within the list browser multi image display.

説明

リストブラウザの複数イメージ表示にあるイメージの番号を設定します。廃止予定の関数です。代わりに SetLBImageIndexes を使用してください。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
imageIndex0 the 'ics8' resource index of the first image 1つ目のイメージの「ics8」リソース番号
imageIndex1 the 'ics8' resource index of the second image 2つ目のイメージの「ics8」リソース番号
imageIndex2 the 'ics8' resource index of the third image 3つ目のイメージの「ics8」リソース番号



  SetLBNumericItemInfo Dialogs - Modern - Browser 
Vectorworks 2013

VectorScript Declaration:

FUNCTION   SetLBNumericItemInfo
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    itemString :STRING;
    itemNumVal :REAL;
    imageIndex :INTEGER
) :BOOLEAN ;

Python:

def  vs.SetLBNumericItemInfo(dialogID, componentID, itemIndex, subItemIndex, itemString, itemNumVal, imageIndex):
   return BOOLEAN

Description:

Sets numeric data for item.

説明

アイテムの数値データを設定します。

Parameters:

dialogID ID of the dialog that contains the list browser. ダイアログ番号
componentID ID of the list browser control リストブラウザ番号
itemIndex the item index アイテム番号
subItemIndex the subitem index サブアイテム番号
itemString the item text アイテム文字
itemNumVal the item numeric value 数値
imageIndex the item image list index アイテム画像リスト番号



  SetLBOrigNameClLevel Dialogs - Modern - Browser 
Vectorworks 2013

VectorScript Declaration:

PROCEDURE   SetLBOrigNameClLevel
(   dialogID :LONGINT;
    componentID :LONGINT;
    originalName :STRING;
    level1Closed :BOOLEAN;
    level2Closed :BOOLEAN;
    level3Closed :BOOLEAN
) ;

Python:

def  vs.SetLBOrigNameClLevel(dialogID, componentID, originalName, level1Closed, level2Closed, level3Closed):
   return None

Description:

This function sets the closed levels for an original item in the list browser. The item will be hidden and the proper container closed.

説明

リストブラウザでの元のアイテムの閉じレベルを設定します。アイテムは非表示になり、適切なコンテナが閉じます。

Parameters:

dialogID The id of the dialog. ダイアログ番号
componentID The id of the list browser. リストブラウザ番号
originalName The original name of the item. アイテムの元の名前
level1Closed Whether the item's level 1 container is closed. レベル1のアイテムを閉じるかどうか
level2Closed Whether the item's level 2 container is closed. レベル2のアイテムを閉じるかどうか
level3Closed Whether the item's level 3 container is closed. レベル3のアイテムを閉じるかどうか



  SetLBReadOnly Dialogs - Modern - Browser 
Vectorworks 2022

VectorScript Declaration:

PROCEDURE   SetLBReadOnly
(   dialogID :LONGINT;
    componentID :LONGINT;
    readOnly :BOOLEAN
) ;

Python:

def  vs.SetLBReadOnly(dialogID, componentID, readOnly):
   return None

Description:

Sets the list browser's read-only state.

説明

リストブラウザの読み取り専用状態を設定します。

Parameters:

dialogID id of the dialog that contains the list browser リストブラウザを含むダイアログ番号
componentID id of the list browser control リストブラウザ番号
readOnly the read-only state 読み取り専用状態



  SetLBResOnlyCurDoc Dialogs - Modern - Browser 
Vectorworks 2022

VectorScript Declaration:

PROCEDURE   SetLBResOnlyCurDoc
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    onlyCurrentDoc :BOOLEAN
) ;

Python:

def  vs.SetLBResOnlyCurDoc(dialogID, componentID, itemIndex, subItemIndex, onlyCurrentDoc):
   return None

Description:

Sets the specified list browser item to only use the current document when using/displaying resources.

説明

指定したリストブラウのアイテムがリソースを使用/表示するときに現在のファイルのみを使用するかどうかを設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the item index 行番号
subItemIndex the column index 列番号
onlyCurrentDoc specifies whether or not only the current document should be used 現在のドキュメントのみを使用するかどうかを指定します



  SetLBSelection Dialogs - Modern - Browser 
VectorWorks11.0

VectorScript Declaration:

FUNCTION   SetLBSelection
(   dialogID :LONGINT;
    componentID :LONGINT;
    firstItemIndex :INTEGER;
    lastItemIndex :INTEGER;
    select :BOOLEAN
) :BOOLEAN ;

Python:

def  vs.SetLBSelection(dialogID, componentID, firstItemIndex, lastItemIndex, select):
   return BOOLEAN

Description:

Selects the specified range of items within a List Browser dialog control.

説明

指定した範囲のアイテムを選択します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
firstItemIndex the first row of the range to select 開始アイテム番号
lastItemIndex the last row of the range to select 終了アイテム番号
select select or deselect 選択の設定(TRUE:する/FALSE:しない)

Result:

True for success, false otherwise.

返り値

TRUE:選択できました。
FALSE:選択できませんでした。



  SetLBSortColumn Dialogs - Modern - Browser 
VectorWorks12.0

VectorScript Declaration:

PROCEDURE   SetLBSortColumn
(   dialogID :LONGINT;
    componentID :LONGINT;
    columnIndex :INTEGER;
    isAscending :BOOLEAN
) ;

Python:

def  vs.SetLBSortColumn(dialogID, componentID, columnIndex, isAscending):
   return None

Description:

Sets the specified column as the sort column in the specified list browser control.

説明

リストブラウザにある特定の列をソート列として設定します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
columnIndex the column index 列番号
isAscending determines if the sort should be ascending or descending TRUE :昇順/FALSE:降順



  ShowLBHeader Dialogs - Modern - Browser 
Vectorworks 2015

VectorScript Declaration:

PROCEDURE   ShowLBHeader
(   dialogID :LONGINT;
    componentID :LONGINT;
    show :BOOLEAN
) ;

Python:

def  vs.ShowLBHeader(dialogID, componentID, show):
   return None

Description:

Shows or hides header row for a list browser control in a dialog

説明

ダイアログ内のリストブラウザでヘッダ行の表示/非表示を設定します。



  ShowLBItemMkrByClass Dialogs - Modern - Browser 
Vectorworks 2022

VectorScript Declaration:

PROCEDURE   ShowLBItemMkrByClass
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    showByClass :BOOLEAN
) ;

Python:

def  vs.ShowLBItemMkrByClass(dialogID, componentID, itemIndex, subItemIndex, showByClass):
   return None

Description:

Indicates if the By Class option in the popup of the specified list browser item's marker should be shown.

説明

指定されたリストブラウザアイテムのマーカーのポップアップに[クラス別]オプションを表示するかどうかを示します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
showByClass if the marker's By Class option is shown in the popup マーカーの[クラス別]オプションがポップアップに表示されている場合



  ShowLBItemMkrEditLst Dialogs - Modern - Browser 
Vectorworks 2022

VectorScript Declaration:

PROCEDURE   ShowLBItemMkrEditLst
(   dialogID :LONGINT;
    componentID :LONGINT;
    itemIndex :INTEGER;
    subItemIndex :INTEGER;
    showEditList :BOOLEAN
) ;

Python:

def  vs.ShowLBItemMkrEditLst(dialogID, componentID, itemIndex, subItemIndex, showEditList):
   return None

Description:

Indicates if the Edit List option in the popup of the specified list browser item's marker should be shown.

説明

指定したリストブラウザアイテムのマーカーのポップアップに[リストを編集]オプションを表示するかどうかを示します。

Parameters:

dialogID id of the dialog that contains the list browser ダイアログ番号
componentID id of the list browser control リストブラウザ番号
itemIndex the row index 行番号
subItemIndex the column index 列番号
showEditList if the marker's Edit List option is shown in the popup マーカーの[リストの編集]オプションがポップアップに表示されている場合