03-17-2014 10:35 AM
I have been creating macros(methods) in sas and would like to add a hover message to my macros . The idea is to display data to the user when the user calls the macro to further explain the parameters that should be input.
03-17-2014 11:09 AM
I think you might want to expand on what you are attempting, environment and what you have done so far. Your statement of
"display data to the user when the user calls the macro to further explain the parameters" sounds like you want to display the required paramenters after the macro has already executed i.e. "when the user calls the macro".
03-17-2014 11:24 AM
I think what you are talking is about "auto-completion" which is found in most modern code editors. Unfortunately SAS's Enhanced Editor is a bit of old beast. The nearest thing (at least to V9.3) is abbreviations, Tools->Add Abbreviation. Check out the docs for more info: http://support.sas.com/resources/papers/abbreviations07.pdf
05-13-2014 10:36 AM
I ended up realizing how limited SAS is in the regards of GUI creation. Because I was unable to create a program based on SAS alone I decided to just make a macro and hope the users will be able to understand. The idea was exactly as RW9 was describing. In python you can create functions and when the user calls the function/macro/method a small box describing the parameter is available. This provides the user more information. I just decided to use the window function to display everything once they call the macro. RW9 your link failed to bring anything up, but I'll keep trying thanks.
Thank you all for your help. Sorry for the delayed response. It was a little time sensitive.
05-13-2014 10:52 AM
The doc seems to have been removed, google SAS Abbreviations should throw up the documentation. Yes, GUI creation is pretty much non-existant in SAS.