Problem/Issue 5032
 
Query for PDR ID
Example: search for PDR ID 109-9999 , just enter 9999 into the entry field and press ENTER.
Open Build: Open Date: Language:
1.80.285 22.07.2002 (All)
Closed Build: Close Date: Platform:
1.90.331 19.04.2006 WIN32
State: Reference PDR ID: Hotfix Rollup No.:
CLOSED 4851  
Symptom:
XbpFileDialog handles "cDefaultFile" parameter incorrectly
Description:
Both methods :open() and :saveAs() of the XbpFileDialog class may
parse a string passed in the "cDefaultFile" incorrectly. If a valid
path is passed that includes a file name including extension, the
directory specified in the path should be set as the dialog's current
directory and the file should be initially displayed in the file name
edit box. However, the file name component of the path is ignored and
the file name edit box is empty. Note that this anomaly only occurs if
the file name was specified including a file extension!



Solution:
To work around this problem, either strip the extension from the
file name or try the following:
  o Use CurDir() to set the current directory as specified in
    the path
  o Call :open() or :saveAs() as required, passing only the file
    name in the "cDefaultFile" parameter
  o Use CurDir() to reset the current directory, if desired




 
(C) Copyright Alaska Software Inc. 2008, All rights reserved!
Disclaimer, Limitation of Liability, no Warranty: THE INFORMATION, DOCUMENTS, FILES AND MATERIALS CONTAINED IN THIS SITE ARE PROVIDED "AS IS". ALASKA SOFTWARE DOES NOT WARRANT THE ACCURACY, ADEQUACY OR COMPLETENESS OF THIS INFORMATION AND MATERIALS; THUS EXPRESSLY DISCLAIMS LIABILITY FOR ERRORS OR OMISSIONS IN THIS INFORMATION AND MATERIALS.
WARRANTIES OF ANY KIND, IMPLIED, EXPRESSED OR STATUTORY, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF NON-INFRINGEMENT OF THIRD PARTY RIGHTS, TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR RESOLVEMENT-CLAIMS, ARE DISCLAIMED.