Hello David, > I have X items, where X can be any number between 1 & 20 - user definable. > > I want to make a dialog box with X checkboxes in it, but I don't know until the user >defines > X, how many there will be. The object is for the user to be able to select which of >these X > items will be used in the next step. I'm sure you've figured out that the "calling ..." syntax of a "dialog" statement allows your own initialisation sub to be called. This is where add/removal of dialog items, such as your checkboxes, can be made. However, to the best of my knowledge, there is no way (apart from using the Windows API) to alter the size of a MB dialog once it's been created. So, you may need to make some form of calculation of height/width when the dialog command is issued. An alternative approach, which may be slightly more consistent for the user, is to always show those 20 options but list them as "undefined" and disable the checkboxes. This way the user is reminded that there is capacity for extra user-fields, etc. Regards, Warren Vick Europa Technologies Ltd, U.K. www.europa-tech.com ---------------------------------------------------------------------- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
Re: MI Dialog box - how to change number of controls?
Warren Vick, Europa Technologies Ltd. Thu, 14 Jan 1999 16:57:25 -0500
- MI Re: Question Warren Vick, Europa Technologies Ltd.
- Re: MI Question laura . piazza
- Re: MI Question Mats Elfstr�m
- RE: MI Wish list - an ideal gridmake... Richard Takacs
- RE: MI Wish list - an ideal gri... Alex Eshed
- RE: MI Wish list - an ideal... Warren Vick, Europa Technologies Ltd.
- RE: MI Wish list - an ideal gridmake... Perry Chris
- RE: MI Wish list - an ideal gri... Chuck Collins
- Re: MI Wish list - an ideal gridmake... Dawn Hendrick
- MI A couple of Integrated Mappi... David Baker
- Re: MI Should labels go on ... Warren Vick, Europa Technologies Ltd.
- Re: MI Should labels go on ... Bill Thoen
- Re: MI shipping lanes JCSI MAPS
- Re: MI Adding raster image ... Christopher DuBuc
- RE: MI Wish list - an ideal gridmake... Perry Chris
