generic text box window [message #28421] |
Mon, 17 December 2001 15:47  |
sailfalmouth
Messages: 6 Registered: September 2001
|
Junior Member |
|
|
I'm trying to make a generic widget with an editable text box that I
can use to gather information for my program. I have a main top level
base, but would like to create a window (similar to dialog_message or
dialog_pickfile) that would contain a text box for data entry. I
would like to be able to make it generic enough to change what's being
asked for each time it's called.
Does anyone know if the code to dialog_message or Dialog_Pickfile is
available to look at anywhere? Or, could you point me in the right
direction to creating something like this? Thank you,
Brian
|
|
|
|
Re: generic text box window [message #28618 is a reply to message #28421] |
Wed, 19 December 2001 15:18  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Brian Bell (sailfalmouth@yahoo.com) writes:
> I'm trying to make a generic widget with an editable text box that I
> can use to gather information for my program. I have a main top level
> base, but would like to create a window (similar to dialog_message or
> dialog_pickfile) that would contain a text box for data entry. I
> would like to be able to make it generic enough to change what's being
> asked for each time it's called.
>
> Does anyone know if the code to dialog_message or Dialog_Pickfile is
> available to look at anywhere? Or, could you point me in the right
> direction to creating something like this? Thank you,
It has already been done. You can find it here:
http://www.dfanning.com/programs/textbox.pro
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|