Don is still convinced that a single widget or single container copy/paste is going to be your best bet. We might try to delve deeper into this in a later version of PAGE. However, right now, we are trying to get PAGE 8.1 ready for a release candidate, so there won't be anything happening in the near future. Sorry, Greg
Hello again. Sorry for the delay. Just got off conference with Don (again) and he still has no clue as to how that is happening. Neither he or I can duplicate the issue with any new project. That is using PAGE 8.0 as well as PAGE 8.1 test. The only thing I can suggest is that you try to create a new project and do a few widgets (as you did before) and see if it will duplicate for you. If so, please post the newer .tcl file. Thank you in advance, Greg
Back in PAGE 5.x, each Toplevel form was considered it's own Python program. So for each Toplevel form, you had three files. The .tcl file, the GUI.py file and the support.py file. In PAGE 8 (and PAGE 7), that changed. In the "newer" PAGE versions, you can have as many Toplevel forms as you want and there are only 3 files. The .tcl and the two .py files. You don't have to import each Toplevel PAGE files, that's all ready done for you by PAGE. It's extremely difficult to explain in a small form like...
What version is the "old" PAGE program? If you are trying to add a new toplevel window to a program from back around PAGE 6.x or earlier (and probably 7.x), you probably can't do it. There is some backwards compatibility but only a small amount. You would probably have better luck doing a borrow of the earlier Toplevel forms into a new (8.0) PAGE project, then you should have no problems adding new Toplevel forms to the new project. If you would like, you can always zip up the old .tcl file(s) and...
What version is the "old" PAGE program? If you are trying to add a new toplevel window to a program from back around PAGE 6.x or earlier (and probably 7.x), you probably can't do it. There is some backwards compatibility but only a small amount. You would probably have better luck doing a borrow of the earlier Toplevel forms into a new (8.0) PAGE project, then you should have no problems adding new Toplevel forms to the new project. Greg
Assuming your Toplevel is named , the main function in the support module will look something like this... def main(*args): '''Main entry point for the application.''' global root root = tk.Tk() root.protocol( 'WM_DELETE_WINDOW' , root.destroy) # Creates a toplevel widget. global _top1, _w1 _top1 = root _w1 = labeldemo.Toplevel1(_top1) root.mainloop() Notice there is a _top1 alias that is set to root and a _w1 alias that points to that as well. To set the label in code you can do it one of two ways......
I truly do not understand why you are having all these problems. I also can not understand why you seem to refuse to provide the information in the simple requests that I made in my first response in this thread . So, I'll ask them again. Is this problem repeatable. I'm guessing the answer is no, since the other two issue reports you have made said nothing of this problem. In fact, no one has reported this problem is over 10 months of PAGE 8.0. But, i'll try to keep an open mind. Second. What operating...
Is this repeatable? What Operating system are you using? Would you zip the .tcl file and attach it so I can try to figure out what's happening? Sincerely, Greg
Again, Don said that it's a VisualTcl thing. I will be talking to him again next week, so I will try to ask again. On Wed, Oct 2, 2024 at 5:17 PM noreply@sourceforge.net wrote: by the way for paste...why couldn't a varable be set to indicate what is to be copied (but not do the copying). Then whenever you hit paste it uses the variable to make the copy and do the paste. And if you hit paste again it does the same thing. So paste actually does both the actual copy and paste, though you don't know...
Yes, the Stash Config feature is VERY VERY powerful. Especially with the standard Tk widgets. It works with the ttk Themed widgets as well, but many of the Attributes are missing from them since the Theme takes care of almost all of the missing ones and it is VERY difficult to override a theme, but it can be done. Remember that almost every Tk widget that has text also has a xpad and ypad. This is useful if you need extra space on the right and left or top and bottom of the text, to make it look...
One thing I can suggest, however, is something that I do. Assume I have a number of labels that I want to have almost the same. All of them need to be one above the other. I place a Frame (or a TFrame). Then I place my first label at the top of the frame. I then set ALL the attributes that I need for that particular frame, including text, text variable, width, height, relief, background colour and foreground colour and so on. I then pick the rest of the labels, one at a time from the toolbox. (That's...
Sorry, but paste is limited to a single time. You have to Copy then paste, then copy again then paste again. I have asked Don about this before and he said this was because of a limitation of VTcl. Sorry. The closest thing I can offer is that once you get the gui made, if you need it again, you can borrow the entire thing from the original project and paste it into the new project. That way you don't have to recreate the painful project.
I did get with Don yesterday. I also sent him your .tcl file. Yes, we know. Entering a coordinate should use THAT coordinate. We are in the middle of trying to get the menuing system re-written, so that is taking priority. Don said he would try to look at it as soon as he could. I think I said somewhere along this thread that if and when a fix is made, it won't come out until PAGE version 8.1 at the earliest. Greg
Ahhh. Ok.
I do have an observation. In your problem demonstration file, I noticed that for almost all of your buttons, you use bind instead of command. While the bind command is pretty much the command on steroids, your setting to the callback function for all the "numbered" buttons is the same... lambda e:problem_support.cb_capt_keypad(e) I'm guessing that the idea behind using the lambda support for the callback is to be able to know what button raised the event. I'm sure you were just in the middle of your...
I'm just glad that we've finally on a road to getting this figured out and fixed.
Please download the "workaround.zip" file. This is NOT a fix, but simply a way to quickly align a number of widgets using the existing Multiselect function of PAGE. In the zip file is the original .tcl issue file, a version of the fixed file, a number of screen captures and a PDF file explaining how to use the Multiselect/Context menu. I sincerely hope this helps, at least in the sort term. Crazy Uncle Greggie
Since this is a newly found issue (thank you again), I'm in the process of a workaround that, while not solving the issue, will allow for the user to align widgets fairly quickly. Please check back in an hour or so. Crazy Uncle Greggie
Very interesting. Yes, I see what you are saying. I'll bring it up to Don on tomorrow's call. Thank you
I do have a conference call with Don tomorrow and I know that he monitors this forum fairly closely. I'll make sure that this is brought up and see if he can remember if there were any reports of this that I'm not aware of. In addition, he does have a Mac, so he could check that to see if it might be an issue on that platform. If I find anything, I'll be sure to let you know.
Well, I've never seen this happen, and as far as I know you are the only one that it is happening to. I have PAGE working on a Linux PC as well as Windows 10 and Windows 11. No one else has even suggested that this is an issue. I think you might want to reset the grid preference back to 10, which is the default. Many years ago, I did see that when the grid pref was set to such a low value (even at 3-7) there were issues, but I don't remember what the issues were. Sorry.
Well, I'm glad that you got it somewhat working. I still suggest that you take advantage of the PAGE Discord forum. Being the guy that set the thing up, I can use a voice/video channel and (assuming you have a microphone) we can chat and share our screens so you can show me what the issue is and I can show you how you might want to handle it. By the way, 50+ buttons, while doable in PAGE is really pushing the limit. There are ways around dealing with that, but it takes A LOT of time, pre-planning...
I'm not sure what is going "wrong". Maybe you should go to the Discord forum and we can talk in a private message so I can understand what is happening on your end. I've got some errands to run in a little bit, but should be available in a few hours. Look for "thedesignatedgeek1953". It could be that if you are using the Attributes editor, you are entering the information into the relx/rely entry boxes rather than in the x/y boxes. A VERY easy mistake. You can use the keyboard arrows to move things...
THANK YOU, Rob. Believe me when I say, I understand the frustration that Mr. or Ms. Anonymous feels. It took me a long time to figure out the difference between the Absolute and Relative modes that PAGE provides. Admittedly, the placement of Widgets is a subject that can take a long time to understand. Don has attempted to document this in the PAGE help file ( /page/docs/html/use.html#relative-placement ), but it's a rather academic discussion and not designed for new users who have no clue how Tcl/Tk/Tkinter/Python/Ruby/Perl...
Ok. I'm going to put on my teacher sweater and tennis shoes, like Mr. Rogers and give you a BUNCH of information first. I'm fairly certain you don't know the background and underlying "science" behind the issue you are having. Please read all of the information that I am going to provide and then I'll provide what I think the issue is that you are dealing with and how to "work around it". First, let me say that yes, there are some positioning issues in PAGE, but this is partially due to Tcl/Tk and...
One other thought. This will often happen if you have a dialog open. It could be the Support Console asking if you want to overwrite the existing file, or an error dialog. It's very possible the dialog is hidden by another window on your screen. Worst case, close the terminal you used to start PAGE. Did you read the .PDF named "How To Start PAGE" in the /docs/How To Start PAGE folder of your PAGE distribution? If you are running WIndows, did you start PAGE from the desktop Icon? Greg
Hello Sean, Would it be possible for you to zip up the .tcl file and upload it here? In addition, what operating system are you running and which version of PAGE are you using? Thank you in advance, Greg
YES!!! PAGE is still under active development! What you are seeing is the lack of issues that PAGE 8.0 currently has (at least from a user standpoint). PAGE 8.1 is currently in a closed alpha development state. We are working hard on the changes for 8.1. We are still a while from being able to release 8.1, but we are working hard on it. We also have a discord channel that some people use instead of the "normal" discussion forums here. We have people on the discord forum that actively monitor and...
If you use the colour dialog, you can misspell all you want. That won't cause PAGE a problem.
That is a known bug (same as misspelling) that we are working on. That will be fixed in PAGE 8.1 Greg
No. Don't use quotes. That definitely will cause PAGE to crash. Either use a hex value (#d9d9d9) or a colour name without quotes (like cornsilk3 or skyblue2). There are a TONNE of colour names. Greg
AWESOME! Well, test it for a day or two and if you have any further issues, please let me know. Greg
We MIGHT have an answer for the font picker issue. Please download the attached zip file. Unzip it into the page distribution /page/lib . Then restart PAGE and give it a try. Please let me know if it works and if it makes a difference for the colour issue. Greg and Don
Thank you! We'll keep working to figure this crazy issue out! Greg
Well, if the dialogs (colour, font, etc.) aren't closing correctly, that would explain why the .tcl project file would get screwed up. When the Font dialog doesn't show up, PAGE is assuming it is is open, thus causing the "hang" in the window. I have tried a few times with the Colour dialog, but not multiple times. I'll try concentrating on that. All of this works fine on Mac, Windows 10 and 11 and Debian based Linux OS. As I said yesterday, this is the first time we've had anyone say they are using...
When you say you are not selecting any Widget Configuration, I'm not sure that you and I are on the same page. Selecting a widget is done using the Widget Toolbar usually on the left side of the screen. There are three "sections". Tk Widgets, Themed widgets and Enhanced widgets. The Themed widgets USUALLY don't have any font or colour options. Those are taken care of by the Theme. Also I'm assuming that you are getting the colour dialog when you click on the background color button with the three...
Another question (grasping at straws)... When you are trying to set the background colour for widgets (not Toplevel) are you using the "Standard" widgets or the Ttk Themed widgets? I have no problem setting the colour via the dialog for the Standard Tk widgets. Also, what is the theme you are using? This can be found in the PAGE main window, the dropdown just to the left of the "Relative"/"Absolute" button. By default it should be set to "default". Greg
I threw together a small demo program that uses the Tk Fontchooser. Could you give it a try and let me know if there are any errors with it? This might help us narrow the font dialog issue. I'l start looking into the colour issues shortly. Greg
I didn't see the colour issue in my limited testing. Was it a Toplevel or a widget you were trying to change the colour of? Greg
I've gotten a VERY base Fedora 39 workstation up and running. I got Python 3.12.2 running with Tkinter and PAGE 8.0 installed. I got the same error message that you did when I tried to edit the font on a standard Tk Button. So, now I have to go back to Don and find out what he thinks is causing it to crash. Hang in there. Greg
I'm assuming it's Fedora 39 workstation, correct?
Thank you for the quick responses. I can't ever remember anyone mentioning that they were running Fedora, but that could just be my old brain. I run Linux Mint and have run it under Ubuntu and never had any problems. I'll try to get a Fedora instance running in my Virtual box and test it out. Give me a day or two and I'll get back to you. Yes, please any other comments or observations would be welcome! Greg
Hi. Could you tell me what version of Linux you are using (Ubuntu, Fedora, etc.) What version of PAGE are you using? Could you provide a copy of the project .tcl file? Thank you in advance, Greg
Hello David. First, allow me to thank you for signing in to Sourceforge. It certainly is easier to refer to a user's name rather than "Hello Anonymous". Doesn't have the same ring to it. Seconly, Thank you for the kind words about V8 and "comeing back to the fold". :o) Now to your question. I guess it really depends on what calls you need to make. PAGE uses the following command to start up when running the page.py file... root.tk.eval(cmd) where 'cmd' is cmd = "source {" + os.path.join(os.path.dirname(p),...
Better to use... @start /min py "%~dp0page.py" %1 %2 %3
I'm glad it worked for you! Greg
If you are having issues starting PAGE in Windows, I believe we have a simple change that should take care of your issues. First, try the following command in a command prompt. py -V This will start Python using the Windows Python Launcher and request the version of the default Python instance. If it comes back with something like Python 3.12.1 You are good to go. Now edit the page.bat file and change the command to @start /min py "%~dp0page.py" %1 %2 %3 Save the file and (just to be safe) reboot...
Well you don't need them, unless you really want to get deep into Tk programming, but it's totally another world. Concentrate on Python and Tkinter. Greg
Well, since you can get IDLE to run (it's written in Tkinter), you probably will get everything working.
You said, I had to copy tcl8.6 and tk8.6 folders to Lib folder under Python in order to get the tkinter work in Python Where did you get tcl and tk from and why? Like I said, I haven't downloaded anything. Then where did tcl and tk come from. Tcl isn't a "normal" package that Windows would use.
since Grid1.py is a python file you must start it by calling python with the filename you want to run. python Grid1.py Give that a try. Greg
Ok. That is really pointing (in my mind) a messed up Python install. When you just open the python interactive shell and type import tkinter, it should look something like this... python Python 3.11.4 (main, Dec 6 2023, 09:11:25) [GCC 11.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import tkinter >>> You shouldn't really "see" anything if it works. You should not EVER have to download Tcl to get Tkinter to work. It's part of Python (and is distributed with...
You are very welcome. Since PAGE relys on tkinter, I think that is the place to look. Please try this. Remove the Tcl and Tk folders from the Python folder and put them someplace safe. Reboot your machine and try doing a python -V in a command prompt. Then run the python Interactive shell (just python in the command prompt) and type in the shell, try import tkinter. If you don't get any error messages you SHOULD be good to go. Let me know what the results are and we'll try going from there. Greg
I've escalated it to Don. We'll see what he says. Greg
It concerns me that you had to load the tcl and tk folders under Python. Python SHOULD (at least for Windows) come with Tkinter already there and ready. So, yes, it could be your Python installation. Just yesterday I was setting up a virtual Windows session (I run Linux) and I loaded 3.12.1 directly from Python.org and everything ran fine. I'm going to escalate this to Don and see what he thinks. In the meantime, you might want to remove your Python 3.12 completely (move the tcl/tk files to a safety...
So just to be sure, you were trying just to open PAGE, not to open an existing project. Correct? It sounds to me like your .pagerc file might have a problem. Did you have an earlier version of PAGE? Anyway, try deleting your .pagerc file, which if I remember is located in your c:\Users{user}\ folder. Then retry starting PAGE. Greg
So just to be sure, you were trying just to open PAGE, not to open a project. Correct? It sounds to me like your .pagerc file might have a problem. Did you have an earlier version of PAGE? Anyway, try deleting your .pagerc file, which if I remember is located in your c:\Users{user}\ folder. Then retry starting PAGE. Greg
Are you just opening PAGE or are you trying to load a project? What version of Python are you running? Thank you in advance, Greg
I'm glad you got it running. Greg
Unfortunately, Microsoft Defender has decided (FALSELY I might add) that page-8.0.exe contains a virus. This is FALSE. Both Don and Sourceforge have checked for viruses and there are none. If you can get Windows to allow you to download it, it is safe! Greg
I am having the same messages on my Windows machine and I've seen Windows do that before to many files. I'm certain that it's a Windows False positive. Sourceforge checks every file put on it with the latest virus scanners and since you've verified it with an outside virus checker that you trust, I feel you should be good to go. Thank you for letting us know, John. Greg Walters
The page.bat file assumes that your system starts Python by using "python3". My windows system expects "python3.9", so I had to modify the page.bat to @start /min python3.9 "%~dp0page.py" %1 %2 %3 It basically depends on how Windows installed your Python installation. Try to start Python in a command prompt. If you can get Python to start, then edit the page.bat file to use that command.
How does Python start on your system? Is it just "python", "python3.9" or something else?
Thank you for the information and the clarification! Greg
As I said yesterday, my function, which works on Linux may not work in Windows. I did a quick internet search and found this ... from tkinter import* root = Tk() img = PhotoImage(file='C:\Users\Lenovo\Pictures\python.png') root.iconphoto(False, img) root.wm_title("Python GUI") root.mainloop() https://www.tutorialspoint.com/how-to-change-tkinter-window-icon Give that a try. You SHOULD be able to use a .png rather than a .ico file (if you want). Greg
In over 12 years of using PAGE and helping PAGE users, I have NEVER seen ANYONE who refuses to read ANY of the documentation and keeps begging for help! And video help no less! I created a very simple document (attached) explaining step by step (again) how do add an image to a Label widget. I STRONGLY suggest you read the tutorial that I wrote that comes with your PAGE distribution. It has 5 chapters and has over 100 pages. It was designed to help beginning PAGE users . While it doesn't explain the...
No, I will NOT make you a video on how to add an image on a button, label or a canvas. That is what the documentation is for.
Obviosly you have not read any of the documentation, the tutorial or ANY of the treads in this forum. First you are not starting PAGE correctly. Secondly, YES, I did manually edit the code. Did you not read what I typed yesterday? In order to do what you want, you MUST enter code into the support file. Since you refuse to even attempt to help yourself, I'll give you step by step instructions. Maybe that way you will be able to accomplish something. 1) unzip the file I provided into a folder on your...
I provided the user a demo program to do what he wants to do, within the limitations of PAGE
An update is not needed. The icon thing should be done in code, since it will depend on the Operating System you are using. As to changing the "_w1." _w1 stands for the root Toplevel form. If you had a second toplevel it would be _w2. It's not going to be changing in PAGE anytime soon (unless you borrow from another project). But that's pretty advanced for you at this point. Greg
It does seem you are confused. First, a Label widget can not act as a container. However, the Label widget has an image attribute that you can set so that the Label shows the image. You can only use certain types of images without a lot of extra hassle, but .png images work well and can be added directly in PAGE. Just put your Label widget on the Toplevel form, where you want it, and then in the Attribute Editor, click on the button next to the image attribute Entry (the entry box is coloured purple)....
You are very welcome. ALWAYS feel free to ask questions. We are here to help when we can. You can also use our Discord forum. Here is an invite link so you can join if you wish... https://discord.gg/V6zCcjq This link will never expire. Greg
Well, the Toplevel doesn't really support any images, so you need to do a hack. What I like to do is to use a label that holds the image placed somewhere on the Toplevel form. If you use a .png file that has the background set as transparent, and remove the text from the label, then you can place it anywhere on the Toplevel that suits what you want to achive. The other option is to use a canvas that is set to fill the Toplevel container. (Button-3 (right click for most people). You have to use the...
No problem. PAGE has always been, and I'm assuming will always be a FREE Open Source Program.
Hello Ameya, The source is already here. We don't have a github page. When you download any given version of PAGE, you are downloading the source. For example, for PAGE 7.6, the folder structure is... page | color_chart | docs | examples | images | img | lib ... The source (which is in Visual Tcl) is located in the lib folder. The main .tcl file is page.tcl which is located in the main page folder. I hope this helps. Greg
Hello again Andrew, I'm glad it was just a one time thing. Aliases are something that's kind of a personal preference. Many times, I'll only alias the things that are immediately needed like btnExit or FrameStatus when I'm making a status bar. Most times, thanks to PAGE, the textvars are enough to get me through. If I were to be perfectly honest, the CORRECT way to do it is to alias EVERYTHING. But I became a programmer over 50 years ago because I was lazy and where else could I get a job doing nothing...
I just realized that I only answered part of the question. The Custom widget by itself really doesn't do anything. It's a "place holder" for another widget. In the PAGE distribution folder, there is a folder named "examples". In the examples directory, there is another folder named "ScrolledCheckedListBox". There you will find the complete code for a project that demonstrates a third party widget for PAGE (and Tkinter in general). The custom widget MUST be in the same folder as your code. Just use...
Sorry for the delay getting back to you. Sourceforge is supposed to notify me of any new messages, but for some reason it didn't. I'm not sure why things went unresponsive. Sorry about that. As to the alias, that's kind of hard to say without seeing your code. About the only thing you should see in the support file about the custom widget is a single line near the bottom that looks something like this... Custom = tk.Frame # To be updated by user with name of custom widget. Would it be possible for...
That's very odd. What version of PAGE are you using?
When the user posted the request (August 2019) the current version of PAGE was 4.25. Today the current version is 7.6 and the Widget tree has matured quite a bit. Now the widgets are placed as to their parent(s). So it is much easier to see what widget is where. Greg
Many years ago, the Radiobuttons were able to take a StringVar or an IntVar depending on the value given to the widget. However, recently we went with using an IntVar internally, in an attempt to keep confusion out of the coding process. Can you image if you had your four TRadiobuttons three with StringVars and one with an IntVar, but pointed to the same variable? It would get fairly ugly. So, you are stuck with IntVars for the value attribute. However, it isn't all bad news. Set the Value to 1 for...
You are welcome. Just so you know, PAGE remembers the screen position of all the PAGE windows, so when it didn't show, it was probably somewhere that it thought it should be. You can always remove the .pagerc file without fear, since if it doesn't exist, PAGE will regenerate it. Enjoy! Greg
Do you have multiple monitors? You might try this. Close PAGE. Find the .pagerc file, which is usually in your home folder. Delete it. Restart PAGE. It should return. Greg
The very FIRST book on PAGE was released on May 29, 2023. It's named Python GUI Programming with PAGE. This book is 320 pages long and covers installation, starting and using PAGE from beginner to intermediate user levels. All code for the projects is available on line. You can find it from the publisher and on Amazon.com. https://bpbonline.com/products/python-gui-programming-with-page?_pos=1&_sid=e34691f07&_ss=r EBook - $9.95 USD Paperback - $29.95 USD Bundle (Paperback + EBook) - $34.95 USD Amazon.com...
Again, you are very welcome. Again, it might take me a few hours for the response, but it's usually not much longer than this. Greg
You are very welcome. As to the "super fast response", we got lucky. I was at my computer getting ready shutdown before bed, so the timing was right. I try to get a response as soon as I see the ticket come in. But as you can see, sometimes it takes a few hours. Greg
That's a known bug that we have tried for about 4 years to squash. So far, we haven't been able to. The only solution that I can offer you at this point, is to save your project (File|Save) as often as possible. One other thing, using Ctrl-C and Ctrl-V is fine, but you can use the context menu (right click to most people, but officially Button-3) to do the Copy and Paste. You can even select the widget you want to copy and past in the Widget Tree and use the context menu there. There is a bunch of...
Hello Robert, No, I'm afraid we can't create a patch for this. However, I can confirm that it is fixed in the next version. We are hoping that we will have the next version out in a month or so. In the meantime, when you are tabbing through the Attribute Editor, do your best to avoid the visual attribute. That's what is causing the problem. Greg
The very FIRST book on PAGE was released on May 29, 2023. It's named Python GUI Programming with PAGE. This book is 320 pages long and covers installation, starting and using PAGE from beginner to intermediate user levels. All code for the projects is available on line. You can find it from the publisher and on Amazon.com. https://bpbonline.com/products/python-gui-programming-with-page?_pos=1&_sid=e34691f07&_ss=r EBook - $9.95 USD Paperback - $29.95 USD Bundle (Paperback + EBook) - $34.95 USD Amazon.com...
I'm glad you were able to get it working.
I'm glad it worked.
Good morning Rob, First, thank you again for your kind words and the sharing of the nice app you created. It always does our hearts good to see a user happy with their experiance with PAGE. Now to your question about resizing the Toplevel... When PAGE ships, the default for resizing is set to "relative" mode. That means the top.resizable() is set to 1,1. There is an easy way to change that so PAGE will generate the statement for you. ( You should NEVER change anything in the 'app.py' file. More on...
Hello Rob. First thank you for your kind words. Yes, as of PAGE 7.6, the shebang was changed to include python3. It took a while for the decision to be made to no longer support PAGE 2.x. It was a hard decision, but we finally bit the bullet. Thank you for mentioning it! Greg
UPDATE - This issue has been fixed and resolved in the latest development version and will be in the next release. Unfortunately, I currently have no expected release date for the next version. Greg
Once again, thank you for the bug report. I have escalated it to Don. We are currently working on PAGE version 8.0, so I doubt there will be a fix for this issue. The best thing that I can suggest for now is to avoid the Visual attribute. If you tab into that Entry widget, then tab out, you will get the error. Basically, the program is trying to tell you that the Visual attribute can not (or at least should not) be changed once the Toplevel widget is created. As long as you don't tab into and back...
Thanks to Don, the .tcl file does work...on Windows, but not on Linux. The problem (as far as Linux is concerned) is that you used a Windows only sytem color in your program. That colour is "SystemButtonText". This makes the program non-portable. Once I changed this in the .tcl file (don't try this at home), I was able to get PAGE to open the file correctly, add, modify, save and generate the Python files. So there is nothing wrong with your .tcl file, however, your .pagerc file is still suspect...
The file has been sent to Don. However, he had surgery on Thursday, so he might not be home yet and even if he is, he might not be able to sit at the computer quite yet. Greg
Well, I was finally able to download the .tcl file for your project. There is definately something wrong, since I can open the project in PAGE, but the Toplevel is completely empty and I can't add anything to it. I will send this off to Don to see if he can make heads or tails of the reason it's not working. In the meantime, find your .pagerc file, rename or delete it and start PAGE up again. When the .pagerc file gets corrupt, anything can happen. I'll let you know when I hear back from Don. Gr...
Could you please post the 4 files again. I'm having issues downloading them. However, when you say you start PAGE using page.bat, where are you? Are you at the desktop or are you in the project folder. You can start PAGE by using page.bat mypylog You don't need to include the .tcl extension. Thank you very much for the answer to question D. That might be extra helpful. When you say you remove the Python files before you restart PAGE...That sounds fairly strange. The two Python files don't need to...
I assume that you are using the Tab key when you say you were tabbing through the AE. Thank you for the report. No one else has mentioned it. I'm pretty sure that most users use the mouse and click on the options they need to change. Thank you again! Greg