Forum > Designer
Unable to move form out of visible screen area
Aruna:
--- Quote from: alpine on August 04, 2024, 04:31:57 pm ---
--- Quote ---I have attached a screenshot as a teaser ;)
--- End quote ---
I very much like it!
--- End quote ---
I was going to wait until I had a finished product but since you seem to like my teaser here is a litte gee-wow for you. Please unzip and run the attached file. And please do give me some feedback.
alpine:
I know it's no consolation but on Win10 there is no such problem with the negative left. I've just tried it.
I just love that logo. Is there a vector format? What's the license?
Aruna:
--- Quote from: alpine on August 04, 2024, 08:39:04 pm ---I know it's no consolation but on Win10 there is no such problem with the negative left. I've just tried it.
--- End quote ---
So this is good, thank you for your time and for testing on Win10. Now we have to try and identify why the same code does different things on Windows and Linux? Strange behaviour huh? The code should work the exact same way in both OS's? But seems not to. How does one go about trouble shooting such an issue? :-\
--- Quote from: alpine on August 04, 2024, 08:39:04 pm ---I just love that logo. Is there a vector format?
--- End quote ---
I love it too. Is there a vector format ? Open the image file using Inkscape, and save as plain SVG. Done!
--- Quote from: alpine on August 04, 2024, 08:39:04 pm ---What's the license?
--- End quote ---
Now that is tricky. I stumbled on to that logo on design.com or brandcrowd.com and both were pricey. If I remember right both wanted $108 or so for the logo.
I am an old man on a fixed monthly income and cannot afford to fork out that kind of money which I can use to put food on the table.
So I captured the image by taking a screenshot of it. Plugged it into Gimp. I used the clone tool and recreated my image on a new layer. Then gradient shaded it until I had it the way I wanted it. Then I deleted the original captured screenshot image layer.
So as far as 'I' am concerned you are free to do as you please with that logo. If any lawyer comes after you we do not know each other. I believe honesty is the best policy but sometimes it has come back to bite me. Attribution is always nice but please do not go say Aruna went and took something without permission :-X
So if you create an exact copy of an image and delete the original what are the legal aspects involved? I have no idea and if it renders on your browser pray tell me how are you going to stop anyone determined from grabbing a copy? So I did what I had to do. I am not encouraging anyone to follow suit.
I have attached a vector image for you.
alpine:
--- Quote ---I love it too. Is there a vector format ? Open the image file using Inkscape, and save as plain SVG. Done!
--- End quote ---
Thanks for the attached image, but actually it isn't a true vector but a png embedded into. It can be traced, of course, but it must be non-"gradiented" for that.
About the negative Left - I've made some tests on Ubuntu 20.04.6 LTS, Xfce, Gtk2, Lazarus 2.2.4 (rev lazarus_2_2_4) FPC 3.2.2 x86_64-linux-gtk2. There is no problem, you can have Form.Left negative, but with a catch - for whatever reason the Left is preset to 0 at showing, no matter the value in designer, or the value programmatically set in OnCreate or OnShow. An extra LM_MOVE comes after (left=0) and I can't understand where it comes from. Probably from xfwm itself.
Aruna:
--- Quote from: alpine on August 05, 2024, 08:45:12 am ---Thanks for the attached image, but actually it isn't a true vector but a png embedded into. It can be traced, of course, but it must be non-"gradiented" for that.
--- End quote ---
I have attached the original screenshot I used. Hope it helps.
--- Quote from: alpine on August 05, 2024, 08:45:12 am ---About the negative Left - I've made some tests on Ubuntu 20.04.6 LTS, Xfce, Gtk2, Lazarus 2.2.4 (rev lazarus_2_2_4) FPC 3.2.2 x86_64-linux-gtk2. There is no problem, you can have Form.Left negative, but with a catch - for whatever reason the Left is preset to 0 at showing, no matter the value in designer, or the value programmatically set in OnCreate or OnShow. An extra LM_MOVE comes after (left=0) and I can't understand where it comes from. Probably from xfwm itself.
--- End quote ---
What if we set a breakpoint on the Form.Left then walk through the code? I tried doing this and found SetBounds(). I am trying to understand the code but right now it is way over my head :)
Navigation
[0] Message Index
[*] Previous page