DialogDesigner2 — a tool to compose XML dialogs

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Blue
Addict
Addict
Posts: 864
Joined: Fri Oct 06, 2006 4:41 am
Location: Canada

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by Blue »

Thank you Lunasole for keeping your project alive and evolving.
I still haven’t figured out how to use it intelligently, but it’ll come to me... eventually.
"That's not a bug..." said the programmer. "it's a feature! "
"Oh! I see..." replied the blind man.
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by Lunasole »

Blue wrote:Thank you Lunasole for keeping your project alive and evolving.
I still haven’t figured out how to use it intelligently, but it’ll come to me... eventually.
Well I'm using it for myself so it anyway will be alive while I'm doing something in PB :)
Should be still fine to create some small&simple UIs quickly.
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
linkerstorm
User
User
Posts: 47
Joined: Sun Feb 18, 2007 11:57 am

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by linkerstorm »

Hello.

Can't download last version on geocities.

Any clues ?

Thanks.
jacky
User
User
Posts: 63
Joined: Mon Jan 21, 2019 1:41 pm

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by jacky »

Are such (xml) dialog windows dpi aware by default or is there anything else necessary so
that they always scale their content correctly (even on Windows 8.1+ with multiple monitors with different scaling factors)?
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by Lunasole »

linkerstorm wrote:Hello.

Can't download last version on geocities.

Any clues ?

Thanks.
Sorry for my dissapearing, I was not coding in PB for a long time^^
It should download OK. But well, that geocities is outdated a lot and still uses http-only, maybe your browser makes problem of this.
I'm planning to change hosting, not sure when.

jacky wrote:Are such (xml) dialog windows dpi aware by default or is there anything else necessary so
that they always scale their content correctly (even on Windows 8.1+ with multiple monitors with different scaling factors)?
They are not. Extra things are required for that to do, DD2 includes such an option when generates code (and anyway it requires additional exe manifest, or call to DPI-aware APIs)
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by Lunasole »

Remembered of this old stuff and at least updated a link in 1st post :)
I would post the sources also, but don't thing it's much interesting for someone except me.
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by Lunasole »

Lunasole wrote: Sun Feb 28, 2021 8:39 am I would post the sources also, but don't thing it's much interesting for someone except me.
Oh yes, yet another my return to this forum with similar post :)
Though this time I updated to a newer version a bit:
1.0.1.6
- Output: new mode of callbacks generation (generated code)
- Output: custom callbacks may be defined; same callback can bind to several controls if set (generated code)
- Output: now sorting items within InitDialogs() (generated code)
- Options: removed "add <this> variable to callback"
- Same timestamp naming (like with XML export) added to code export
- Yet another small change related to last.dir :)

1.0.1.5
- Fixed IMA caused sometimes by tree drag&drop
- Added hyperlink leftclick event
- A bit changed exported code
- Now saving XML files uses unique names (timestamp)
- Saving code doesn't store path in config
- Minor UI&design changes
- Going "proprietary" again :)
And while sitting at night and thinking all the things also decided to post here (as I'm eventually updating some my topics here, as well as cleaning up from previous "inadequate" I was producing in past conditions sometime).

Still don't know what to do with it further, may be release sources finally as though before, also there was idea to integrate it to PB IDE (but that's even more time takes and currently I'm unable with all my chaos, so just bringing sources might be better. Will see later anyway^^).
// that all jokes about "proprietary", "genuine" of my english.
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
User avatar
jacdelad
Addict
Addict
Posts: 1432
Joined: Wed Feb 03, 2021 12:46 pm
Location: Planet Riesa
Contact:

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by jacdelad »

As a fan of XML dialogues I need to give it a try.
Unfortunately I'm running into limitations from time to time and enhancing the integrated seems not be a sidejob...
PureBasic 6.04/XProfan X4a/Embarcadero RAD Studio 11/Perl 5.2/Python 3.10
Windows 11/Ryzen 5800X/32GB RAM/Radeon 7770 OC/3TB SSD/11TB HDD
Synology DS1821+/36GB RAM/130TB
Synology DS920+/20GB RAM/54TB
Synology DS916+ii/8GB RAM/12TB
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by Lunasole »

Finally posted sources (the link is at the same page where downloads).
But they are without other files, no project file also, and so on (and additionally passed through my newly created tool to "cleanup" code before such releases^^).

Anyway at least something.
There is also still a switch remaining which locked the full version previously, so need do define "#IS_FULL = 1" at compiler constants.

Not much nice, but let it be for now.
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by Lunasole »

There also enough of old code which I was too lazy to improve, etc.
Anyway the file posted can be built and works, so if someone wishes to try, ask for details.

// the idea to place THIS directly to PB IDE code probably is really too much, better leave as a separated tool
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by Lunasole »

del
Last edited by Lunasole on Sun Apr 16, 2023 8:42 pm, edited 1 time in total.
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: DialogDesigner2 — a tool to compose XML dialogs

Post by Lunasole »

One more update.
1.0.1.7
- Fixed XML error when reading broken config file (config routine is outdated anyway)
- Added "margin" param for windows
- Changed icons theme
- Some code review (oh yes that old code really was and still remains far too messy, as it always was just a quick tool, but sometimes I'm changing something^^)
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
Post Reply