QB64 Phoenix Edition v3.4.0 Released! - Printable Version +- QB64 Phoenix Edition (https://staging.qb64phoenix.com) +-- Forum: Official Links (https://staging.qb64phoenix.com/forumdisplay.php?fid=16) +--- Forum: Announcements (https://staging.qb64phoenix.com/forumdisplay.php?fid=18) +--- Thread: QB64 Phoenix Edition v3.4.0 Released! (/showthread.php?tid=1028) |
RE: QB64 Phoenix Edition v3.4.0 Released! - DSMan195276 - 11-04-2022 I created #234 on GitHub for the _DESKTOPHEIGHTand _DESKTOPWIDTHissues on Linux, it needs some investigation but I think I get the general idea of the problem. Additionally we're working on various fixes to the tinyfiledialogs library (which underpins the new dialog support), that will likely be out in the next release. RE: QB64 Phoenix Edition v3.4.0 Released! - doppler - 11-05-2022 Looking for a suggestion and I got a hellish don't do that situation. While playing with new stuff re: _InputBox$. I noticed I can use strings as part of the three passed variables. Separation by comma. Need not apply quotes. I can build a string for the message part of the box. This way I can pass a true question with different messages based on the built string. Then I noticed my message string was getting long and longer. (expected result of building the string). It looked ugly in the popup box. I mean really ugly. So I tried to make it pretty. Well I exceeded to make it pretty. And I mean pretty "D E A D L Y". Do not, and I really mean do not. Use CR/LF control codes in the message part. Likely other codes won't work either. Unicode maybe alright. (did not test). The result is a hung program window. Really hung program window. Needs task manager to clear it. My needed suggestion how can I manage my message part of the popup box, and not make it look like a run on sentence ? RE: QB64 Phoenix Edition v3.4.0 Released! - mnrvovrfc - 11-05-2022 Write a function that does word-wrap, set a limit of number of characters, use CHR$(13) + CHR$(10) as the soft breaker, and use that as return value to the "message". This is something that could affect the "_MESSAGEBOX" also. What I used to prefer instead of "_MESSAGEBOX" was a contribution from somebody in the Purebasic forums writing such a dialog from scratch, but using the text-entry "gadget" with scrollbars to place the "message". The advantage of it was being able to select all of it quickly and copy it to the clipboard. The problem was, when the user didn't like all the text selected... EDIT: This is what I did in Purebasic. Should work in v6 and on Linux as well. Code: (Select All) Procedure MessageWindow(Titel.s, Text.s) This one allows the user to use "|" pipe symbol to indicate the soft-returns. I did this years ago so I'm not sure how to put a pipe as part of the message... RE: QB64 Phoenix Edition v3.4.0 Released! - Steffan-68 - 11-05-2022 (11-05-2022, 07:51 PM)Doppler Wrote: Auf der Suche nach einem Vorschlag und ich bekam eine höllische Situation. Es funktioniert auch einfach mit chr$(13) Code: (Select All) $If VERSION > 3.3 Then [Anhang=1057] RE: QB64 Phoenix Edition v3.4.0 Released! - doppler - 11-06-2022 (11-05-2022, 10:37 PM)Steffan-68 Wrote:(11-05-2022, 07:51 PM)Doppler Wrote: Auf der Suche nach einem Vorschlag und ich bekam eine höllische Situation. Achtung, ich spreche kein Deutsch, aber ich kenne DeepL. Ich werde messagebox auf Sparflamme halten, mein Problem ist mit InputBox. RE: QB64 Phoenix Edition v3.4.0 Released! - a740g - 11-06-2022 (11-04-2022, 02:08 PM)Spriggsy Wrote: @mpgcan @mpgcan This is getting fixed. And yeah, this is bug in the tinyfiledialogs library. @DSMan195276 has already done a lot of work to fix the Linux issues and now is working on the Windows ones as well. @Spriggsy See #237. You'll like it. RE: QB64 Phoenix Edition v3.4.0 Released! - Jack - 11-08-2022 hello @DSMan195276 in the latest git repo, in the file QB64pe-main/internal/c/parts/gui/tinyfiledialogs.c line 3159 you have again Code: (Select All) char lBuff[MAX_PATH_OR_CMD]; just one more thing, if I build QB64 with gcc-13 from Equation Solutions I get an error when compiling a basic program in libqb.h, something like int_t not defined, #include <stdint.h> fixes the problem this does not happen with the toolchain that the QB64 setup_win.bat downloads RE: QB64 Phoenix Edition v3.4.0 Released! - DSMan195276 - 11-08-2022 In regards to the warnings and missing staticthose are addressed in a PR I currently have open In regards to the stdint.h, it does look like you're right that for Windows stdint.hnever gets included, that got missed (and apparently it must get included from elsewhere with the gcc version we're using). I'll see about fixing that. RE: QB64 Phoenix Edition v3.4.0 Released! - Pete - 11-08-2022 Was there a bug in the "FIND" feature in 3.3? I'm still using it, but I noticed with multiple IDEs opened, it doesn't add the latest finds (Searches) to the list, like the older versions did. Pete |