|
Con To populate the listbox, you have to first
populate an array. Here is some code which I have directly cut out of one of
my mbx programs. It fills a multi-list box, which is similar to a list box. dim titleArray(50) as string for i = 1 to
tableInfo(theFeatureLayer,TAB_INFO_NROWS) Fetch Rec i from
theFeatureLayer titleArray(i) =
theFeatureLayer.col1 next redim titleArray(i) Dialog Control MultiListBox Title From Variable
titleArray id 2 Position 5, 25 Width 150
Height 50 Control CancelButton calling shutDownDialog Control OKButton calling goSomewhere() end sub sub shutDownDialog() 'drop table Sel_R1 Dialog Remove end sub Hope this helps Cheers James Kelly Spatial Information
Officer Midway Pty Ltd Tel. +61 3 5277 9255 Fax +61 3 5277 0667 Mob +61 4 3834 5760 (0438
345 760) From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Regards, Manager – Geographic Information
Systems Message protected by MailGuard: e-mail anti-virus, anti-spam and
content filtering. Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering. http://www.mailguard.com.au/tt |
_______________________________________________ MapInfo-L mailing list [email protected] http://www.directionsmag.com/mailman/listinfo/mapinfo-l
