comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » generic text box window
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
generic text box window [message #28421] Mon, 17 December 2001 15:47 Go to next message
sailfalmouth is currently offline  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 #28526 is a reply to message #28421] Wed, 19 December 2001 14:18 Go to previous messageGo to next message
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
Brian Bell wrote:

> 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.
>

Hello,

Martin Schultz has written a set of object based GUIs for just the kind of
thing you are looking for. You can find a link to his resources at either
Liam Gumley's links page (www.gumley.com) or David Fanning's
(www.dfanning.com). Martin's GUI for the text field can be realized with
built in 'Cancel'/'Accept' or 'Dismiss' buttons.

Ben


--
Ben Tupper
Bigelow Laboratory for Ocean Science
180 McKown Point Road
West Boothbay Harbor, ME 04575
www.bigelow.org
btupper@bigelow.org
Re: generic text box window [message #28618 is a reply to message #28421] Wed, 19 December 2001 15:18 Go to previous message
David Fanning is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Slider value triggers event only when released
Next Topic: Re: Pointer syntax and IDL 4.0

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 14:01:02 PDT 2025

Total time taken to generate the page: 0.00536 seconds