Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
29305 Discussions

maximum number of characters in a listbox

timberwolf
Beginner
527 Views
Hello,
What is the maximum number of characters can a list box display?
Thanks.
0 Kudos
2 Replies
anthonyrichards
New Contributor III
527 Views
According to thishttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/office97/html/output/F1/D2/S5A083.aspeach column can be 22 inches (although I now note thatit mentions MS Access)! So itwill depend on what font size you choose for your dialog boxes I guess...

Message Edited by anthonyrichards on 09-09-2004 09:24 AM

0 Kudos
anthonyrichards
New Contributor III
527 Views
If you look in DFLOGM.F90 you will find the following coded:

! all character strings should be this size
integer, parameter :: STRSZ = 256
and thisline at various locations:
character*(STRSZ), pointer, dimension(:) :: charvalue
including where list/combo box settings are being changed. So I guess the answer is 256 (for Visual Fortran dialog boxes, at least).

Message Edited by anthonyrichards on 09-09-2004 09:32 AM

0 Kudos
Reply