Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
InForm-PE
#81
(12-17-2024, 10:58 PM)a740g Wrote: The UI is actually very easy to skin. All that needs to done is to update the built-in image assets here: https://github.com/a740g/InForm-PE/blob/...xp.uitheme

I may add skinning support in the future. Probably a compile-time variable to select an appropriate .uitheme file.
I tried to contact MS a few months ago, but it's not that easy from Germany. The only useful email address, apart from support & co, was the address of the vice president of MS. No joke!
I wrote to him anyway and briefly explained what it was about, i.e. finding a VisualBasic developer and asking him, etc. Unfortunately, I never got an answer, which is what I feared, as things like that usually end up in the anteroom as troll mail.

Well, there's nothing more I can do from here. A phone call would of course be best, but my English is too bad for that, and it's too expensive from here.

Maybe there's someone who lives in the USA who can ring MS until they get what they're looking for: either an interested developer, or a final rejection.

Personally, I can only say positive things about MS Germany in this regard. At the time of QuickC 2.0/2.5, I wrote to MS twice about an ambiguity in the manual; back then, I wrote by letter. Both times I had an answer after three or four days. And I had contact with MS three or four more times, always positive. It was a long time ago, and MS has now become too big for letter mail.
Reply
#82
I see from the Wiki that, for list boxes, only reading the selection value is available at runtime. Is there a workaround to fudge the ability to set the value at runtime?

TIA
It's not the having, it's the doing.
Reply
#83
(05-08-2025, 10:11 PM)bobalooie Wrote: I see from the Wiki that, for list boxes, only reading the selection value is available at runtime. Is there a workaround to fudge the ability to set the value at runtime?

TIA

You can use following to modify the list at runtime.
  • AddItem
  • RemoveItem
  • ResetList
  • ReplaceItem
  • GetItem

See here: https://github.com/a740g/InForm-PE/wiki/List

Also see mpgcan's InForm-PE tutorial that covers almost every part of InForm - https://qb64phoenix.com/forum/showthread.php?tid=2600
Reply
#84
(05-08-2025, 10:59 PM)a740g Wrote:
(05-08-2025, 10:11 PM)bobalooie Wrote: I see from the Wiki that, for list boxes, only reading the selection value is available at runtime. Is there a workaround to fudge the ability to set the value at runtime?

TIA

You can use following to modify the list at runtime.
  • AddItem
  • RemoveItem
  • ResetList
  • ReplaceItem
  • GetItem

See here: https://github.com/a740g/InForm-PE/wiki/List

Also see mpgcan's InForm-PE tutorial that covers almost every part of InForm - https://qb64phoenix.com/forum/showthread.php?tid=2600

I've studied these methods, but none of them do what I need. I am working on an analysis program for which a couple of data point are a choice from a preset list of valid choices. I am using list boxes so that I can restrict the user's choice to one of the valid choices without having to bother with validation. The issue comes up when I am loading a saved analysis file to populate the analysis dialog. In VB or Lazarus, I could simply set the ItemIndex property of the list box to select the value that was selected before. I'd like to do that with InForm, but I can't find a method to do that. I tried Control(handle).Value = xx just for funsies, but the IDE throws an error.
It's not the having, it's the doing.
Reply
#85
@bobalooie
Hi maybe this my demo can show something interesting for you
Demo graphic points from listbox loading a .CSV file
Reply
#86
A demo written some years ago about Cryptography using Inform. It shows simple cryptography methods.
Encrypt/Decrypt Inform PE
Reply
#87
And as last post here a demo of the 21 game in which you must get 21 towards the Ai of the program.
21 game Inform PE
Reply
#88
(05-11-2025, 12:33 AM)TempodiBasic Wrote: And as last post here a demo of the 21 game in which you must get 21 towards the Ai of the program.
21 game Inform PE
How to you retrieve textbox text from a textbox.  I haven't been able to find any information on that subject.
Reply
#89
(05-11-2025, 06:58 PM)cage Wrote:
(05-11-2025, 12:33 AM)TempodiBasic Wrote: And as last post here a demo of the 21 game in which you must get 21 towards the Ai of the program.
21 game Inform PE
How to you retrieve textbox text from a textbox.  I haven't been able to find any information on that subject.

It is an argument of Inform PE wiki in the section Textbox
if the ID of selected texbox is NameTB you can get the text typed into textbox in this manner
Code: (Select All)

Dim Shared NameTB As Long
....
...
Dim Nametyped as String
...
Nametyped  = Text(NameTB)

or

Code: (Select All)

Dim Shared NameTB As Long
....
...
Dim Nametyped as String
...
Nametyped  = RawText$(NameTB)
Reply
#90
Inform PE RAD tool has its own libraries, today thanks to developer a740g it is indipendent from external non Basic library Falcon.h.

If you like compile and follow in action the applications that use Inform PE as GUI creator I suggest
  1.  install Inform PE so you can both follow the example posted both you can use Inform PE if you like Events driven programming.
  2. As alternative you can compile the source code of examples installing this package in the folder of the application to compile.
    You need it only for compiling,  the .EXE is indipendent .

.7z   InformPackageIncludeFiles.7z (Size: 80.68 KB / Downloads: 6)
Reply




Users browsing this thread: 1 Guest(s)