1
2
3
4
5
6
7
8
9from pyfbsdk import FBFolderPopup, FBFilePopupStyle, FBMessageBox
10
11
13lFp.Caption = "FBFolderPopup example: Select a folder"
14
15
16lFp.Path = r"C:\Program Files"
17
18
19lRes = lFp.Execute()
20
21
22if lRes:
23 FBMessageBox(
"FBFolderPopup example",
"Selected folder:\n Path: '%s'" % lFp.Path,
"OK" )
24else:
25 FBMessageBox(
"FBFolderPopup example",
"Selection canceled",
"OK" )
26
27
28del( lFp, lRes, FBFolderPopup, FBFilePopupStyle, FBMessageBox )
int FBMessageBox(str pBoxTitle, str pMessage, str pButton1Str, str pButton2Str=None, str pButton3Str=None, int pDefaultButton=0, int pScrolledMessage=0)
Dialog popup box.