Activity for PAGE

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Good evening John, The reason there's nothing showing in the support module for the Checkbuttons is that you don't have any callbacks defined for them. You have callbacks for all your buttons (via bind), but nothing for the Checkbuttons. In the Attribute editor is the command attribute. You simply put the name of the callback you want for that widget in that entry. For example, if you want a callback function for the chkReplace Checkbutton that will fire each time your user clicks on it, just put...

  • John Wilson John Wilson posted a comment on discussion General Discussion

    Hi, hope you're doing well. I'm having trouble with Check boxes. They're in the frmAcctBuild.py file, but not in the support file. I'm missing something. Sometimes they're there, some are missing, or they're none there. I've attached a zip of frmAcctBuild, frmAcctBuild_support. frmAcctBuild.tcl, and a PDF of the screen form. Oh, I've proof of it works, and works sweet. If you want, I'll send you a safe version it when it's done. I've also got a Ubuntu shell on my window machine.

  • John Wilson John Wilson posted a comment on discussion General Discussion

    Hi, hope you're doing well. I'm having trouble with Check boxes. They're in the frmAcctBuild.py file, but not in the support file. I'm missing something. Sometimes they're there, some are missing, or they're none there. I've attached a zip of frmAcctBuild, frmAcctBuild_support. frmAcctBuild.tcl, and a PDF of the screen form. Oh, I've proof of it works, and works sweet. If you want, I'll send you a safe version it when it's done. I've also got a Ubuntu shell on my window machine.

  • John Wilson John Wilson posted a comment on discussion General Discussion

    I was editing (changing attributes).

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    The WidgetDemo1.tcl loads correctly in PAGE 8 on both my Linux machine and the Windows machine. Were you trying to add a widget to the project when that happened? The only thing that I noticed strange was that you have a menu bar item without an attached menu. As to the locking up, next time it happens, try moving to the powershell (or command prompt) terminal you started PAGE in and try doing a <ctrl> C directly in the terminal.</ctrl> That should cause the program to close. Let me think about other...

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Thank you. That was going to be my next request. I'll let you know what I find. Greg

  • Anonymous posted a comment on discussion General Discussion

    I'm still getting a trapped error 'can't access "::widgets::.top1.vTH_n::save": parent namespace doesn't exist' This probably why I why I could save/quit like you said. I was treating the error dump like a trapped error instead of a fatal error. After I dismissed it no save/quit. Page was just 'stuck'. In other environments I've used or created, I'd get an error, or trap and error an the routine would just exit closing things like open windows etc. I've adopted my Christmas Savings Plan strategy....

  • Anonymous posted a comment on discussion General Discussion

    Never mind about discord. When I went into my account: I got your message, and I was prompted to join Page server. That got me access to the messages back.

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Ok. We can take this to Discord.

  • John Wilson John Wilson posted a comment on discussion General Discussion

    1 Didn't know about pillow. It's installed 2 Python 3.13.3 3 My bad. I misunderstood about environments. I've move widgetdemo1.tcl back to the root directory. There was no graphics folder in the root directory. I found one in ...\examples\PAGE8.0Demo. Copied it to the root just incase. I think you've covered every thing regarding page. I got a email from discord indicating I've got messages in Pages-General. That's what I lost, and don't know how to get it back. So, I've got an account with basically...

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Oh...also, did you install pillow in your Python instance? pip (or pip3) install pillow I wrote that silly demo so long ago, I had to go over the code. There is SO much going on that rather than clicking on the specific widgets or frames or even the Notebook tabs, that it's MUCH better to use the widget tree to select various widgets. Also, to make the Widget tree easier to navigate, you can use a <shift> <left click=""> to collapse a Notebook Tab in the tree (and even a Frame) to make it easier...

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    I'm assuming that you are in PAGE with a copy of the .tcl file when you get the error. Do you have a copy of the PAGE themes folder in the same folder as the .tcl file? Did you copy the graphics folder into the same folder as well? What version of Python are you running? Crazy Uncle Greggie (aka thedesignatedgeek1953, aka Greg Walters) (until I was 6 years old, I thought my name was "DAMNIT GREG")

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    First, while Easter Sunday is an important time for me, I've been up long enough for it to basically be Monday. Second, I'm sorry that you had this issue. I've brought Windows 11 and I'll try to get it happen on my machine (and on Linux). Yes the temp files will still be there in event of a crash. I'll have to check into deleting the .bak files since I usually work on Linux, so I'm not sure why they won't work under Windows as well. As to Discord, I'm the green dinosaur in the plaid shirt named thedesignatedgeek1953....

  • John Wilson John Wilson posted a comment on discussion General Discussion

    I've also managed to loose the Page icon on my discord home page(?). Don't know how. If you could let me know how to add it back I'd appreciate it. See I break things that shouldn't break

  • John Wilson John Wilson posted a comment on discussion General Discussion

    Oh, I also loose the alias for toplevel0 window.

  • John Wilson John Wilson posted a comment on discussion General Discussion

    First, if you're looking at this on Easter Sunday close it, and wait till after the holiday to respond. I've got a repeatable error. See attachment. I'm doing the WidgetDemo1. It occurs when I move from the selected right named frame to select the left named frame. Also, the '###" and "###.tmp" files in the project folder are left over working files(?) when page.py exits abnormally. This is expected. I also got a protection error when page.py attempted to delete a '.bak' file. May the file is still...

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    I'm glad that part is working for you. I'm confused about your question (no it's not dumb, at least in my mind). All the backup files (the number of which you can change in File|Preferences by the way) are kept in a backup sub folder. Once you have your GUI pretty well done, you can simply delete the backup folder. The only other files that are kept in the "master" folder are the three PAGE files (one .tcl and two .py files). If you are going to distribute the program, you only need to provide the...

  • Anonymous posted a comment on discussion General Discussion

    HI again. Tried the powereshell option. Put 'py page.py' in Page.ps1. Then created a desktop to it. Works perfectly. Yes I like shortcuts. They put me in the right place for what environment I want, and I can create them programmatically. Please excuse my bad typing. 'lick' should be 'like' and 'Mack' is 'Make'. Just one really dumb comment. Have you considered putting your versioning files into a sub-folder. Makes finding and housekeeping a little cleaner. Like I said it's dumb question. Have a...

  • John Wilson John Wilson posted a comment on discussion General Discussion

    Ok, I understand. I had already made the change to batch fille you suggested. I look into the power shell approach. I haven't had the need to use powershell , so I'm not very familiar with it. A shallow dive into page. I figured out it's rooted in the development environment. So, sub-directories aren't an issue. That's why my approach works because it's rooted in the same environment. I'm so use to doing things that way, I forget that that's what I'm doing. I remember KSR terminals very fondly. I...

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Since you are running on Windows 11, I suggest that you consider changing a couple of lines in your page.bat file. First, your page.bat file should look something like this... @start /min py "%~dp0page.py" %1 %2 %3 The "/min" keeps the command prompt minimized when PAGE runs. While this is normally a good thing, if PAGE encounters any issues, you won't see the error message that PAGE would normally print to the command prompt. So I suggest you remove the "/min" so the command line looks like this......

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Ahhh. Good. Thank you!

  • Anonymous posted a comment on discussion General Discussion

    Win 11

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Well, I'm glad that "your way" is working for you. However, just remember. To be forewarned is to be forearmed. To be forearmed is not to be able to buy off the rack! As to being unable to quit properly, I don't know. The last poster (previous thread) had a similar problem. I'll dig into it. Make sure you are following this thread, just in case I figure out what's going on. Oh...are you running Win 10 or 11? Greg

  • John Wilson John Wilson posted a comment on discussion General Discussion

    I hear you loud an clear, and here it is. But, for me it's working fine. Things get saved in the right places, Save as, and opens are from the right folder. I do have a development environment set up. It's on another drive. I mostly use my C drive for system stuff and things that won't let me put it somewhere else. My development and application drive is also backed up once a week and more frequently when I'm doing a lot of stuff. One strange thing I've run into. I can normally quit and save things,...

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    First, I'm glad that you like what you see so far. Please don't use the icon to start PAGE. If you do, PAGE will assume that you want to save the files (believe it or not) to to desktop. Please see the "How To Start PAGE" pdf in the \docs\How To Start PAGE folder of your distribution. It's a pain in the neck the first few times, but 'you'll thank me later'. As to using "python", "python3" or "py" is dependent on how you installed Python (and where you downloaded it from). The "proper" way these days...

  • Anonymous posted a comment on discussion General Discussion

    I like what I'm seeing so far. I do have some comments. The desktop shortcut works just fine if you change the start in path in the shortcut's properties. I'm using an environment variable as part of the path so I can move things around if needed. Also, the CMD file uses python3 run the page.py script. I had to change it to just 'python', I don't know why, python3 should work? Also I'm using vscode as my IDE. This is a really dumb question. Am I right that the actual execution takes place outside...

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Sorry for the delay in getting back to you. Please answer the following questions... 1) What version of PAGE are you using? 2) What operating system are you using? 3) What is the version of PAGE was the existing Toplevel window created under? 4) Could you zip up the .tcl file that is giving the error? If you could get this to me, I would be happy to try to figure out why you are getting this error. Sincerely, Greg

  • Anonymous posted a comment on discussion General Discussion

    Just added a button to an existed toplevel window. Error information window opens, but can't close it. First line is: can't access "::widgets::.top2.vTH_n::save": parent namespace doesn't exist while executing Tried deleting the button, but still can't get the error window to close.

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Thank you very much Edgar! You might have hit the nail on the head. As to your final comment, it is right for you to have 5 windows spread out over your screen. Usually on the left side of the screen will be the toolbar and the Widget tree. On the top is the main menu. On the right is the attribute editor an somewhere near the center(ish) should be the Toplevel to place the widgets. That's normal, and actually a pretty good arrangement. You can move any of the windows anywhere on the screen you find...

  • Anonymous posted a comment on discussion General Discussion

    Maybe the problem is related to "strange" characters in the path name? I came here because I experienced the same problem (stuck on the Loading library lib_core.tcl message), but on a Ubuntu 22.04 machine (Python 3.10). The path was (note the "{}" characters): /home/s/Python_workspace_{PC7U}/page Trying again using this path: /home/s/Downloads/software/Python-related/page PAGE does start. Unfortunately, it doesn't look right. I get 5 separate small windows spread all over my UHD screen. Edgar

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Hello again Stéphane and others, One of my wonderful unpaid and under appreciated testers caught a small bug in the support module. You can replace the existing tksheet7_support.py file from the above zip file with the one in this zip or just replace the the entire project from the download from the github repository... https://github.com/gregwa1953/tkSheets7 Either way, you won't fall into the bug unless you press cancel when in the askopenfilename dialog. Good luck to all, Greg

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Stéphane and any other interested PAGE users, I just created a GitHub repository for this project. You can find it at https://github.com/gregwa1953/tkSheets7 Sincerely, Greg

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Hello again Stéphane, I've created a quick demo using PAGE 8 and the latest version of TkSheets. I'm trying to attach it here. Eventually, I will get a GitHub repository set up for it. You will need to decompress the file into a folder of your choosing. Also, be sure to run the requirements.txt file in pip3... pip3 install -r requirements.txt This way, you will make sure you have all the requirements for TkSheets and Pandas. Sincerely Greg

  • Anonymous posted a comment on discussion General Discussion

    Hello Stéphane, Unfortunately, at this time, it isn't possible for PAGE to host anything in the toolbox other than Tcl/Tk widgets, since it's written in Visual Tcl. However, I wrote a couple of demo programs showing how to use the TkSheet widget a while ago. Don was kind enough to include them in the PAGE 8 distribution. You can find them in the /examples/custom/ folder. The tksheet_2 folder includes a sample program and a PDF of the article that I wrote for Full Circle Magazine. It's a little out...

  • Stéphane LAMBELIN Stéphane LAMBELIN posted a comment on discussion General Discussion

    Hello, I wonder what is the best way to add a TkSheet widget to an app created with PAGE. Would it be possible to add this widget to the list ? Thanks

  • Anonymous posted a comment on discussion General Discussion

    Yes, Please do keep me advised. I'm somewhat confused as to why it's giving you so much trouble. Greg

  • Anonymous posted a comment on discussion General Discussion

    I suppose I should have asked this question before, but when you are trying to start PAGE, are you doing it from a command line or from the icon on the desktop? I was - when trying to run it for the first time (mentioned this in the first message). Then, when it wasn't working like that, I used CMD, navigated to the PAGE installation directory (cd etc, etc), and tried running it from there with python page.py with the same result. Now I followed your instructions, but the issue remains (please see...

  • Anonymous posted a comment on discussion General Discussion

    Hi back :o) Well, first, I have to warn you that we are having problems with PAGE running on the latest Mac OS. Many things work, but there are some very frustrating things that don't work correctly. Now on to your issue. When you download PAGE, it comes down as a .tgz compressed file. So first, once you get it downloaded, you will need to decompress it. Usually the operating system knows how to do this. I don't use a Mac, so I'm not sure what the procedure is there. However, since I understand that...

  • Anonymous posted a comment on discussion General Discussion

    Hi, I want to download PAGE for Mac, but I'm having trouble opening it or I'm not sure how to download it. I would like to work with Visual Studio, for example, or if there is another way to download it, please let me know. Thank you!

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Ok. Here's the good news. I've created a "E" drive on my virtual machine. It's a USB stick, but that shouldn't matter, nor should it matter that the drive is "D" or "E". When I installed PAGE (I uninstalled all my previous PAGE installations), I use "e:\PAGE" as the location for PAGE to install. Once it was installed, I didn't click on the desktop icon (which you should never do). Instead I created a "development" folder on my C: drive. I use the Windows File manager to go to that folder. I created...

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    I suppose I should have asked this question before, but when you are trying to start PAGE, are you doing it from a command line or from the icon on the desktop? Greg

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Ok. Thank you. I'm trying to duplicate your setup on my Windows 10 Virtual box. I'll let you know my findings. Greg

  • Anonymous posted a comment on discussion General Discussion

    Sorry for taking this long to reply. You're correct in assuming that it's a physical drive, and it's within my PC (not a network drive). I sometimes take it out, and place it in an USB rack, but this a very rare occasion, perhaps once a year, and not for any reason involving Python.

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    I totally understand your concern. I've been there myself multiple times in my life back when I used Windows as my OS. I've never tried to install anywhere other than the C: drive, and I don't think that Don has either. I'm assuming that your F: drive is a physical drive that you have mapped. Is that correct? I might be able to "dummy" up an F: drive on my virtual machines. I'll see if I can do this sometime this weekend. Greg

  • Anonymous posted a comment on discussion General Discussion

    Hi, Greg. Of course, but I would like to avoid that, since I tend to reinstall my OS every now and then, or to revert to an earlier version. That's why I keep everything on another drive. Is installing it into the C drive an absolute prerequisite to be able to use PAGE? At least, when it comes to using Windows, that is.

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    It's probably due to your installing it in the F: drive Could you try installing it into the C: drive? Greg

  • Anonymous posted a comment on discussion General Discussion

    Forgot to add one more thing - thinking it was a path issue (since I installed it on another drive and all), I replaced this bit: p = os.path.abspath(sys.argv[0]) cmd = "source {" + os.path.join(os.path.dirname(p), 'page.tcl') + "}" with this script_directory = os.path.dirname(os.path.abspath(__file__)) tcl_script_path = os.path.join(script_directory, 'page.tcl') cmd = "source {" + tcl_script_path + "}" since I noticed that page.tcl is in the same directory as page.py. Sadly, that did not resolve...

  • Anonymous posted a comment on discussion General Discussion

    Hi, everyone. Running page.py by double clicking on it starts C:\Windwos\py.exe, and the screen is overlayed by the PAGE's inkwell / quill icon. Below it, there's text: Loading library lib_core.tcl... And that's it. It's been stuck there for the past 20 minutes. There are no errors that I can see. Also, if it's of any importance, I can type over that text, delete it, etc. The same thing happens if I restart it (kill the process, double click again). And it also happens if I open the command prompt...

  • Anonymous posted a comment on discussion General Discussion

    Between steps 1 and 2 you forgot to save the .tcl file. And your final "workflow sequence" is somewhat wrong... Generate .tcl code Generate .py GUI code Generate .py Support module. The reason for this is that the .tcl file is regenerated from scratch each time you save the designer project. Then the .py GUI code is generated from the .tcl file. It also is regenerated from scratch. This is why you don't want to edit either of those files. Finally, the support module is created or updated. Since you...

  • Anonymous posted a comment on discussion General Discussion

    Ok , I think it goes: 1) build drag-Draop gui 2) Click 'Generate Py Gui' Drop-Down Menu a) Click on 'Generate Py Gui' selection . 'This 1st time click' , it generates the "unknown.tcl" file . 3) Click 'Generate Py Gui' Drop-Down Menu a) Click on 'Generate Support Module' selection . Generates the "unknown_support.py" file . 4) Click 'Generate Py Gui' Drop-Down Menu a) Click on 'Generate Py Gui' selection . 'This 2nd time click' , it generates the "unknown.py" file . This "unknown.py" file is the...

  • Anonymous posted a comment on discussion General Discussion

    In the main PAGE distribution folder (on Windows it's usually c:\page) is the docs folder. In that folder is one named tutorials and in that folder is one named Learning Page. There is a VERY good tutorial named Learning PAGE - A Python GUI Designer Tutorial v7.0b.pdf that will show you how to create GUIs as well as how to generate the Python code. It's got pictures and everything. It ALSO has all the source code that is discussed in the document. That should be what you need. Greg

  • Anonymous posted a comment on discussion General Discussion

    Hello again; I really like Page so far , but how can i generate .py code . Perhaps you could show me a workflow to generate stand alone .py code . By "stand alone .py code " I mean it can run without .tcl , xx_support.py , pagerc . Thanks for your Help...

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    I just got an email from Don that he fixed the big green download button, and I can verify that it does actually download PAGE 8.0 based on your operating system. Greg

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Sorry. I re-added the attachment. I'm also sorry for my snarky reply this morning. I had forgotten that Don needed to post some changes to the README.txt file, since we found some incompatibility between the latest version of Mac OSx and PAGE. Anyway, the main SourceForge page for PAGE has a tabbed section just below the big green download button. The tabs start with Summary, Files, Reviews and so on. Click on the Files tab. There will be a spreadsheet like (without borders) section. The top one...

  • Greg Walters Greg Walters modified a comment on discussion General Discussion

    Just in case you do actually get PAGE downloaded and installed, I am attaching a document named "How To Start PAGE v2.pdf" for you. Hopefully, you will be able to view that document. By the way, once you do get PAGE installed, there is a large amount of information once PAGE is installed. There are some very good documents from Don the author in the PAGE\docs folder, A few tutorials from me (also in the PAGE\docs folder)and a large number of examples available in the examples folder.

  • Anonymous posted a comment on discussion General Discussion

    Thanks Greg : https://sourceforge.net/projects/page/ The problem is that when I click the big green 'download' button , it downloads the README file , and that's all . Sorry to say I see no Attachment to your Post either . So how do i download and install PAGE? Thanks for your Help...

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Just in case you do actually get PAGE downloaded and installed, I am attaching a document named "How To Start PAGE v2.pdf" for you. Hopefully, you will be able to view that document. By the way, once you do get PAGE installed, there is a large amount of information once PAGE is installed. There are some very good documents from Don the author in the PAGE\docs folder, A few tutorials from me (also in the PAGE\docs folder)and a large number of examples available in the examples folder.

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Ahhh...You must be a Windows user. On the main page, there is a GREAT BIG GREEN BUTTON marked "Download". You click on that. That opens a new page in your browser. After about 10 seconds you should see a notification asking where you want to place the downloaded file. Once you answer that, the download process will take place. SourceForge will take your operating system into consideration and provide you with the proper file. Since I'm assuming that you are a Windows user, the program that you download...

  • Anonymous posted a comment on discussion General Discussion

    is this a spoof or what ? so how do i download and install the damn thing? the readme is useless. i need directions...

  • PAGE PAGE updated /page/8.0/README

  • Anonymous posted a comment on discussion General Discussion

    Noted with thanks.

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    You are very welcome. If you need more help, you can certainly join the PAGE Discord forum. https://discord.gg/vm6mTt9FDZ Greg

  • Anonymous posted a comment on discussion General Discussion

    Hooray! It works perfectly Greg! Thank you so very much for all your quick and fantastic help for me to get this right. I really appreciate the time and effort. Best wishes Neil

  • Anonymous posted a comment on discussion General Discussion

    Sorry, I missed your two posts above because I didn't notice that there is a page 2 in this chat. Will revert.

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    No. The themes_list.tcl file is only used by PAGE at startup to know which themes should be included in it's combobox. This way, you can have themes that you don't want to see (those that you might think are ugly or don't work correctly). In your project folder, that themes folder doesn't need the themes_list.tcl file. Nothing reads that for your project. Usually, that themes folder will only have the one file you are using for your main GUI. If you want the user to be able to pick from a few different...

  • Anonymous posted a comment on discussion General Discussion

    Just a thought Greg. Your new download for the Themes, did not have a file called themes_list.tcl, so I copied it from the old themes library. Could this have affected the result?

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Neil, I THINK I have a good page-wheat(ish) theme that should work for you. I've named it "new-wheat" so it doesn't get confused with the distribution version of page-wheat. Please unzip the attached new-wheat.zip file in a good place for you. you will need to copy the new-wheat files to both your PAGE distribution (in the page/page/themes folder there) as well as your project folder themes folder. For PAGE to be able to see it, you need to modify the themes_list.tcl (in the page/page/themes folder)...

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Thank you for the information. I'm sorry that you are still having problems. As I think back when I created the various themes for PAGE 8, I vaguely remember making a number of changes on the page-wheat for Don. I'll try to create a special page-wheat that might work for you. It might take a couple of days, but I'll post it here for you and hopefully it will work for you. Greg

  • Anonymous posted a comment on discussion General Discussion

    I've done that now and I'm sorry to say that there are no borders in the buttons when I run my project with the new files. I must say that I really like the page-wheat background colours shown in the project tcl file. and I look forward to being able to use it. In the meanwhile I am reverting to the Corn-silk theme. Thanks again for your help. Neil

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Ok. I guess I didn't make the instructions clear. First, to get PAGE back working go into the PAGE distribution folder and make sure there is a themes folder. Inside that folder needs to be a file called themes_list.tcl. PAGE uses this to know what themes it should read. Next, back in your project folder, you also need a themes folder. This is where the python program will look for the themes meant for your project. This one does not need a themes_list.tcl file. Usually you will have whatever theme...

  • Anonymous posted a comment on discussion General Discussion

    Soory Greg, but maybe I didn't do it right. When you sent me the revised themes data, I renamed the themes folder in my Project file, and saved the new themes folder there, but I didn't so the same in the page folder. I have now done that and loaded my project's tcl into page, but got an error while it was loaded.

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    The error message seems to refer to the fact that the program can't find the theme 'page-wheat.tcl' in the local themes folder. Plus the error comes just as the GUI program is trying to locate the theme that was used during the creation of the GUI. So you first should look at the __location variable. Then make sure that that path has a themes folder and that page-wheat.tcl is there.

  • Anonymous posted a comment on discussion General Discussion

    Sorry I meant to add that the new GUI file was never saved as a py but saved ok as a tcl.

  • Anonymous posted a comment on discussion General Discussion

    Hi Greg I downloade the new themes file above and changed the thene to page-wheat. It worked perfectly on the tcl module. When I generated the Python GUI and saved it, and reran the app I am developing, the colours were still Cornsilk-light on the app that ran. I go back into the tcl file through Page and Ran the GUI file within the Page app. There seems to be a strange error message. Have a look at this.

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Good morning Neil. I've created a test program that might help us figure out why page-wheat doesn't work for you. In addition, I've included in the test program, a newer version of page-wheat that is due to release in PAGE 8.1. Please download it and run it. Select page-wheat from the combobox and let me know if it works better than the original. Thank you in advance, Greg

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    I wish I had good news for you this morning, but status is about the same. Could you try the clam theme for me please. That is the theme that all of the PAGE themes are based on. Thank you again.

  • Anonymous posted a comment on discussion General Discussion

    Of course this is good news for me as , because I am not a programmer and thus find terminal work more difficult, it is easier and much quicker for me to just use MS Code. Again Greg, thank you very much. You have spent a lot of time on my problem and I apprecate it greatly. Neil

  • Anonymous posted a comment on discussion General Discussion

    here is the result

  • Anonymous posted a comment on discussion General Discussion

    Hi Greg Thanks for the above. I opened my Books Library.tcl in Page from the command line in Terminal. The result was exactly the same screen as if I had opened it in MS Code. Just thought you may like to know. Attached are the images.

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Ok. I don't have access to a Mac and Don does all the testing for Mac since he shares one with his wife. However, Mac is very close to "standard" linux (which I run). I have my PAGE distribution in the Downloads folder. I use an alias in the .bash_aliases file and it looks like this... alias page="python3 /home/greg/Downloads/Page-8.0/page/page.py" Now I understand that for a Mac, there isn't a "standard" bash file, however I did a search on the Internet and came up with a number of links. This is...

  • Anonymous posted a comment on discussion General Discussion

    OK. So I ran Page from the terminal and openedmy file from the Page Menu. The result was the same. It opened a blank format in tabbed form. Because my Page Directory is different to my Page Projects Directory, I am unable to open my project file in my terminal in one command. Unfortunately, I am not a programmer. I am an 89 year old hobbyist who is trying to learn Python on a work-and-learn basis (being only interested in DB programming) in order to keep my brain active! I guess I will just have...

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Using MS Code to start PAGE is not how it's intended to run. Always move to your project folder, then open a terminal and start PAGE from the command line. There is a part of me that thinks that might be part of your problem. Greg

  • Anonymous posted a comment on discussion General Discussion

    And if I separate the tabs then I get this. So I have to resize it.

  • Anonymous posted a comment on discussion General Discussion

    Thanks. I use MS Code to launch Page and then Open/myFile. It works fine, but this is how it loads the Tree/Widgets/form (tabbed)

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    It's strange that Cornsilk-light works and page-wheat doesn't. I'll have to dig into the theme file. As to the tcl file reloading into a tabbed form, I'm not sure what you are referring to. PAGE doesn't use a tabbed form. Yes, if you are VERY careful you could edit the .tcl file. You should look for a line like this... wm geometry $top 412x250+1045+420 Be sure that you are not using something that will reformat the file. Anyway, the part of the line after the "$top" is width, height, Screen X, Screen...

  • Anonymous posted a comment on discussion General Discussion

    Greg, just one small thing. Every time I save the tcl file and then reload it, it reloads into a tabbed form and when I separate them to get the actual form, I have lost my overall size settings and I have to reset them. Is there a setting that I can fix the size in the tcl file?

  • Anonymous posted a comment on discussion General Discussion

    Hi Greg Yes, it works perfectly with cornsilk-light theme. All button borders are there.

  • Anonymous posted a comment on discussion General Discussion

    Hi Greg. No, the Border doesn't show up when I run it in Python and hover over the button. It does however show a shadow of where the wholw button is. I will change themes now. Neil

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    One other thought... Does the border show up when you use the mouse over the button(s), when you are running it in Python?

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    But it only happens when you run the program in Python, right? Hmmm. Have you tried different themes? Could you try the cornsilk-light theme? Does it still cause problems? Greg

  • Anonymous posted a comment on discussion General Discussion

    Thanks for your reply Gregg. I am using a Mac Mini M1. On my computer, the default setting seems to be with no borders, because the Attribute Theme is blank and the result is no border. And when I add Toolbutton to the attribute, I still get no border. I am not likely to ever use no borders on my buttons, so where do I go from here? I am attaching an image from my .tcl file where you can clearly see borders which disappear when the Python code is generated. Yopur help would be appreciated.

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    First, thank you for the kind words, but Don Rozenberg is the one that you should be thanking. I just help out here and there. Are you running on a Mac? Windows? Linux? Actually, you can have the TButtons two ways. One with borders that "kinda" look like a regular button and then there is the Toolbutton style. That one has no borders. You can set it in the Style attribute by typing "Toolbutton". Various themes have various differences between the widgets. I attached a zip file that you can see how...

  • Anonymous posted a comment on discussion General Discussion

    First of all let me thank Greg for a very handy GUI drag and drop system. I am not an experienced Python programmer, but I find it saves an enormous amount of time in forms design. I have a small problem. I am using Theme page-wheat and have dropped 4 TButtons on my top level form, all of which show on my program when I run it. However, there are no borders around the buttons and they look stark with just names eg Add. Edit. etc with no borders. I can't find anything in Attributes window. Can some...

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    https://discord.gg/vm6mTt9FDZ

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    I just sent you a message in Discord, if you are HOYT.

  • Anonymous posted a comment on discussion General Discussion

    Please resend the link--it expired.. I went on discord to the geek, but only see stuff posted upto 2023 ....not sure what I was supposed to see

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    I'm going to ask you to please join the Discord forum so you and I and Don can communicate a bit better. The link is https://discord.gg/vm6mTt9FDZ . Once there, please find me (thedesignatedgeek1953) and send me a Direct message. Thank you!! Greg

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    Thank you very much for the information. I'm sure that this will help Don come up with a path to getting your issue solved. Greg

  • Anonymous posted a comment on discussion General Discussion

    Only one new page file is ver 8, the others are older version of page, from several years ago. Yes, they were developed as separate page projects (3 files per). For exmple from the main project screen a page splash screen is put up (not showing the main screen yet) in the main screen.py file import bigsplash import bigsplash_support in the main screen start_gui,the folowing was added long ago top = Toplevel1 (root) bigsplash.create_Splash1(root) root.lift() root.update_idletasks() time.sleep(4) #splash...

  • Greg Walters Greg Walters posted a comment on discussion General Discussion

    I've been working with Don and PAGE for over 10 years and I've never had a situation come up like this one. I'm going to escalate this to Don. Since he wrote both the early versions and the new versions, maybe he can come up with something that will work for you. Just as a help for him... 1) All Toplevel forms are single and separate PAGE Projects, correct? 2) Are all Toplevel projects from PAGE 8 or a mix with PAGE 8 and an older version of PAGE? 3) In one support module or another you are calling...

1 >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.