Difference between revisions of "VCOM:VectorWorks:ISDK::AlertQuestionDefault"

From Vectorworks Developer
Jump to: navigation, search
m (1 revision)
(Added the same info as VCOM:VectorWorks:ISDK::AlertQuestion)
 
Line 10: Line 10:
 
Member of [[VCOM:VectorWorks:ISDK]]
 
Member of [[VCOM:VectorWorks:ISDK]]
  
...put some description here...
+
Displays a dialog that alerts the user to a condition or situation that requires the user's decision and input before preceeding, such as an impending action with potentially destructive or irreversible consequencies. Specify a category and an item to show an optional 'Always do the selected action' checkbox.  
 
</desc>
 
</desc>
  
Line 26: Line 26:
 
question
 
question
 
const [[SDK:TXString]]&
 
const [[SDK:TXString]]&
no info.
+
Question text that appears in the dialog.
 
</line>
 
</line>
 
<line>
 
<line>
 
advice
 
advice
 
const [[SDK:TXString]]&
 
const [[SDK:TXString]]&
no info.
+
Advice text that appears in the dialog.
 
</line>
 
</line>
 
<line>
 
<line>
 
defaultButton
 
defaultButton
 
short
 
short
no info.
+
Default button that is selected in the dialog.
 
</line>
 
</line>
 
<line>
 
<line>
 
OKOverrideText
 
OKOverrideText
 
const [[SDK:TXString]]&
 
const [[SDK:TXString]]&
no info.
+
Text that should appear on the OK button.
 
</line>
 
</line>
 
<line>
 
<line>
 
CancelOverrideText
 
CancelOverrideText
 
const [[SDK:TXString]]&
 
const [[SDK:TXString]]&
no info.
+
Text that should appear on the CANCEL button.
 
</line>
 
</line>
 
<line>
 
<line>
 
customButtonAText
 
customButtonAText
 
const [[SDK:TXString]]&
 
const [[SDK:TXString]]&
no info.
+
First additional button text. If empty no button appears.
 
</line>
 
</line>
 
<line>
 
<line>
 
customButtonBText
 
customButtonBText
 
const [[SDK:TXString]]&
 
const [[SDK:TXString]]&
no info.
+
Second additional button text. If empty no button appears.
 
</line>
 
</line>
 
<line>
 
<line>
 
category
 
category
 
const [[SDK:TXString]]&
 
const [[SDK:TXString]]&
no info.
+
Category for the saved settings that the answer will be stored.
 
</line>
 
</line>
 
<line>
 
<line>
 
item
 
item
 
const [[SDK:TXString]]&
 
const [[SDK:TXString]]&
no info.
+
Item for the category of the saved settings that the answer will be stored.
 
</line>
 
</line>
 
<line>
 
<line>
 
checkboxOverrideText
 
checkboxOverrideText
 
const [[SDK:TXString]]&
 
const [[SDK:TXString]]&
no info.
+
Override text for the check button.
 
</line>
 
</line>
 
<line>
 
<line>
Line 106: Line 106:
  
 
[[Category:VCOM:VectorWorks:ISDK|AlertQuestionDefault]]
 
[[Category:VCOM:VectorWorks:ISDK|AlertQuestionDefault]]
[[Category:VCOM:VectorWorks:ISDK(Unspecified)|AlertQuestionDefault]]
+
[[Category:VCOM:VectorWorks:ISDK(Dialogs)|AlertQuestionDefault]]

Latest revision as of 07:32, 19 February 2014

.SDK|SDK ..SDK:Types|SDK Types ..VCOM:VCOM (Vectorworks Component Object Model)|VCOM Basics ..VCOM:Class Reference|VCOM Class Reference


Description

namespace VectorWorks

Member of VCOM:VectorWorks:ISDK

Displays a dialog that alerts the user to a condition or situation that requires the user's decision and input before preceeding, such as an impending action with potentially destructive or irreversible consequencies. Specify a category and an item to show an optional 'Always do the selected action' checkbox.

virtual shortVCOM_CALLTYPE AlertQuestionDefault(
const TXString& question,
const TXString& advice = "",
short defaultButton = 0,
const TXString& OKOverrideText = "",
const TXString& CancelOverrideText = "",
const TXString& customButtonAText = "",
const TXString& customButtonBText = "",
const TXString& category = "",
const TXString& item = "",
const TXString& checkboxOverrideText = "",
short defaultAnswer = -1) = 0;

Parameters

question const SDK:TXString& Question text that appears in the dialog.
advice const SDK:TXString& Advice text that appears in the dialog.
defaultButton short Default button that is selected in the dialog.
OKOverrideText const SDK:TXString& Text that should appear on the OK button.
CancelOverrideText const SDK:TXString& Text that should appear on the CANCEL button.
customButtonAText const SDK:TXString& First additional button text. If empty no button appears.
customButtonBText const SDK:TXString& Second additional button text. If empty no button appears.
category const SDK:TXString& Category for the saved settings that the answer will be stored.
item const SDK:TXString& Item for the category of the saved settings that the answer will be stored.
checkboxOverrideText const SDK:TXString& Override text for the check button.
defaultAnswer short no info.

Version

Availability: from Vectorworks 2010
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox