MODULE: DynamicDialogs - creating complex GUIs the easy way

Share your advanced PureBasic knowledge/code with the community.
highend
Enthusiast
Enthusiast
Posts: 123
Joined: Tue Jun 17, 2014 4:49 pm

Re: MODULE: DynamicDialogs - creating complex GUIs the easy

Post by highend »

if there is any interest / need for this
Yes please! + 5
User avatar
Sicro
Enthusiast
Enthusiast
Posts: 538
Joined: Wed Jun 25, 2014 5:25 pm
Location: Germany
Contact:

Re: MODULE: DynamicDialogs - creating complex GUIs the easy

Post by Sicro »

Hello PureLust :)

It looks like you are no longer following your forum thread in the German forum:
http://www.purebasic.fr/german/viewtopi ... =8&t=29476

In any case, contains your ZIP file that you are offering here to download, not the improved version.
In the CodeArchiv I made a few improvements to your module:
https://github.com/SicroAtGit/PureBasic ... micDialogs
Image
Why OpenSource should have a license :: PB-CodeArchiv-Rebirth :: Pleasant-Dark (syntax color scheme) :: RegEx-Engine (compiles RegExes to NFA/DFA)
Manjaro Xfce x64 (Main system) :: Windows 10 Home (VirtualBox) :: Newest PureBasic version
PureLust
Enthusiast
Enthusiast
Posts: 477
Joined: Mon Apr 16, 2007 3:57 am
Location: Germany, NRW

Re: MODULE: DynamicDialogs - creating complex GUIs the easy

Post by PureLust »

Sicro wrote:It looks like you are no longer following your forum thread in the German forum:
http://www.purebasic.fr/german/viewtopi ... =8&t=29476
Oh, you're right ... missed the discussion on the german board completely.
Looks like I did not get any messages from the german board, if someone posts into one of my threads there.
I try to reply there within a few days. ;)
Sicro wrote:In any case, contains your ZIP file that you are offering here to download, not the improved version.
In the CodeArchiv I made a few improvements to your module:
https://github.com/SicroAtGit/PureBasic ... micDialogs
I have a few days of right now, which I planed to use to finish some PB-Projects and look over some 'older' stuff.
So I'll have a look at your changes to DynamicDialogs, include them into the 'official' release and maybe add some new features. :D
[Dynamic-Dialogs] - create complex GUIs the easy way
[DeFlicker] - easily deflicker your resizeable Windows
[WinFX] - Window Effects (incl. 'click-through' Window)
highend
Enthusiast
Enthusiast
Posts: 123
Joined: Tue Jun 17, 2014 4:49 pm

Re: MODULE: DynamicDialogs - creating complex GUIs the easy

Post by highend »

include them into the 'official' release and maybe add some new features
:mrgreen:
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2056
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: DynamicDialogs - creating dynamic Dialogs the easy way .

Post by Andre »

PureLust wrote:A few days ago, I had an idea, how to add Menu-, Toolbar- and Statusbar-Support to Dynamic-Dialogs.

But because I never use this combination for my own I just want to ask, if there is any interest / need for this improvement to make sure it's worth the effort.
I would support this wish too. So if you see a chance, any further improvement to DynamicDialogs is welcome! :mrgreen:

(Already have converted my complete project with a bunch of different windows into resizable dialogs made with DynamicDialogs... I'm very happy and hope to show it to the public next year.. 8))
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
wysardry
User
User
Posts: 37
Joined: Sun May 27, 2012 4:58 pm

Re: DynamicDialogs - creating dynamic Dialogs the easy way .

Post by wysardry »

PureLust wrote:But because I never use this combination for my own I just want to ask, if there is any interest / need for this improvement to make sure it's worth the effort.
I would also be interested in this improvement. I'm in the process of planning and creating a prototype of an offline blog/website editor which will need several GUI screens of different types.
PureLust
Enthusiast
Enthusiast
Posts: 477
Joined: Mon Apr 16, 2007 3:57 am
Location: Germany, NRW

Re: DynamicDialogs - creating dynamic Dialogs the easy way .

Post by PureLust »

wysardry wrote:I would also be interested in this improvement.
OK, I hope to finish and publish my new InterCom-Module soon.
Right after that I'll get my hands on DynamicDialogs again.
[Dynamic-Dialogs] - create complex GUIs the easy way
[DeFlicker] - easily deflicker your resizeable Windows
[WinFX] - Window Effects (incl. 'click-through' Window)
highend
Enthusiast
Enthusiast
Posts: 123
Joined: Tue Jun 17, 2014 4:49 pm

Re: MODULE: DynamicDialogs - creating complex GUIs the easy

Post by highend »

Is it still in development?
PureLust
Enthusiast
Enthusiast
Posts: 477
Joined: Mon Apr 16, 2007 3:57 am
Location: Germany, NRW

Re: DynamicDialogs - creating dynamic Dialogs the easy way .

Post by PureLust »

PureLust wrote:A few days ago, I had an idea, how to add Menu-, Toolbar- and Statusbar-Support to Dynamic-Dialogs.
So FINALLY I've included Menu- and StatusBar-Support to my DynamicDialogs Module !!! :)
(Further changed Include-Path on Demos, to support Linux FileSystem and fixed a little Bug on WebGadget.)

How to use it in your DynamicDialogs-Code:

There are two new constants: #Add_MenuSpacer and #Add_StatusBarSpacer which has to be added to the Window-Flags, if you want Menu- or StatusBar-Support.

So, just 'Or' #Add_MenuSpacer to the Flags of the Window, which you want to add a Menu later on and 'Or' #Add_StatusBarSpacer to the Windows-Flags, if you want to add a StatusBar later on.

E.G.:
Window__(#WinMain, "MainWindow", "Demo_4", #Add_MenuSpacer | #Add_StatusBarSpacer | #PB_Window_ScreenCentered | #PB_Window_SystemMenu | #PB_Window_SizeGadget | #PB_Window_MaximizeGadget, 810, 480, 800, 550)

Easy enough? :wink:

To see these Flags in action, just have a look an the new 'Demo_4' in the Demo-Folder.

Sorry for the delay, but I hope you are at least satisfied with the final outcome.

Greetz and HAPPY NEW YEAR to all of you !!!
PureLust
[Dynamic-Dialogs] - create complex GUIs the easy way
[DeFlicker] - easily deflicker your resizeable Windows
[WinFX] - Window Effects (incl. 'click-through' Window)
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2056
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: MODULE: DynamicDialogs - creating complex GUIs the easy

Post by Andre »

Thank you very much for the further development, PureLust! :D And happy New Year :mrgreen:

DynamicDialogs runs very well in my big application, just tested this latest update.
Currently I'm not using Menu/StatusBars yet, but probably in the future... and the new Demo runs fine.

Now only some improvements are still needed, but they must the done in the underlying PB Dialogs library, like adding/removing gadgets during runtime... 8)
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
PureLust
Enthusiast
Enthusiast
Posts: 477
Joined: Mon Apr 16, 2007 3:57 am
Location: Germany, NRW

Re: MODULE: DynamicDialogs - creating complex GUIs the easy

Post by PureLust »

Andre wrote:..., like adding/removing gadgets during runtime... 8)
Yeah, ... this would be great. :D

But for the first Step it would be enough if hidden Gadgets will be counted with zero Size within the recalculation of RefreshDialog().
Should be easy to implement and provides a lot of opportunities. :wink:
[Dynamic-Dialogs] - create complex GUIs the easy way
[DeFlicker] - easily deflicker your resizeable Windows
[WinFX] - Window Effects (incl. 'click-through' Window)
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2056
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: MODULE: DynamicDialogs - creating complex GUIs the easy

Post by Andre »

PureLust wrote: But for the first Step it would be enough if hidden Gadgets will be counted with zero Size within the recalculation of RefreshDialog().
Should be easy to implement and provides a lot of opportunities. :wink:
Good idea :D
Just added to the related FeatureRequest thread: http://www.purebasic.fr/english/viewtop ... =3&t=64890 :mrgreen:
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
PureLust
Enthusiast
Enthusiast
Posts: 477
Joined: Mon Apr 16, 2007 3:57 am
Location: Germany, NRW

Re: MODULE: DynamicDialogs - creating complex GUIs the easy

Post by PureLust »

Uploaded a new version with minor 'bugfixes' in demo-codes, which causes problems on Linux or OSX because of their case sensitivity in include-path, etc..

(as mentioned from Sirco on the german Board)
[Dynamic-Dialogs] - create complex GUIs the easy way
[DeFlicker] - easily deflicker your resizeable Windows
[WinFX] - Window Effects (incl. 'click-through' Window)
Amundo
Enthusiast
Enthusiast
Posts: 191
Joined: Thu Feb 16, 2006 1:41 am
Location: New Zealand

Re: MODULE: DynamicDialogs - creating complex GUIs the easy

Post by Amundo »

Words fail me!!!!!!!!!! Only acronyms can do this thing justice!!

WTF!!!! OMG!!!!

Thank you for all the work you have put into this, it has sparked me into working on a long-dead project!
Win8.1, PB5.x, okayish CPU, onboard video card, fuzzy monitor (or is that my eyesight?)
"When the facts change, I change my mind" - John Maynard Keynes
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5342
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: MODULE: DynamicDialogs - creating complex GUIs the easy

Post by Kwai chang caine »

Yes !! thanks PureLust for this great sharing 8)
ImageThe happiness is a road...
Not a destination
Post Reply