Re: How to add commands to a cascaded menu?

1999-05-25 Thread Rick Macdonald
Ken Bowen wrote: On Tue, 11 Mar 1997, Rick Macdonald wrote: Stewart Allen wrote: When I use Compound/Insert/System/MenuBar, and edit the Open to be a cascade rather than a command, I can't figure out how to add commands to the cascaded menu. I did discover that you have

Re: How to add commands to a cascaded menu?

1999-05-25 Thread Rick Macdonald
On Tue, 11 Mar 1997, Stewart Allen wrote: On Tue, 11 Mar 1997, Ken Bowen wrote: Double-clicking on the second line (command) brings up the usual command edit window. Double-clicking on cascade does nothing. :-( There may be a small problem...I assume you selected Open, then pulled

Re: -- PreCMD and PosCMD

1999-05-25 Thread Rick Macdonald
On Sun, 16 Mar 1997, Lex Luthor wrote: Hi, I'd like to know what those two button (PreCMD and PosCMD) on geometry editor do. I hope we can put commands there to run before the windows is launch and after respectively, but they do nothing ! Well, I haven't used them yet, but

Re: Other potential window manager problems

1999-05-25 Thread Rick Macdonald
[EMAIL PROTECTED] wrote: I am using Linux, wish 4.2, fvwm (focus follows mouse). I've observed several effects that may be related to the window manager: 1. The attribute bar "drifts" from one use of vtcl to the next. By this i mean it moves maybe 5-10 pixels up and to the left on the

Re: How to add commands to a cascaded menu?

1999-05-25 Thread Rick Macdonald
Stewart Allen wrote: When I use Compound/Insert/System/MenuBar, and edit the Open to be a cascade rather than a command, I can't figure out how to add commands to the cascaded menu. I did discover that you have to click "Update" to make the "cascade" _stick_, otherwise it keeps changing

Re: Question about lowering of of windows

1999-05-25 Thread Rick Macdonald
On Thu, 13 Mar 1997, Brian Huggins - x2895 wrote: In my VTCL application, I have several windows that pop up in response to button presses. When the user is done with the window, they hit an OK button which removes the window from the display. However, when they do this, my main (TCL)

vTcl menu edit bug with cascades: work-around!

1999-05-25 Thread Rick Macdonald
I finally got cascaded menus to work. (vTcl 1.08) It seems that if you ever click the "update" button on a cascade menu in the Editing Menu, you can never double-click it to edit the cascaded menu again. Not even if you save the application and quit and restart vTcl and reload the app. For

vTcal saving global vars [was Re: -- Open and locking files...]

1999-05-25 Thread Rick Macdonald
Stewart Allen wrote: I create an app with vtcl that reads in variables from an external file and save it, all my read-in variables are saved in the source as global varibles. Is there a way to defeat this? Visual Tcl "opens" files by sourcing them. It does a couple of tricks to

Re: Bug reports

1999-05-25 Thread Rick Macdonald
As long as they're not set, we're happy, but what's the point of declaring them as global in the "top level" of the code? I've never done this in any of my apps, or even noticed it in others. I believe all it takes is a global in a procedure to make something global, and any vars set in the

vtcl -- 1.09 - Toplevel names

1999-05-25 Thread Rick Macdonald
Not a big deal, but I noticed this in previous versions as well: When you open an application in vTcl that has some hidden toplevel windows, the "Toplevel Windows" window shows their actual names (top19, etc) instead of the names that you assigned and saved as the "Title" in the Geometry

vTcl 1.09 -- bug in button command

1999-05-25 Thread Rick Macdonald
I thought I'd send Larry Virden the "step by step" for a Hello World program that he asked for. I hit a snag. Try this: o start vtcl 1.09 o click toplevel in the toolbar o click button in the tool bar o click the "..." in the Visual Tcl menu, or "Command" in the Attribute editor o

Re: vTcl 1.09 -- bug in button command

1999-05-25 Thread Rick Macdonald
On Wed, 9 Apr 1997, Stewart Allen wrote: On Tue, 8 Apr 1997, Rick Macdonald wrote: I thought I'd send Larry Virden the "step by step" for a Hello World program that he asked for. I hit a snag. Try this: o start vtcl 1.09 o click toplevel in the toolbar o cl

Still an easy to duplicate vTcl bug

1999-05-25 Thread Rick Macdonald
Stewart - this is a repeat of a bug that I sent a month ago. I don't have any record of a reply. My apology if you did. Anyway, the bug still exists in vTcl 1.09 with all the after-patches. I've updated the text below, but it's the same problem. If you follow the

Re: vTcl 1.09 - more user protection

1999-05-25 Thread Rick Macdonald
Darrel Schneider wrote: Rick Macdonald writes: I think that the "Delete" buttons in the following vTcl windows should all pop up confirmation dialogs: o Functions o Toplevel Windows o Variables o Menu Editor o Widget Bindings I guess I'm saying _al

Re: vTcl 1.09 -- Done buttons

1999-05-25 Thread Rick Macdonald
Christoph Gaitzsch wrote: Rick Macdonald [EMAIL PROTECTED] writes: OK, I'm down to being picky now, but here's a suggestion: The Functions, Toplevels and Variables windows could/should all have "Done" buttons to be consistent with the Bindings and Menu Editor (and perh

vTcl 1.09 - bugs in function saving

1999-05-25 Thread Rick Macdonald
The protection for cancelling unsaved edited functions is better now, but still has these dangers: o If you are editing a function, and double click or choose "Edit" on the same funciton in the function window, Poof! The edits that you had made are gone and the function is reverted back

Re: Request for new feature

1999-05-25 Thread Rick Macdonald
Larry W. Virden, x2487 wrote: When I close the main Visual Tcl menu with my window manager, I surely wish that all of the sub windows associated with that particular invocation of vtcl would close along with it (and open again when I reopen the application). It does! vTcl executes the

Re: Request for new feature

1999-05-25 Thread Rick Macdonald
Larry W. Virden, x2487 wrote: When I close the main Visual Tcl menu with my window manager, I surely wish that all of the sub windows associated with that particular invocation of vtcl would close along with it (and open again when I reopen the application). Me again. It just occurred to

Re: Occasional strangenesses

1999-05-25 Thread Rick Macdonald
On Sun, 13 Apr 1997, Robin Becker wrote: I'm getting this error with vtcl-1.09 (under Win95/Tk8.0a2) it seems to happen occasionally immediately after I've opened a project (built under 1.08) invalid command name "" while executing "$vTcl(w,widget) configure -cursor

Re: vtcl seems not be able to deal with unmanaged widgets?!?

1999-05-25 Thread Rick Macdonald
On Thu, 17 Apr 1997, Clemens Hintze wrote: your right! But ... Please try following example, which I have written in pre vTcl time. I think it makes more clear why I want to use that feature: Toggle the option menu to see what I mean. I see! For those that don't, he really has two totally

Re: v1.09

1999-05-25 Thread Rick Macdonald
Mark Schlough wrote: Has anyonehad this situation? THen I get the message Error: bad window path name ".vTcl.com__top17_but18" This sounds like a problem that has been fixed in the soon-to-be-released 1.10. -- ...RickM...

Re: your mail

1999-05-25 Thread Rick Macdonald
On Fri, 30 May 1997, Fletcher, Bob (GEAE) wrote: Running vtcl on tcl7.6/tk4.2 on HPUX 10.20 I get the following. When I try to save a file, it saves part of the file and then says, Can't read "output" no such variable. . That was a v1.08 bug. Here is the solution from Tony Grimm: ---

Re: Networking?

1999-05-25 Thread Rick Macdonald
Michael Asher wrote: Is there a specific set of functions (widgets?) that make socket connections or similar such things? Yes. New in tcl 7.6 or 8.0; I'm not sure which. -- ...RickM...

Re: vtcl seems not be able to deal with unmanaged widgets?!?

1999-05-25 Thread Rick Macdonald
On Thu, 17 Apr 1997, Clemens Hintze wrote: "Rick" == Rick Macdonald [EMAIL PROTECTED] writes: [DELETED ...] Rick Somebody posted recently that they had written the same thing in Was me, I thing :-| Rick tcl/tk only, and wanted to try to make it

Re: Problems with grid management?!?

1999-05-25 Thread Rick Macdonald
Larry W. Virden, x2487 wrote: The first thing he wanted to do was to turn on the grid manager. Remember, we are using 1.09 here. He tried 'pressing the manager' buttons on the top of the geometry window. It _appears_ that these were just 'indicator lights' showing which manager was in

Re: vtcl newbie question: global variables

1999-05-25 Thread Rick Macdonald
Troy Monaghen wrote: I have been working on building an application using vtcl and I have defined several global variables in the Variables window. When I save, close and re-open it most of the global variables disappear... even though I see them in the source file (if I save it again they

Re: passing arguments from an entry box

1999-05-25 Thread Rick Macdonald
Stewart Allen wrote: On Mon, 16 Jun 1997, Craig Fielden-Windsor wrote: Hi - can anyone tell me how to get vtcl to read the entry in a .entry box as a variable so I can then pass it to a perl script as $ARGV[0]? entry_widget get will return the text. used like this: set a [.e

Re: Lost functions

1999-05-25 Thread Rick Macdonald
Heidrich Attila wrote: I tried to build a small application with vtcl. I was happy for a few days, everithing seemed nice, but now I put some new objects to the application toplevel, and all of my other toplevels, and the functions had been lost! Something used to happen to me where

use of destroy vs hide in vTcl

1999-05-25 Thread Rick Macdonald
In my manual tcl/tk programming, I use "destroy" in the command of the "Done" or "OK" buttons of auxillary toplevels. In vTcl, if you do this and then run the application in vTcl's "TEST" mode, clicking that "OK" button _deletes_ the whole toplevel from vTcl! :-( So, I soon learned to use

Re: How do I change the cursor to hourglass ?

1999-05-25 Thread Rick Macdonald
On Sun, 20 Jul 1997, Constantin Teodorescu wrote: Inside a vtcl program I call a user defined function that performs some tasks maybe 10 seconds or more. I want to show to the user that something is working there. How can I change the cursor to hourglass before entering the function and

Re: Calling 'Window show' with $base

1999-05-25 Thread Rick Macdonald
On Wed, 3 Sep 1997, Stewart Allen wrote: On Tue, 2 Sep 1997, Rick Macdonald wrote: Damn, I've found that now that I've gone and changed the hardwired .tops... to $base, vTcl changes them back when I load it save it. Plus, some commands have braces instead of quotes

Re: [vtcl] Terminal communications from Visual tcl

1999-05-25 Thread Rick Macdonald
On Sun, 21 Sep 1997, Mike Sullivan wrote: I am struggling to write a few serial input and output routines fot visual tcl (on my Linux box). I want to make sure baud rate, etc are properly set. I have had some success by opening files such as /dev/ttyS1 for output and input, but the input

Balloon help as a selectable widget

1999-05-25 Thread Rick Macdonald
Here's a suggestion for later, after the next bugfix release. :-) Since you have balloon help implemented in vTcl, could you somehow make it available to the user to add to their own application? I know you're adding Tix, and that Tix has ballon help, but this might be a nice feature for vTcl

Re: multiple listbox selection

1999-05-25 Thread Rick Macdonald
Mark Hutchinson wrote: Has anyone got ideas how I can implement a win95 -type approach to list selection from a listbox. I.e I want to be able to select one item, then either shift-select another and have everything else in between highlight, or control-select and highlight that item in

Re: [vtcl] Creating widgets at a specific location

1999-05-25 Thread Rick Macdonald
[EMAIL PROTECTED] wrote: Hey dudes, Yesterday while building an interface, I realized at one point that I had forgotten a label/Entry pair at the top of my interface. Since I had another such pair, I tried to cut and paste it but it always was packed at the bottom of the interface. So I

Re: [vtcl] Split

1999-05-25 Thread Rick Macdonald
Keith Dart wrote: On Fri, 26 Sep 1997, Mixer wrote: Well this isn't really a Vtcl question but I am using Vtcl and trying to completely learn Tcl/Tk, so here goes. I want to do a tail on a file for the last line and then split up the line so I can manipulate the data, so I thought I

[vtcl] NT users: what does tcl_platform show on NT?

1999-05-25 Thread Rick Macdonald
Could I trouble an NT user to send me the output of the following commands under tclsh or wish: array get tcl_platform puts [info hostname] Are the results reasonable (especially, is the hostname correct?) ...RickM...

Re: [vtcl] Need Help

1999-05-25 Thread Rick Macdonald
On Mon, 22 Sep 1997, Wade Hampton wrote: Are my posts making it to the list? Yes! I get the same "malformed expression word" error from wish. Any ideas? This appears to be a floating problem It appears in one place, I code around it, then it moves somewhere else I don't see

Re: [vtcl] Creating reusable entities via vtcl?

1999-05-25 Thread Rick Macdonald
On Fri, 10 Oct 1997, Larry W. Virden, x2487 wrote: Would you be willing to write up a set by set on how to create a sample compound and then how to use it? ...hopefully using the syntax of the tutorial, so that it can be added to it... :-) ...RickM...

Re: [vtcl] Creating reusable entities via vtcl?

1999-05-25 Thread Rick Macdonald
On Mon, 13 Oct 1997, Larry W. Virden wrote: Fabien COUTANT wrote: I've done it. It's not more difficult than creating a compound. I join the tutorial I wrote as attachment. I tried to follow the tutorial style as you requested. Thank you so much! I assume that one of the keepers

Re: [vtcl] Getting vi into tcl window

1999-05-25 Thread Rick Macdonald
Phillip Mau wrote: I am on a Sparc platform (Solaris 2.6) and managed to come up with a way to throw up a scroll-bar tcl windows showing the /etc/passwd. That is fine. What I am trying to do is get a tcl window to pop up with a pre-determined file (passwd) and vi to come up with the push of

Re: [vtcl] Crypt

1999-05-25 Thread Rick Macdonald
On Sun, 28 Sep 1997, Mixer wrote: I am using vtcl to create an app that needs to create an encrypted passwd, I have "Tcl and the Tk Toolkit" but do not see anywhere in there where I can call crypt as I would from a perl script, such as: $passwd = crypt(pass,salt); Is there a way to call

Re: [vtcl] Possible Bug

1999-05-25 Thread Rick Macdonald
On Sat, 1 Nov 1997 [EMAIL PROTECTED] wrote: On 1 Nov , Rick Macdonald wrote: Under the menu item File/Preferences, make sure "Save global variable values" is _not_ selected. While in vTcl, you'll see the platform name in your label. Don't worry about that. Whe

Re: [vtcl] List boxes and scroll bars

1999-05-25 Thread Rick Macdonald
John Hoffmann wrote: I'm having a problem linking a vertical scroll bar to a list box. Can anyone give me some examples, as I couldn't find any in the demo directory. Here's a list of vTcl features that aren't obvious or documented. Stewart sent this out Sep 18. --- snip --- - using

Re: [vtcl] NT users: what does tcl_platform show on NT?

1999-05-25 Thread Rick Macdonald
On Mon, 6 Oct 1997, Ken Bowen wrote: % array get tcl_platform byteOrder littleEndian osVersion 4.0 machine intel platform windows os {Windows NT} % info hostname suntzu The machine name is correct, as is all the other info. Thanks! ...RickM...

Re: [vtcl] Using vtcl and C

1999-05-25 Thread Rick Macdonald
On Sat, 15 Nov 1997, Brian T Hills wrote: Is it possible to write some functions in C and incorporate them within vtcl when constructing an application? Is there a simple solution to this problem? Not a problem. Just run vTcl with your customized version of wish by putting it into the vtcl

Re: [vtcl] Sockets

1999-05-25 Thread Rick Macdonald
On Mon, 29 Sep 1997, Timothy J. Walker wrote: Now I'm trying to figure out how to send 0 bytes to the server to disconnect him. Can't you just do [close $s]? ...RickM... --- To unsubscribe from the Visual Tcl mailing

Make Window menu a tear-off

1999-05-25 Thread Rick Macdonald
Stewart -- It occurred to me that when you change the Window menu to consist of 8 checkbuttons (including the Widget Toolbar ;-) for toggling all the various vTcl windows on and off, it would be appropriate to make it a tear-off menu. ...RickM...

Re: vtcl seems not be able to deal with unmanaged widgets?!?

1999-05-25 Thread Rick Macdonald
On Thu, 17 Apr 1997, Clemens Hintze wrote: I wonder if vtcl cannot deal with unmanaged widgets correctly? What means that: suppose I have a surface with a checkbox (called .top1.cb1) and two buttons (.top1.b1 and .top.b2 for example). I use the packer throughout the whole example. Now I

Adding new toplevel to app reuses existing toplevel names

1999-05-25 Thread Rick Macdonald
When I go to add a new toplevel to my application, it reuses existing toplevel names, such as .top18m .top19, etc. I thought somebody reported this some time ago. Is this still a problem? I'm sure I'm using the latest version 1.10. ...RickM...

Re: Tcl/Tk newbie advice?

1999-05-25 Thread Rick Macdonald
Bermingham Charles E wrote: Also, what book(s) would be best to get hold of for learning Tcl/Tk really well? Practical Programming in Tcl and Tk [Second Edition] by Brent B. Welch. Prentice Hall ISBN 0-13-616830-2. -- ...RickM...

vTcl default font names

1999-05-25 Thread Rick Macdonald
As of vTcl v1.10, it seems to pick up the CDE font names (Sparc running Solaris) as the defaults. When I bring my application home to work on I have to change these: -font {-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*} to what I seemed to get as default before: -font

Re: [vtcl] Project management, please!

1999-05-25 Thread Rick Macdonald
Michael Rogers wrote: I agree. Mike Rogers Munther M. Hindi writes: This is a plea for the addition of some type of multifile/project management support into vTcl. Stewart has said many times that this is an issue the next major release will address. -- ...RickM...

Re: [vtcl] Listbox update

1999-05-25 Thread Rick Macdonald
On Thu, 23 Apr 1998, Ryan Armstrong wrote: listbox pathname insert 1 "Line 1" ; should add to the first line of the listbox. When I try it, the listbox command gives an error that the widget already exists. ie. It tries to create. Should just be pathname insert 1 "Line 1" ...RickM...

Re: [vtcl] Welcome back, Stewart!

1999-05-25 Thread Rick Macdonald
On Thu, 18 Sep 1997, Chris Davies wrote: My main comment is that you often need to move back up the resource tree quickly. Placing 6 frames in a top level is rather time consuming. A way to transfer the from one wiget to another using keyboard options would be greatly appreciated. I like

bug in vtclib.tcl regarding toplevel creation using base

1999-05-25 Thread Rick Macdonald
After I manually changed all the hardwired ".top22..." in my tcl code, I found that I also had to make the following change in lib/vtclib.tcl: proc Window {args} { global vTcl set cmd [lindex $args 0] set name [lindex $args 1] set newname [lindex $args 2] set rest [lrange

Re: Calling 'Window show' with $base

1999-05-25 Thread Rick Macdonald
On Sat, 30 Aug 1997, Ken Bowen wrote: Of course, the '-in .top22...' statements fail. I haven't tried changing these manually to '-in $base...' but maybe it's that simple. Yes, I've done this several times. At the moment, I consider it a small price So, I assume that once the edit

Re: [vtcl] Window disapear

1999-05-25 Thread Rick Macdonald
On Thu, 22 Jan 1998, Rudolf Lindner wrote: After saving, exiting and restarting vtcl, the window-list does not show the names that I gave the windows, it shows the generated names instead (.top19, .top20, etc...). I think I reported this quite some time ago. Now when I create a new window

Re: updating variables

1999-05-25 Thread Rick Macdonald
Bob Weant wrote: I want to display a list of Button/Entry pairs to the user, such that the user can press the button and make a directory/file selection using the tk_getOpenfile routine. Once the dir/file is selected, I want the entry portion of the pair to display what the user selected.

Re: [vtcl] extended widget support (renamed thread)

1999-05-25 Thread Rick Macdonald
Larry W. Virden, x2487 wrote: Perhaps the best approach would be to freeze the current vtcl and then start a new version, using only tcl 8 features. That way, folk who have frozen themselves at a no longer supported Tcl have a no longer supported version of vtcl they can download, but

Re: [vtcl] Disappearing fcts and variables

1999-05-25 Thread Rick Macdonald
On Fri, 10 Apr 1998, Laurent Duperval wrote: Is it at all possible to keep vtcl from deleting variables which are not used by widgets but which need to be declared global? For example, a variable that is set in init and shared between two procs. I've never had a problem with this; I do it

Re: [vtcl] Using variable values for widget fonts

1999-05-25 Thread Rick Macdonald
Rudolf Lindner wrote: I have tried to use variable font names for message widgets, so that I am able to use different font names under unix and windows. But since vtcl generates the procedures that build the windows, it is not possible to use variables here ... Use the named font features

Re: Request for new feature

1999-05-25 Thread Rick Macdonald
On Fri, 18 Apr 1997, Larry W. Virden, x2487 wrote: Re: it does I think I have fallen victim to a terminology glitch. When I spoke of 'close', what _I_ meant was 'to iconify the application'. I call the termination of an application 'quitting' the application. Oops. I see now. I'll take

Re: [vtcl] extended widget support (renamed thread)

1999-05-25 Thread Rick Macdonald
Sam Tregar wrote: Does this need an example? Ok. I switched to 8.0 and realized that if I wanted to preserve the menu behavior of an important application I would have to rewrite all the menu interfaces to use the new style. That just isn't an option right now. Larry's suggestion takes

Re: Tcl/Tk advice--thank you!

1999-05-25 Thread Rick Macdonald
On Tue, 9 Sep 1997, Algis Zakarauskas wrote: Bermingham Charles E wrote: I do have *Practical Programming in Tcl and Tk*. It is an excellent book, and the CD-ROM comes with lots of toys. I expect to get a lot of help from it. Don't forget Dr John Ousterhouts book - Tcl and the Tk

[vtcl] Re: vtcl

1999-05-25 Thread Rick Macdonald
Mike Malone wrote: I am trying this tool out. It seems to be pretty good. I had a bad experience with a tool called XF. I have a window containing some controls including an entry widget. What value do I put in take focus attribute to have the entry field take the focus when the

Re: Possible bug in Tk scale widget

1999-05-25 Thread Rick Macdonald
On Wed, 10 Sep 1997, Fabien COUTANT wrote: Rick Macdonald wrote: | This isn't vTcl specific. I was going to post this to the tcl newsgroup | but it's a bit long and I feared getting flambee'd for it. | I'm hoping somebody could try this out on Tcl/Tk version 8 and let me | know

Re: Forwarded: All that keyboard stuff

1999-05-25 Thread Rick Macdonald
Bermingham Charles E wrote: Do the different Tk widgets have different keyboard behaviors? In other words, do the tk widget developers have a lot of control regarding the keyboard's behavior, or is there some standard interface? Look at the man page or doc for any widget, such as the

Re: Calling 'Window show' with $base

1999-05-25 Thread Rick Macdonald
On Tue, 2 Sep 1997, Stewart Allen wrote: Of course, the '-in .top22...' statements fail. I haven't tried changing these manually to '-in $base...' but maybe it's that simple. Yes, I've done this several times. At the moment, I consider it a small price So, I assume

Re: [vtcl] Question

1999-05-25 Thread Rick Macdonald
Kenn Persinger wrote: I needs to make sure some of the programs i write are winblows compliant. Can anywhere tell me where i can get tcl/tk source/executable for win95?? Here's the Tcl/Tk on Windows FAQ: http://www.pconline.com/%7Eerc/tclwin.htm Here's where to get the windows binary:

Possible bug in Tk scale widget

1999-05-25 Thread Rick Macdonald
This isn't vTcl specific. I was going to post this to the tcl newsgroup but it's a bit long and I feared getting flambee'd for it. The sample code was generated by vTcl so I thought it would be OK to post it here. :-) I built this back in March with vTcl 1.08 but never got around to sending it

Re: [vtcl] Updating labels

1999-05-25 Thread Rick Macdonald
On Wed, 21 Jan 1998, J. J. Westergren wrote: What's the code you are using to assign the variable to the other variable? I assume that you have some button that executes a command which changes the text of the label? Such a command could be: proc JustDoIt {} { global entry_var label_var

Re: [vtcl] dumb newbie question -- how to grid?

1999-05-25 Thread Rick Macdonald
On Sun, 1 Mar 1998, Mark Harrison wrote: How can I make widgets grid or pack in any pattern besides a single column? If someone can tell me how to make four buttons like this: A B C D With the grid and pack options I would be most appreciative! I haven't used the grid

Re: [vtcl] How do you insert the current date/time?

1999-06-03 Thread Rick Macdonald
On Thu, 3 Jun 1999, Jon Passmore wrote: I'm new to tcl and I'm trying to insert the current date/time into a file I'm generating for tracking purposes.. Is there a command to do it or just a method/procedure someone could share with me? sys4:/prg/rickm tclsh % clock format [clock seconds]

Re: [vtcl] How to emulate pressing a button from pull down menu?

1999-08-14 Thread Rick Macdonald
On Sat, 14 Aug 1999, [EMAIL PROTECTED] wrote: I have a program that has buttons to access different windows. I would like to add pulldown menus that would just represent a button click. Thoughts welcome. You just put the same command on the menu as on the button. Or, you could give the

Re: [vtcl] problems with textvariables

1999-08-16 Thread Rick Macdonald
On Mon, 16 Aug 1999, Carl Burton wrote: I keep trying to assign a textvariable (text var) to a label and it dosnt seem to want to take it. Very occasionally it does take the variable name but when it does text does not appear in the label anymore why? The only way I

Re: [vtcl] small app data file recomendataions

1999-08-23 Thread Rick Macdonald
On Sun, 22 Aug 1999, [EMAIL PROTECTED] wrote: I am writing a small client tracking app in which I am using a small text database using the | symbol as a field delimiter.I am used to using a berkly style database and perl for such file operations, however, I would like to see clear text

Re: [vtcl] small app data file recomendataions

1999-08-24 Thread Rick Macdonald
On Tue, 24 Aug 1999, Support wrote: I do not know how to read the entire file into a single variable other than to append each line to the variable. I only know how to read a line at a time and check for an end of. Is there a faster way? Example how I am reading a line at a time:

Re: [vtcl] How do I..

1999-09-12 Thread Rick Macdonald
On Fri, 10 Sep 1999 [EMAIL PROTECTED] wrote: On 15 Aug, Leon Brooks wrote: Carl Burton wrote: 2) Can I have more than one column in a list box ? With suitable dextrous appendment of spaces, I guess so. Have you looked into Tix or any of the other Tk toolkits? Get Oakley's

Re: [vtcl] Multi-line entry widget?

1999-09-18 Thread Rick Macdonald
On Sat, 18 Sep 1999, rjent wrote: I have a memo field in an app that I am writing and I have been using entry widgets for all entry but I do not know how to handle this memo area that will have several lines. I suppose my exatc question is: Can an entry widget have multiple lines? If not

Re: [vtcl] Scrollable Canvas

1999-09-21 Thread Rick Macdonald
On Tue, 21 Sep 1999, Fred Wittekind wrote: I'm trying to create a scrollable canvas widget within Visual TCL. I've associated the scrollbars with the canvas, set the geometry, and set size attributes. The scroll bars move properly, but none of the widgets I've placed in the canvas

Re: [vtcl] Using $widget(alias) calls in procs?

1999-10-13 Thread Rick Macdonald
On Wed, 13 Oct 1999, [EMAIL PROTECTED] wrote: I am waniting to use the $widget(alias) feature in procs but seem to be having a bit of trouble understanding the global / local concept in this specific case. I have tried: global alias inside the proc with no success. Thinking that the

Re: [vtcl] Requesting validating 6digits and 2 decimals with regexp

1999-11-23 Thread Rick Macdonald
On Tue, 23 Nov 1999, Larry W. Virden wrote: If you are not using 8.2.2, but could, I would recommend the upgrade. I'm still using 8.0.x. Every time I think of upgrading, I look at c.l.t and still see reports of deadlocks and (windows) socket problems. I know you keep a closer eye on things.

Re: [vtcl] Silly Question

2000-01-12 Thread Rick Macdonald
On Wed, 12 Jan 2000, Otto Stolzenberger wrote: How can I set global variables in Visual TCL? Thanks. You just delcare them global in the procs that need to access them. You do not have to declare them anywhere outside of these procs. proc DoIt {args} { global goodstuff widget puts

Re: [vtcl] Re: Silly Question

2000-01-12 Thread Rick Macdonald
On Wed, 12 Jan 2000, Otto Stolzenberger wrote: I guess I should explain my problem a bit more. I have some variables that I need to set to a default value when the application is first run. These values will change as the user modifies settings. I set these default values in the Main

Re: [vtcl] destroy widgets

2000-01-13 Thread Rick Macdonald
On Thu, 13 Jan 2000, Ken Bowen wrote: On Wed, 12 Jan 2000, Larry W. Virden wrote: eval is specifically intended to do the conversion of a list into seperate arguments... I must be living on a different wavelength. From the help file: "Eval takes one or more arguments, which

Re: [vtcl] Error Handling [correction]

2000-01-13 Thread Rick Macdonald
On 13 Jan 2000, Mert Inceiplik wrote: Excuse me; I wrote 'MS programmer' I meant 'programmer on MS systems tools' ;^P Ah, then maybe I'll see if I can find your post in my trash folder... ;-) Just kidding. Actually, I couldn't tell exactly what you wanted to know. Perhaps a more

Re: [vtcl] destroy widgets

2000-01-13 Thread Rick Macdonald
On Thu, 13 Jan 2000, Ken Bowen wrote: I'll agree that it seems like eval is splitting lists, but I'll maintain that the reality is somewhat different. I agree, that's why I just said "the effect of" for the usage asked about. I comfortable with the man page explanation that was already

Re: [vtcl] Splitting lists

2000-01-14 Thread Rick Macdonald
On Fri, 14 Jan 2000, John N S Gill wrote: What you get with eval is an extra application of the TCL parser. Exactly right. By passing the (single) arguement to eval you use the parser to strip off the quoting {}'s. eval then passes the result on the parser. This isn't quite a matter

Re: [vtcl] Problems with copy paste

2000-02-17 Thread Rick Macdonald
On Thu, 17 Feb 2000, Bernhard Zipp wrote: I am running vtcl under NT4.0 and I want to use in my applications the Windoze copy and paste. How can I enable or disable this function in vtcl? Sometimes, when I use an EDIT-widget I can copy the text content into the clipboard. But sometimes it

Re: [vtcl] Unix 1.11 compatibility with 1.2.0

2000-02-18 Thread Rick Macdonald
On Fri, 18 Feb 2000, Alireza Beiklou wrote: Whenever I create something on UNIX machine Visual Tcl 1.11, and want to edit it on the NT machine 1.2.0, I can not open the file because of the following message: ERROR SOURCING PROJECT UNKNOWN OPTION "-menu" Do you know what's the problem?

Re: [vtcl] Two vtcl related notes from the Tcl Conference

2000-02-20 Thread Rick Macdonald
On Sun, 20 Feb 2000, Larry W. Virden wrote: During last week's Tcl conference, at least two items relating to the vtcl community arose. The first was a comment by one attendee who asked why vtcl doesn't allow one to specify the variable names it uses. Most people who have trained in

Re: [vtcl] Rmouse menu help needed

2000-03-07 Thread Rick Macdonald
On Mon, 6 Mar 2000, [EMAIL PROTECTED] wrote: I have been polishing up an application I have been working on and I would now like to put a RMouse menu on certin things. I know how to get the RMouse event to bind but a bit confused on getting the menu to popup. Could someone help? I've

Re: [vtcl] VTcl not working

2000-03-08 Thread Rick Macdonald
On Wed, 8 Mar 2000, B. Sylvester Riel wrote: I've just recently been introduced to VTcl (1.2) and Tcl (8.3). The program looks great, but I can't seem to get it to work. The programs freezes intermittently. It doesn't seem to freeze at any specific place. Sometimes it would freeze as

Re: [vtcl] absolute geometry of main window

2000-03-03 Thread Rick Macdonald
On Fri, 3 Mar 2000, Uwe Koloska wrote: After a long struggle with majordomo, I hope this mail goes through to the list ... Hello, is it really necessary for vtcl to save a programm with an absolute geometry for the main window? This behaviour is very annoying when changing platforms

Re: [vtcl] absolute geometry of main window

2000-03-03 Thread Rick Macdonald
On Fri, 3 Mar 2000, Rick Macdonald wrote: On Fri, 3 Mar 2000, Uwe Koloska wrote: After a long struggle with majordomo, I hope this mail goes through to the list ... Hello, is it really necessary for vtcl to save a programm with an absolute geometry for the main window

Re: [vtcl] anything new since 1.2.0?

2000-03-15 Thread Rick Macdonald
On Wed, 15 Mar 2000, Larry W. Virden wrote: Note that your msg did arrive here. Unfortunately, little is being done towards a new release - even a maintenance release - as far as I can tell. Is there anyone who considers vtcl critical enough for their own use that they would step forward

RE: [vtcl] anything new since 1.2.0?

2000-03-21 Thread Rick Macdonald
On Tue, 21 Mar 2000, Eric Bresie wrote: What do you mean when you say it doesn't do dynamic widget creation? As I understand vtcl, it is more for making the gui and you fill in how the gui reacts (when it's loaded, when it's hidden) Eric - please see my responses to his reply to my original

Re: [vtcl] anything new since 1.2.0?

2000-03-21 Thread Rick Macdonald
On Tue, 21 Mar 2000 [EMAIL PROTECTED] wrote: Put the source statement in your main function. That way it will be part of your application and not VTCL. Well, as soon as you click on the vTcl TEST button, those procs become part of the vTcl application because the main funciton is executed.

Re: [vtcl] VTCL

2000-03-22 Thread Rick Macdonald
On Thu, 23 Mar 2000, Travis Boucher wrote: Rick Macdonald wrote: Perhaps all you want is simply to put this as the first line of main: tkwait visibility .top17 This will show the window before running the rest of the code in main. Thank you VERY much Rick. I now have the window

  1   2   >