Very Simple GUI - Printable Version +- QB64 Phoenix Edition (https://staging.qb64phoenix.com) +-- Forum: QB64 Rising (https://staging.qb64phoenix.com/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://staging.qb64phoenix.com/forumdisplay.php?fid=3) +---- Forum: Works in Progress (https://staging.qb64phoenix.com/forumdisplay.php?fid=9) +---- Thread: Very Simple GUI (/showthread.php?tid=552) |
RE: Very Simple GUI - bplus - 06-17-2022 Quote: @bplus. if you have the time. a code example would be cool! @Coolman Have you tried replacing _ScreenMove ... with _FullScreen plus adding escape code because the X box top right won't be showing, still there is always Alt +F4 for esacping a full screen app.... I think it will solve small font size nicely! Even if ratio is off it's kind of cool to see tall or fat font. Code: (Select All) Sub OpenWindow (WinWidth As Long, WinHeight As Long, title$) PS the $resize option I think is if you want to drag borders in or out to make more room or less on screen, it won't change font sizes. RE: Very Simple GUI - RNBW - 06-17-2022 (06-17-2022, 12:55 PM)bplus Wrote:(06-17-2022, 12:35 PM)Kernelpanic Wrote: It works also when "direntry." is in the same folder as the source file; Screenshot. I've downloaded direntry.h and now it works with direntry.h and source file in the c:\qb64 folder but not in a separate folder. I'll see how it progresses. RE: Very Simple GUI - Kernelpanic - 06-17-2022 Quote:I've downloaded direntry.h and now it works with direntry.h and source file in the c:\qb64 folder but not in a separate folder. I'll see how it progresses. Did you set it up accordingly in the editor? Run -> Output EXE to Source folder RE: Very Simple GUI - bplus - 06-17-2022 (06-17-2022, 02:36 PM)RNBW Wrote:(06-17-2022, 12:55 PM)bplus Wrote:(06-17-2022, 12:35 PM)Kernelpanic Wrote: It works also when "direntry." is in the same folder as the source file; Screenshot. Good! thanks for reporting back. update: Oh reread again, yes +1 KernelPanic's question. RE: Very Simple GUI - Kernelpanic - 06-17-2022 (06-17-2022, 12:55 PM)bplus Wrote:(06-17-2022, 12:35 PM)Kernelpanic Wrote: It works also when "direntry." is in the same folder as the source file; Screenshot. Thanks! Wonderful, it crawls across the screen. But hard to stop. RE: Very Simple GUI - Coolman - 06-17-2022 @bplus. thank you for your answer. i see what you mean with the full screen mode. yes it's more readable but it's not the solution i'm looking for. in fact, i was planning to develop a video encoder associated with ffmpeg or handbrake with a minimalist interface in a small window always visible in the screen. i think i'll rather use lazarus-freepascal for this development. good luck for your project. RE: Very Simple GUI - bplus - 06-17-2022 @Kernelpanic is it possible that you already have a direntry.h file in your QB64.exe folder, that would explain why having it in source folder seems to work. I recall having problems with .h files (without paths) in source folder. I will test myself but this requires I remove or rename my direntry.h file in qb64.exe folder for test. RE: Very Simple GUI - Kernelpanic - 06-17-2022 (06-17-2022, 03:04 PM)bplus Wrote: @Kernelpanic is it possible that you already have a direntry.h file in your QB64.exe folder, that would explain why having it in source folder seems to work. I recall having problems with .h files (without paths) in source folder. No, the file is just in the same folder as the source file. RE: Very Simple GUI - bplus - 06-17-2022 Confirmed, I renamed the direntry.h file in QB64.exe file, then put a copy of direntry.h in folder with GUI - Get Filename project and it ran just fine. I was surprised how far along that spider was with it's web, must be that Optimized Compile option I am running in v .0.8.2 ! It makes a difference! BTW those file and folder lists are pretty fast as well, consider I run the lists to get arrays, join the arrays to get strings then resplit the strings to get arrays again, that's a fair amount of processing, RE: Very Simple GUI - Kernelpanic - 06-17-2022 So can one stop the spider simply with "x": Code: (Select All) While InKey$ <> Chr$(120) 'ASCII Nummer fuer x, stoppt das Programm |