ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Drag&Drop Robot

GUI/form bugs v1.13.01 in w2k

(1/1)

kefrey:
Problem 1 - there are two Field 3s - line one: commandline, line two: field 1, line 3: field 2, field 3, field 3
Problem 2 - the drop zones don't correspond with the text fields onscreen

If you drop things in the "right" place, it all seems to work, though.
Resizing works normally - the zones stay with their (wrong) controls.

mouser:
Hi kefrey,

Welcome to the site and sorry for the delayed reply!

Looks like you are right about the mislabeled fields -- I think the reason it's gone undetected for so long is in my version i've got some saved configurations that overide those values, so i never noticed it.

You can actually click on those "Field 3" labels and edit them directly, and they will be saved with your configuration.

Now the drop zones are more troubling -- looks like i need to make a new release since those cannot be so easily fixed.

kefrey:
Well, not quite - you may have forgotten how you wrote the program, or maybe this stuff is hidden in the form editor... ;)

I got to poking around with ResHack and fixed the drop zones (in my personal copy, at any rate).  They are all in the main form, which is amenable to text editing.  The labels are in the main form too, but they are also initialized somewhere, so even after fixing the form and deleting the settings files, a fresh start labels field 4 as field 3, although the drop zone and the %f4 variable work properly.

I was able to fix that one with a hex editor by looking for a place in the software where there was a set of data going field 1, field 2, field 3, field 3, at hex 2A01B9 - the nearby text is

Settings\0Field1Caption\0Field 1 (%f1,%F1)\0Settings\0Field1Text\0\0
Settings\0Field2Caption\0Field 2 (%f2,%F2)\0Settings\0Field2Text\0\0
Settings\0Field3Caption\0Field 3 (%f3,%F3)\0Settings\0Field3Text\0\0
Settings\0Field3Caption\0Field 4 (%f4,%F4)\0Settings\0Field4Text\0\0
               ^
  note duplicated Field3


These names don't appear in the text form. It might be an error in the initializing/reading/writing of the ini file, but I'm just guessing.

Good luck with it. The edited form is attached, but it fixes the drop zones, not the labels.


mouser:
Nice to see someone who shows some resourcefulness  :up:
I will try to release an official update.

mouser:
Kefrey your ingenuity inspired me to finally update the program.

Can you try the new build at:
https://www.donationcoder.com/Software/Mouser/dragdrop/downloads/DragAndDropRobotSetup.exe

Consistent with my new build process there is now also a separate portable build at:
https://www.donationcoder.com/Software/Mouser/dragdrop/downloads/DragAndDropRobotPortable.zip

Your diagram made it easy for me to see what i needed to fix, but let me know if i somehow managed to mess up again.


I hope you don't feel like your fixes were wasted effort -- if you hadn't made them i never would have been shamed sufficiently to release an update :)
Obviously I put a thank you in the version history of the program help file, but as an extra thank you, if you make some feature requests I will try to implement them.

Navigation

[0] Message Index

Go to full version