A lot of missing documentation about dialogs

Everything else that doesn't fall into one of the other PB categories.
User avatar
jacdelad
Addict
Addict
Posts: 2010
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

A lot of missing documentation about dialogs

Post by jacdelad »

Hi,
as I wrote some time ago in other threads, I found the dialog library and am using it in nearly all my projects now (very convenient).
Today I downloaded the PureBasic IDE source and sniffed through the files. I found the xml files with the dialog definitions and found a lot of commands which are not mentioned in the help:
<compiler ...>, <shortcut ...>, <item ...> with "sublevel" for trees, the tag "lang=", how to insert comments...

So, is this a PureBasic-only thing or something "official" which is used in other languages too? Is there a full definition of its capabilities?
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
User avatar
Lunasole
Addict
Addict
Posts: 1091
Joined: Mon Oct 26, 2015 2:55 am
Location: UA
Contact:

Re: A lot of missing documentation about dialogs

Post by Lunasole »

jacdelad wrote: Thu Feb 23, 2023 10:01 pm Hi,
as I wrote some time ago in other threads, I found the dialog library and am using it in nearly all my projects now (very convenient).
Today I downloaded the PureBasic IDE source and sniffed through the files. I found the xml files with the dialog definitions and found a lot of commands which are not mentioned in the help:
<compiler ...>, <shortcut ...>, <item ...> with "sublevel" for trees, the tag "lang=", how to insert comments...

So, is this a PureBasic-only thing or something "official" which is used in other languages too? Is there a full definition of its capabilities?
I guess what you found in IDE sources, is dialog compiler which "compiles" XML dialogs to PB sources in this case.
The dialogs on Windows for example are implemented at OS API level, PB uses this API (so yes dialogs are like "official", but not much often used in other software now).
I'm also using them almost everywhere with PB (and have made editor specially for that), a good thing of course.
These tags looks like are custom and used in that dialog compiler only.
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
User avatar
jacdelad
Addict
Addict
Posts: 2010
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: A lot of missing documentation about dialogs

Post by jacdelad »

Ah ok, thanks for explaining. That's...very unfortunate. I was hoping for more functions in the dialog library.
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
Post Reply