Recent Posts

Pages: 1 [2] 3 4 ... 10
11
EZGUI 5 support forum / Re: Light/Dark Mode
« Last post by Frank Kelley on April 03, 2025, 11:45:24 pm »
Thank you for the response, Chris.

Most of my apps don't use OwnerRedraw. What is the method of enumerating all the controls? Is there an example of this in the EZGUI examples folder?
12
EZGUI 5 support forum / Re: Light/Dark Mode
« Last post by Chris Boss on April 03, 2025, 04:47:33 pm »
EZGUI provides enumeration commands so you can walk through all the controls on a form.

In controls you desire to allow changing their color you can change their color enmass for a form in the forms %EZ_Loaded event before the form is visible.

Once a form is visible and the user changes color mode, you can disable the forms redraw state, enumerate all the controls and change their colors as desired, enable the forms redraw state and then force the form to redraw itself.

Use a Global variable to track the color mode state and store that in the registry so it can be automatically set when the app is run again.

It will require a little effort, but it is quite doable.

There are functions which can tell you want the class (type) of control it is when you enumerate through them.

For ownerdraw stuff it will be a little more complicated, since you have to custom the ownerdraw routine so it can change colors.
13
EZGUI 5 support forum / Light/Dark Mode
« Last post by Frank Kelley on April 01, 2025, 01:47:47 pm »
Many programs today offer both a "light" and "dark" mode. Is there an easy way such a toggle can be incorporated in an EZGUI-created application?
14
EZGUI 5 support forum / Re: Issue with EZGUI.INC
« Last post by Eric Miller on February 16, 2025, 06:20:01 pm »
Ok, thanks
15
EZGUI 5 support forum / Re: Issue with EZGUI.INC
« Last post by Chris Boss on February 15, 2025, 04:53:01 pm »
One consideration is when one tries to combine EZGUI with the PB DDT stuff. Don't know if you tried that or not.

I recommend not to use the PB DDT command set with EZGUI. One can use the WIN32 API, but rather than include the WIN32 API includes, I always recommend copying just the API declarations you require into your EZGUI app.

16
EZGUI 5 support forum / Re: Issue with EZGUI.INC
« Last post by Eric Miller on February 15, 2025, 02:45:25 am »
It was a weird issue with the variable casting in EZGUI50.INC changed the & to AS LONG and issue went away, yeah!

I know my description wasn't great.

I'm checking the rest of the code for issues...
17
EZGUI 5 support forum / Re: Issue with EZGUI.INC
« Last post by Eric Miller on February 13, 2025, 11:55:09 pm »
Hello,

I've been using EzGui 5.0 Pro, no issues before.

Now I'm getting an error of "AddLVitem missing a ")" at the 6th parameter in the EZGUI50.INC file.

I've never changed anything in the EZGUI50.INC file.

Any idea what might cause this?

Thanks,

Eric M
18
Powerbasic / Re: Welcome
« Last post by Chris Boss on January 31, 2025, 06:55:15 pm »
PB forums are back up and running.
19
Other BASIC languages / Re: Other Basic languages worth checking out
« Last post by Brice M on January 30, 2025, 07:15:38 pm »
These are both from one of the living legends of BASIC and early home computers.

BBC BASIC for Windows

And a newer version that is free, open source and cross-platform.

BBC BASIC for SDL 2.0

Both of the above are great and I have used them in the past, even the DOS version of BBC BASIC. Richard is a great guy and talented coder.


I also highly recommend these:

PureBasic

IceDesign GUI Designer (The best GUI designer for PureBasic, IMHO)

SpiderBasic

PureBasic is designed to pretty much run on any OS (Windows, Linux, MacOS and Raspberry Pi) or processor (32-bit or 64-bit or ARM). It is ALWAYS kept current with new technologies. Works great on the RaspberryPi. PureBasic creates DPI aware apps as a built in feature, which is a huge plus nowadays and has created 64bit EXEs for many, many years.

SpiderBasic is awesome for web-based applications, Android & iOS.
20
Other BASIC languages / Other Basic languages worth checking out
« Last post by Chris Boss on January 28, 2025, 11:59:23 am »
Here is a short list of other Basic languages worth checking out:

Oxygen (O2) Basic compiler (32 bit and 64 bit) :   https://github.com/Charles-Pegge/OxygenBasic

PluriBasic (generates apps for a variety of platforms):   https://www.patreon.com/c/pluribasic/posts

ThinBasic (interpreter) :  https://www.thinbasic.com/

Pages: 1 [2] 3 4 ... 10