Page 1 of 1

A lot of missing documentation about dialogs

Posted: Thu Feb 23, 2023 10:01 pm
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?

Re: A lot of missing documentation about dialogs

Posted: Thu Feb 23, 2023 11:07 pm
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.

Re: A lot of missing documentation about dialogs

Posted: Thu Feb 23, 2023 11:21 pm
by jacdelad
Ah ok, thanks for explaining. That's...very unfortunate. I was hoping for more functions in the dialog library.