InForm-PE - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1) +--- Forum: Expanding Horizons (Libraries) (https://qb64phoenix.com/forum/forumdisplay.php?fid=21) +---- Forum: a740g (https://qb64phoenix.com/forum/forumdisplay.php?fid=55) +---- Thread: InForm-PE (/showthread.php?tid=1756) |
RE: InForm-PE - a740g - 06-29-2023 (06-29-2023, 01:34 PM)bplus Wrote: @a740g what are the chances of returning the current status of a text box in the .text property (VB term for the .item in Type array or UDT) ? OK you might have to keep the old Text() thing for compatibles but yuck! Honestly, I dunno if I am going to add any new features considering the limited time I get with this thing. I created the fork just to port over InForm to QB64-PE, get rid of falcon.h and use the new _U* function family. So, currently I am just going to do the occasional bug fixes. If I do get some time in the future, I'll attempt implementing .text for widgets that use strings titles / captions etc. (which I think is all of them). Oh. And I do understand how you feel about Text(). Seriously yuck! RE: InForm-PE - SpriggsySpriggs - 10-04-2023 I'm on Zorin OS, which is based on Ubuntu, and the form preview window doesn't stick to the side of the InForm Designer window. Is that expected behavior? Also, the dialog for whether or not to save the form is a little wonky (in my opinion). (but I now know that this is just how a "yesnocancel" box looks in QB64PE Linux) as opposed to Windows: Are we still using tinydialog for the backend or is this something else? With Zenity, you can do three buttons: P.S. Thank you for keeping the project going. RE: InForm-PE - a740g - 10-04-2023 (10-04-2023, 03:42 PM)SpriggsySpriggs Wrote: I'm on Zorin OS, which is based on Ubuntu, and the form preview window doesn't stick to the side of the InForm Designer window. Is that expected behavior?Yeah. The preview window does not stick to the designer on macOS and Linux. That's because the designer tries to use Windows only `_SCREENX` and `_SCREENY` to get the position of preview Window - _SCREENX - QB64 Phoenix Edition Wiki. See: https://github.com/a740g/InForm-PE/blob/a7df4058e0b8b331d5949931485020d3b488c032/InForm/UiEditor.bas#L1404 We are still using tfd. The dialogs do look kinda sad on Zorin. I always thought tfd preferred Zenity by default. I guess I am wrong. Thanks for reporting Zack. I'll look at the dialog stuff whenever I get some time. RE: InForm-PE - SpriggsySpriggs - 10-04-2023 Hey, no rush! They were just some things I saw and thought they were worth mentioning. Don't worry yourself over it. You're not being paid to do these things. I appreciate you looking into it, Sam. P.S. Chances are tfd is using Zenity but the way it formats the command is possibly the issue. RE: InForm-PE - SpriggsySpriggs - 10-06-2023 Question: How does InForm pull in fonts? I know the software says it can't always list system fonts but even when I define a font manually with the absolute path, it says it is invalid and won't use it. Do I need to use InForm's font functions to change font in the code rather than using the designer preview? On Zorin (Ubuntu). I don't know what's going on. I recompiled InForm and now it does find Liberation.ttf on its own and is not defaulting to the built-in VGA font and it is letting me define a font. I am beyond confused. P.S. Thank you for including BIN2INCLUDE as an example. Pretty cool of you to do that. RE: InForm-PE - a740g - 10-07-2023 Ah nice. We've put in some rudimentary logic to try some known places for fonts. https://github.com/QB64-Phoenix-Edition/QB64pe/blob/32decea5d098beab4452700929c8be6ef9bba970/internal/c/parts/video/font/font.cpp#L681 Quote:Thank you for including BIN2INCLUDE as an example. Pretty cool of you to do that.No problem! If you are going to update BIN2INCLUDE, then I've would love to include the updated version as a part of InForm-PE. RE: InForm-PE - TarotRedhand - 11-22-2023 So I got the master from GitHub and followed the instructions in the readme. I saw no error messages. However, when I try to run the editor I get a missing component error - UiEditorPreview component not found or failed to load. (was a 4kb image but I'm not going to faff around uploading something that size to a 3rd party site!) What have I done wrong? Thanks. TR RE: InForm-PE - a740g - 11-22-2023 Sorry about that. You did nothing wrong. Download the and use this link for now. I'll have everything sorted out by the end of this week. https://github.com/a740g/InForm-PE/archive/ed6305b10cd9cba394d70a6db870974530489812.zip I am currently in the process of refactoring a few things and re-writing the GIFPlayer extension from scratch (because the older one had a lot of issues). I guess I should create a use a dev branch. RE: InForm-PE - TarotRedhand - 11-22-2023 Boy, that was quick . Compiled and working. One little thing, there were around half a dozen unused variables warnings for UiEditorPreview during compilation. Not a biggie as they shouldn't make a difference in how this works. Thanks. TR RE: InForm-PE - a740g - 11-30-2023 Updated InForm-PE with the new GIFPlay library and few more goodies. See GIFPlay (qb64phoenix.com) Links and everything in the first post. @TarotRedhand I fixed the issue you were running into and have updated the GitHub repo. You can get the latest from there. |