Microsoft KB Archive/186025

= PRB: AGETCLASS Function may Truncate Fifth Parameter =

Article ID: 186025

Article Last Modified on 12/11/1999

-

APPLIES TO


 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q186025



SYMPTOMS
If the fifth parameter, the cFileNameCaption, is longer than 11 characters, including spaces, the value appears truncated in the dialog box.



CAUSE
The limit for the cFileNameCaption parameter in the AGETCLASS function is 11 characters.



RESOLUTION
Use a name that is less than 11 characters.



STATUS
This behavior is by design.



Steps to Reproduce Behavior
  Type the following line of code as one continuous line into the Command window and then press ENTER: ?AGETCLASS(cmdhelp,home+"\ffc\_datetime.vcx","_clock",     "Choose a class","Classxxxx x","Pick class") Note that the label for the file name text box displays.   Add one more character to the cFileNameCaption parameter so that the command reads like this: ?AGETCLASS(cmdhelp,home+"\ffc\_datetime.vcx","clock",     "Choose a class","Classxxxx xx","Pick class") Note that the label for the text box is truncated. 

Additional query words: kbvfp600

Keywords: kbprb KB186025

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.