Python Reference Guide
 
Loading...
Searching...
No Matches
UI\FBMessageBox.py
1# Copyright 2009 Autodesk, Inc. All rights reserved.
2# Use of this software is subject to the terms of the Autodesk license agreement
3# provided at the time of installation or download, or which otherwise accompanies
4# this software in either electronic or hard copy form.
5#
6# Topic: FBMessageBox
7#
8
9from pyfbsdk import FBMessageBox
10
11# Simple message box: just a OK button.
12FBMessageBox( "TitleString First", "MessageString\nOnly one button:", "OK" )
13
14# With 3 buttons this time.
15FBMessageBox( "TitleString Second", "MessageString\nThree buttons:", "OK", "Maybe", "Cancel" )
16
17# Now with a multiline string.
18FBMessageBox( "TitleString Third", "MessageString\nOne\nTwo\nThree\nFour\nFive\nSix\nSeven", "OK" )
19
20# Cleanup.
21del( FBMessageBox )
int FBMessageBox(str pBoxTitle, str pMessage, str pButton1Str, str pButton2Str=None, str pButton3Str=None, int pDefaultButton=0, int pScrolledMessage=0)
Dialog popup box.