Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Unpublicised -color- command in dialogs


From   Roger Newson <[email protected]>
To   [email protected]
Subject   st: Unpublicised -color- command in dialogs
Date   Thu, 19 Aug 2004 12:05:42 +0100

Hello All (especially StataCorp)

I have been planning an update for the dialog of my -eclplot- package (downloadable from SSC), and have been trying to work out how to include standard comboboxes and list boxes so that the user can select marker symbols, sizes and colors. In the course of examining the Stata .idlg files mentioned in the very helpful FAQ by Jean Marie Linhart and Alan Riley, I have found frequent appearances of a COLOR command, which does not seem to be mentioned in -[P] dialogs- or even in -whelp undocumented-, and which appears to be connected with enabling the "Custom color" option in comboboxes for color selection. Is this documented anywhere? And how does it work?

More generally, is there any documentation on how to implement comboboxes and list boxes for standard frequently-used graphics options such as symbols, sizes and colors? For instance, the file -_glist_def.idlg- contains references to -contents()- specifications with names such as "symbols", "symbolsizes" and "colors". Do these refer to standard LISTs which the dialog programmer is well-advised to use, instead of defining them anew and re-inventing the wheel?

Best wishes (and thanks in advance)

Roger

--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605
Email: [email protected]
Website: http://www.kcl-phs.org.uk/rogernewson

Opinions expressed are those of the author, not the institution.

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index