|
Post by Rod on Apr 14, 2023 7:20:35 GMT -5
This is a much lighter version of freeform, it has a very simple goal of making form creation and amendment quick and precise. The original freeform strayed into "write my program for me" territory. It also felt a bit laborious to use, so the mouse work in this Ultra Lite version is what makes the difference. Now this will still write you a program but only the bare bones of a form. It always uses #1 and window_nf and that's all that's really needed since you can rename with File, Find/Replace and merge into bigger programs. Oh! and it auto runs the .bas which is fun. It uses a new .ffu file for storing its data. No API's were harmed or indeed used in the creation of this program! Give it five minutes play and tell me what you think. Please click on the help button first, a one minute read. If you can't get to grips with it in five minutes I have failed. Don't get me wrong it will have bugs and will need enhanced or tweaked so we are just starting out. Latest version link
|
|
|
Post by xxgeek on Apr 14, 2023 12:53:02 GMT -5
Rod, in order to have the switch -A work as intended, you'll need to 'write' into the .bas file a line to add the "trapclose [quit]" I found that out with a 'lucky guess'
That way, the JB IDE will close when the new .bas (form) is closed after the users "write'(s) the .bas file.
|
|
|
Post by Rod on Apr 14, 2023 14:16:52 GMT -5
There is an issue with the distributed .ffu in that the resource files reference a hard coded path which will not be the same as your own. For now just delete the lastsession.ffu and test.ffu files in the folder and it will open an untitled project. Close it right away and restart. You now have a blank project to play with. Add a few controls, reposition them, close the program, restart it, write it, tell me how you get on.
|
|
|
Post by xxgeek on Apr 14, 2023 15:13:55 GMT -5
There is an issue with the distributed .ffu in that the resource files reference a hard coded path which will not be the same as your own. For now just delete the lastsession.ffu and test.ffu files in the folder and it will open an untitled project. Close it right away and restart. You now have a blank project to play with. Add a few controls, reposition them, close the program, restart it, write it, tell me how you get on. That's what I did do, and was about to report the issue when I saw TSH73 had already mentioned it in JB forum. To fix the JB IDE not closing once the new form .bas is closed. I wrote in the line with trapclose under [write]: #op "open ";chr$(34);projectname$;chr$(34);" for ";winType$;" as #1" #op "#1 ";chr$(34);"trapclose [quit]";chr$(34)
|
|
|
Post by Rod on Apr 16, 2023 14:04:59 GMT -5
Ok, various issues fixed. For the best experience down load and extract the .zip it will unpack to its own folder. Now start Liberty and navigate to that folder and run the fful.bas
When you unpack choose to overwrite previous files if you have previously downloaded the .zip
All feedback welcome. It is set to save your work to test.bas and to automatically run that .bas when you select Write.
The link to the .zip is in the first post.
|
|
|
Post by Rod on Apr 18, 2023 7:12:37 GMT -5
Latest version that better handles finding the .exe to run the .bas and has insertion point code that lets you set the insertion point before adding a control. A quick look at the help info will get you started. I have amended the link at the top of the thread.
see first post for latest link
|
|
|
Post by xxgeek on Apr 18, 2023 11:23:37 GMT -5
I do believe the wrong file was uploaded, or linked to.
This seems to be the same old version with the issues.
|
|
|
Post by Rod on Apr 18, 2023 12:05:18 GMT -5
Fixed, try the link again it is labeled v1.1
|
|
|
Post by xxgeek on Apr 18, 2023 13:01:57 GMT -5
This is a new upload, can tell by the text at top of code, but still not working as expected.
No insert mode working at all. Left click does nothing. Comboboxes get highlighted on resize of window #1
I do like the bmpbutton working for any folder, but the code shows a hard link to the bmp. The same hard link to x.bmp on "your" drive d:\ Suggest copying th bmp to the Default dir, and then coding the .bas with DefaultDir$;"\";"the.bmp" instead of original local folder it came from.
|
|
|
Post by Rod on Apr 18, 2023 13:09:22 GMT -5
Do the combo boxes stay highlighted when you release the resize drag? Mine don’t. When I left click in a blank space in the cyan highlighted client area a small arrow appears indicating the insert point. Any control added after will insert at that point.
As to paths for resources that will be for later once we get past needing examples that work on download. But there should be no path. What is properties showing for the bmpbutton resource?
What is the text at the top of the version you are testing?
|
|
|
Post by xxgeek on Apr 18, 2023 13:17:44 GMT -5
Text at top: 'freeform ultra lite v1 '14/04/2023 by rodbird@hotmail.com 'The point of this project is to provide a tool that allows precise 'and easy placement of controls and subsequent adjustment. 'the tool will create a .bas which can be merged into existing code 'if the #handle is amended, use the Edit, Find Replace tool for this
Comboboxes stay highlighted. Whether by drag, or by the resize button near the close button to go full screen.
Probably too many versions Rod, my HD is a mess with all the .bas files accumulated and needs a good cleanup. I have tried downloading again to be sure it's your end and not mine.
|
|
|
Post by Rod on Apr 18, 2023 13:31:18 GMT -5
Ok, too tired, link fixed, you should get ffulv1.1.bas now
|
|
|
Post by xxgeek on Apr 18, 2023 14:01:12 GMT -5
Ok, too tired, link fixed, you should get ffulv1.1.bas now Got it. Other than the hard link to 'your' d:\x.bmp file, in the test.bas, Working well. Just rename the test.bas before running. Posting in JB forum.
|
|
|
Post by Rod on Apr 19, 2023 1:22:56 GMT -5
I think I need to stop distributing the .bas example .For it to work it needs to be built new on the users system so adopting their oaths to the resource. The .ffu is pathless and expects all resources to be in its working directory.
Only time will tell if this is what folks need. In the meantime just write the .bas anew and it should work. But…. I will test today and see if we still have a problem.
|
|
|
Post by Rod on Apr 19, 2023 6:21:21 GMT -5
Latest version is freeform ultra lite v1.2 19/04/2023 link is in first post on this thread.
Fixed a lot of stuff, new insert arrow stays where you place it in the client area. Any controls added will take that position. If you add a control it will then drop down to the next available grid point. Feels pretty intuitive to me but if not tell me.
|
|