|
Post by Rod on Apr 18, 2023 12:08:37 GMT
This is the latest version that better handles finding the .exe and has the insert point code. left click on the client area to set the insert point then add a control.
If for any reason you find this code does not work as you wish or feel right or has irritations please say so. If you find yourself actually using it please say so to.
see last or first post for link to latest version
|
|
|
Post by xxgeek on Apr 18, 2023 16:14:18 GMT
Check your download Rod. I think you posted the wrong file.
No insert option on a right click, tst.ffu is 800x500, comboboxes are highlighted after a resize, but [write] works as expected now.
|
|
|
Post by Rod on Apr 18, 2023 16:29:15 GMT
Doh! Will check when I get home. The insert point gets drawn on left click. If it is a white square that’s old code it should be lines also combo box was fixed so I must have posted wrong code. Just hope it isn’t overwritten!
|
|
|
Post by xxgeek on Apr 18, 2023 16:42:41 GMT
Crossing fingers. I did mean left click, you know, my other right.
|
|
|
Post by Rod on Apr 18, 2023 17:06:47 GMT
Fixed, now called v1.1 to try and avoid confusion, I am good at that.
|
|
|
Post by xxgeek on Apr 18, 2023 17:37:40 GMT
Fixed, now called v1.1 to try and avoid confusion, I am good at that. lol - Maybe good at avoiding confusion in others, but..... Try again, but have your morning coffee first. Same files again Rod.
|
|
|
Post by Rod on Apr 18, 2023 18:16:06 GMT
Try again, if it says v1.1 on the download folder the .bas is called ffuv1.1.bas is that what you are running?
|
|
|
Post by xxgeek on Apr 18, 2023 18:23:26 GMT
Try again, if it says v1.1 on the download folder the .bas is called ffuv1.1.bas is that what you are running? No, I just downed it again, and I get fful.bas in a folder in the zip named Freeform Ultra Lite v1.1 The zip is 1.1, but the fful is fful.bas, not ffuv1.1.bas
|
|
|
Post by Rod on Apr 18, 2023 18:32:35 GMT
Link fixed try again, yes too many versions and too many locations. Going to rationalise versions on file.
|
|
|
Post by xxgeek on Apr 18, 2023 18:52:36 GMT
Ok now, got the right fil, ffuv1.1. In just a few minutes I have found... Insert works, nice. Highlight issue on comboboxes fixed.
Lost ability to add bmp for bmpbutton from a local dir other than DefaultDir$ If we could copy the bmp to DefaultDir$ and then code the link from there to test.bas that would be nice. Right now it errors out if a local dir contains the selected bmp file.
I'll play around and post later.
|
|
|
Post by cundo on Apr 18, 2023 19:43:11 GMT
Nothing can be done with the scale I was using because it was like a 640x480 display hahaha.
|
|
|
Post by cundo on Apr 18, 2023 19:46:06 GMT
v 1.1 says x.bmp couldn't be found d:\temp\x.bmp
|
|
|
Post by tsh73 on Apr 18, 2023 20:56:46 GMT
Version control, may be GitHub?
+1, it's in lastsession.ffu
I found some weird things 1) then I CtrlC CtrlV, new control does not appear until I click somewhere ' (!) several CtrlV and then click adds several copies 2) cloning button by CtrlC CtrlV I got . a) empty white square without text . b)now I have a button that gets selected only by clicking on two rightmost grid squares. Left and center just didn't do! Closing program and restarting it fixed that issue, it is normally selectable now. (does program by chance uses different variables for coordinates for selection and for drawing?)
EDIT
"Menu added" looks like a button - and I could move/resize that! And it got saved/reloaded (and I cannot move it back where it was because of single-grid-cell protected edge on the form)
|
|
|
Post by xxgeek on Apr 18, 2023 23:04:22 GMT
When using larger grid sizes it gets increasingly dificult to grab and drag a small item like the x.bmp. At grid size 30 I couldn't get a grip on the x.bmp file to move it. More noticeable on bmpbuttons than anywhere else. The amount of space available for grabbing a control seems to be linked to the grid size.
|
|
|
Post by Rod on Apr 19, 2023 11:11:22 GMT
Alright, thank you for hanging in there it is all valuable support. I have bug hunted the ctrlV and other insert arrow issues. It should now stay in view, it stays where you place it, or, jumps to the grid point below a control when it is added. Feels better to me, but see how you like it. Fixed lots of other little bits. The light lines for statictext and such are back in. The bmpbuttons cannot be resized now, never could be but I stopped the green highlight. The green expansion selection is now set for the bottom right quadrant of the control rather than grid size. I hope to have chased out all of the path issues.
Not sure how you managed to move the menu button it is supposed to be fixed position. Cant replicate that. Couple of issues still in there. Occasionally the insert arrow refuses to move, not sure why yet. Occasionally I get a path in the project name, not sure why. I also implemented the file dialog for .bas save.
I will ensure the first post and the last post I make contain the link to the latest version.
Been a busy day.
|
|