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 - GareBear - 02-17-2024 a740g. It installed with the two lines you show in your last post. I loaded UiEditor.bas in the 3.11.0 IDE and ran it. This is what I get, an error. Unhandled error #64 - UiEditor.bas Line: 151 (in Ini.bas) Bad file name Continue? NO YES One thing Pop!os runs the IDE better with out a system lockup but it is looking like it does not do the QB64pe programs not that well. The GUI must be too different from usual linux. You are the second person on this forum to ask me about my linux OS. I'm not offended by the question. It looks like I may have to get another linux OS. RE: InForm-PE - a740g - 02-17-2024 @GareBear I think you got everything built correct. However, you are launching UiEditior from the wrong directory. The InForm makefile puts the UiEditor binary in the base InForm-PE directory and you should launch it from there. If you compile InFrom using the IDE inside InForm-PE/InForm and then run it from there, it will throw errors. Launch the UiEditor binary like shown below. RE: InForm-PE - Kernelpanic - 02-17-2024 @a740g - Thanks, it works now. So there has to be "Control" in front of it (in VB it's "Val"). Well. Then I tried for a while to format the output to two decimal places, but I didn't succeed. I tried everything I could think of, no success. The attempts a la QB64 and VB all failed. Is there another “how to” involved like with Control? PS: Aligning input and output to the right doesn't work, it's grayed out. The thing with control should go into the wiki; it's so easy to say. Oh yes, why is it called "TB" and not "LB": Control(EinkaufspreisTB).Value? Questions about questions. RE: InForm-PE - bobalooie - 02-20-2024 I have been studying the structure of Inform programs, and I have a couple questions: Is it possible to use more than one Inform form in the same program? If so, what are the mechanics to achieve that? RE: InForm-PE - a740g - 02-20-2024 (02-17-2024, 07:44 PM)Kernelpanic Wrote: @a740g - Thanks, it works now.For formatting numbers, you can use __UI_StrUsing$ (format$, value##). format$ uses the same format as PRINT USING. I'll have to check a bit on the aligning part. I used a numeric text box so that might have something to do with it. Control is mostly documented here: https://github.com/a740g/InForm-PE/wiki/Properties RE: InForm-PE - a740g - 02-20-2024 (02-20-2024, 02:56 AM)bobalooie Wrote: I have been studying the structure of Inform programs, and I have a couple questions: Is it possible to use more than one Inform form in the same program? If so, what are the mechanics to achieve that?Unfortunately, it is currently not possible. This limitation is due to the way QB64 operates. QB64 only supports a single graphics window, and all its operations occur within that window. You could simulate a multi-form application by making separate programs for each InForm form and then make them talk to each other using some kind of IPC. That's basically what UiEditor.bas and UiEditorPreview.bas does. RE: InForm-PE - bplus - 02-20-2024 Something you can do with any GUI is have multiple sets of controls active at times or unaccessible at times such that it looks like separate windows are being used. I have done that with my GUI, creating what appears to be a separate window for navigating and selecting files (this was before PE got File Dialog). You can even do this without GUI and might be easier! Oh you might want 2 or more Windows open at same time, then run multiple versions of same program and use the Clipboard or a common file to communicate between them. Even the greatest multi-tasking savant can only BE in one window at a time anyway. Maybe not be as easy as separate windows or screens but it builds character! ;-)) RE: InForm-PE - bobalooie - 02-20-2024 (02-20-2024, 01:41 PM)a740g Wrote:(02-20-2024, 02:56 AM)bobalooie Wrote: I have been studying the structure of Inform programs, and I have a couple questions: Is it possible to use more than one Inform form in the same program? If so, what are the mechanics to achieve that?Unfortunately, it is currently not possible. This limitation is due to the way QB64 operates. QB64 only supports a single graphics window, and all its operations occur within that window. Cool, thanks. RE: InForm-PE - Kernelpanic - 02-21-2024 Quote:For formatting numbers, you can use __UI_StrUsing$ (format$, value##). format$ uses the same format as PRINT USING.I am not getting anywhere with this. It has nothing to do with the "Format$" as I know it from VB, and I didn't find anything about it in the Wiki. And "Print Using", how should I put that in there? VisualBasic 5.0 Code: (Select All)
Is there an explanation somewhere for using __UI_StrUsing$ (format$, value "####") as for "Control"? I did not find anything on the internet either. Are there really no instructions for this? RE: InForm-PE - a740g - 02-21-2024 (02-21-2024, 12:09 AM)Kernelpanic Wrote:Quote:For formatting numbers, you can use __UI_StrUsing$ (format$, value##). format$ uses the same format as PRINT USING.I am not getting anywhere with this. It has nothing to do with the "Format$" as I know it from VB, and I didn't find anything about it in the Wiki. And "Print Using", how should I put that in there? So, I changed the result numeric text box to a plain text box and then made the following change in Prozenthoehe.bas. Code: (Select All)
|