NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::BlockStyler::ListBox Class Reference

Represents a ListBox block
Created in NX6.0.0. More...

Inheritance diagram for NXOpen::BlockStyler::ListBox:
NXOpen::BlockStyler::UIBlock NXOpen::TaggedObject

List of all members.

Public Types

typedef NXOpen::Callback1< int,
NXOpen::BlockStyler::ListBox * > 
AddCallback
 Add callback
Created in NX6.0.0.
typedef NXOpen::Callback1< int,
NXOpen::BlockStyler::ListBox * > 
DeleteCallback
 Delete callback.

Public Member Functions

void SetAddHandler (const NXOpen::BlockStyler::ListBox::AddCallback &cb)
 Sets the Add handler.
void SetDeleteHandler (const NXOpen::BlockStyler::ListBox::DeleteCallback &cb)
 Sets the Delete handler.

Detailed Description

Represents a ListBox block
Created in NX6.0.0.



Member Typedef Documentation

Add callback
Created in NX6.0.0.



License requirements : None

Delete callback.

Return a non-zero value in order to veto the deletion.
Created in NX6.0.0.

License requirements : None


Member Function Documentation

Sets the Add handler.

This handler is called when the Add button is pressed. The handler is responsible for adding an item to the list. Nothing will be added to the list unless the handler adds it.
Created in NX6.0.0.

License requirements : None

Parameters:
cbcb

Sets the Delete handler.

If you set this handler, the handler will be called when the Delete button is pressed. The handler does not need to implement code to delete the item. The list will delete the selected items if and only if the handler returns 0.
Created in NX6.0.0.

License requirements : None

Parameters:
cbcb

The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.