Hi Ian Ah, yes, I get it. Yes, essentially I'd prefer "How do I refresh my dialog's fields without dismissing the dialog?". Hadn't thought of using alter control (have used it to change the status of controls on dialogs, such as disabling buttons, but hadn't thought of using it to change values - still learning MB "philosophy"). Your advice here, along with your previous message, re. ReadControlValue() (which I'd used before but totally forgotten about!), I think equips me with all I need for a smooth dialog refresh. The way I was going about it I was expecting the flicker of the dialog as it renewed, which wasn't ideal, but I'd been prepared to tolerate it.
So thanks a bunch Best Terry -----Original Message----- From: Ian Erickson [mailto:[EMAIL PROTECTED] Sent: 07 December 2005 18:46 To: Terry McDonnell Subject: Re: [MI-L] Index of pop-up/combo not being retrieved. Your original email does include the larger question of "How do I update a control without dismissing the Dialog?" The answer points is: Alter Control Alter Control will give you the ability to change the values of control while the Dialog remains active. I would suggest that rather than call the dialog again in your REFRESH_ONDS_DETS_DIALOG sub, simply make a call to Alter Control using the DEF_POPUPMENU_ID constant as the control ID. The MapBasic Help documentation should really help you out in this regard... Good luck! _______________________________________________ MapInfo-L mailing list [email protected] http://www.directionsmag.com/mailman/listinfo/mapinfo-l
