Title: RE: [MI-L] FW: Dialog controls apparently not doing as they're billed
Hi Peter
 
DOH!!!!
 
Typically I'm getting my commuddles all manded up.
 
Thanks very much .. as usual. That does the trick.
 
Terry


From: Peter Horsbøll Møller [mailto:[EMAIL PROTECTED]
Sent: 29 March 2006 20:45
To: Terry McDonnell
Subject: RE: [MI-L] FW: Dialog controls apparently not doing as they're billed

Terry,

I guess your problem is located in the If statement in your handler.

If gcAnalFolder <> "" then
        note "yes. gcAnalFolder = " + gcAnalFolder
'       Alter Button ID GET_AA_FILE_BUTTON_ID enable
        Alter Button GET_ANAL_FILE_DIALOG enable
Else
        Note "There is no folder specified for this type of Accessiblity Analysis File."
        Alter Button ID GET_AA_FILE_BUTTON_ID disable  End If
End Sub

The command for enabling a button is
Alter Control id_num Enable
               
Alter Button ID GET_AA_FILE_BUTTON_ID enable
is used for buttons on buttonpads not controls on dialogs

HTH,
Peter Horsbøll Møller
GIS Developer, MTM
Geographical Information & IT

_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to