Dear Teguh
I think the problem here is that the string you are passing to the
control is longer than 255 characters.
You can also pass a string array ( instead of a single string). Have you
tried this?
eg
dim Choices(124) as string
For i = 1 to 124
Choices(i) = str(i)
next
....
....
....
Control Popupmenu
ID 5
Title from array Choices
Worth a try!
Regards
Bob
In message <[EMAIL PROTECTED]
ent.com>, Teguh Yulianto <[EMAIL PROTECTED]> writes
>Dear List,
>i have problem of using popup menu in mapbasic.
>I want to make a list that will appear in pop up menu. This list will be as
>a number from 1 to 124. Any time i compile it, it will create an error. But
>if i just use the list of number from 1 to 101 it will success. So i think
>the problem is the size of character that allowed to used in popup title.
>Here the sample of my program that i use for that pop up.Please give any
>idea to solve this problem.
>Thank you
>
>Control PopupMenu
>ID 5
>Title
>"1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25;26;27;28;
>29;30;31;32;33;34;35;36;37;38;39;40;41;42;43;44;45;46;47;48;49;50;51;52;53;5
>4;55;56;57;58;59;60;61;62;63;64;65;66;67;78;79;70;71;72;73;74;75;76;77;78;79
>;80;81;82;83;84;85;86;87;88;89;90;91;92;93;94;95;96;97;98;99;100;101"
>Value 1
>Into nilai1
>Position 130, 15
>Control OKButton
>Control CancelButton
>
>Cheers,
>
>TEGUH YULIANTO
>RF Design and Optimization Engineer
>Lucent Technologies International O
>JEDDAH, KSA
>LAND LINE : +96612395505
>MOBILE : +96654402391
>----------------------------------------------------------------------
>To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
>"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
--
Bob Young
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]