Page 1 of 1
DialogLib: <compiler if="#Constant">
Posted: Sun Feb 02, 2020 11:05 pm
by Sicro
Just found it. It is an undocumented feature, but it is certainly very useful to be official and documented.
Code: Select all
<compiler if="#Constant">
...
<compilerelse/>
...
</compiler>
Source:
PureBasicIDE/dialogs/Preferences.xml
Re: DialogLib: <compiler if="#Constant">
Posted: Sun Feb 02, 2020 11:31 pm
by Kiffi
Thank you for this hint, Sicro!
Greetings ... Peter
Re: DialogLib: <compiler if="#Constant">
Posted: Mon Feb 03, 2020 12:16 am
by freak
The IDE does not use the Dialog library. It has its own (older and a little different) dialog manager code.
Re: DialogLib: <compiler if="#Constant">
Posted: Mon Feb 03, 2020 10:36 am
by Fred
Yes it's not available in the PB dialog lib for now
Re: DialogLib: <compiler if="#Constant">
Posted: Mon Feb 03, 2020 6:51 pm
by Sicro
I strongly assumed that the DialogLib is used here and therefore didn't test it before (sorry, @Kiffi).
It would be nice if the DialogLib would support it as well.
Re: DialogLib: <compiler if="#Constant">
Posted: Mon Feb 03, 2020 7:24 pm
by Kiffi
no problem, @Sicro!