No worries, I understand exactly what you mean.ChrisR wrote: ↑Fri Nov 18, 2022 11:58 pm But I didn't do it, like 90% of the guys. I didn't go through the 10 pages of the topic either
My feedbacks are in no way negative, it's not me otherwise, they are constructive even if I mess up.
I had seen the option "Save Names/IDs to additional file", but I didn't know what it meant. Without seeing the link with saving in a ready to use *.pb file.
Good that the option is already there since a long time
I thought pretty long about how to integrate that functionality as intuitive AND as flexible as possible.
Sure, I could have named it simply "save pbi source code also", but DD is not only used for purebasic!
The main purpose was the flexibility.
I sometimes (for bigger projects) add the dialog.xml and don't need any additional source code to integrate
Then, for smaller projects, I simply add the created *.pbi and I'm done.
There are also projects, where I don't need the dialog being integrated in the *.pbi file, but are using it only to be sure, all constants have been perfectly defined.
But all that is project dependant, so, whenever I have to change something in that dialog, I want DD to KNOW already, how it should be handled this time.
And since DD doesn't store anything else, I had to integrate that info into the xml itself.
Therefore, the dialogs own settings are always set in the preferences of the dialog element.
Whereas your prefered settings (used, whenever you start a new dialog) are stored in DDs preferences.
It is not that intuitive, I agree, but I thought if users got that once, they know it forever.
Therefore I accepted that workflow.
The shortcuts (F7...F9) are for advanced users only (I rarely need them myself).ChrisR wrote: ↑Fri Nov 18, 2022 11:58 pm For "Show XML in the Editor (F7)" as part of the "Advanced Tool (F12)", I had seen it and used.
My request was to have a direct access, via a toolbar button, to access it directly without going through "Advanced Tool". As written in the help file, this might be the most interesting functionality. Also F7, F8, F9 shortcuts does not work here unless I use it wrong.
And they are part of the Advanced TOOL dialog (only), which you can open with F12, or the icon on the top right of DD
In the Advanced Tool Dialog, there are also already the toolbar icons (o.k. they are at the bottom, not on top) you are looking for.
The error here is, that F7...F9 are bind to the main dialog, that is irritating and wrong, I'll fix it.
Until then, please use the toolbar buttons of the Advanced Tool.
No, because, frankly speaking, I didn't understand it
The problem here is:
When you delete the <hbox> all children will be deleted, which means, what you've copied previously is no longer there.
You have two possibilities:
1.) create a new window, and move the panel to that (deleting the first one)
2.) use the advanced tools, open with F12, press F7 (which doesn't work for now, so press imagebutton "Show XML in the Editor (F7)"), remove the hbox element, and press the icon on the right of the tool box (load back into dd)
Just for your information, the templates are completely flexible!
There is also a template editor, so just change it to your needs.
In that case here (using names), I simply wanted to make sure, that all Gadgetnames are defined somewhere, to have a list (like an enumeration of constants), where you can see quickly, which names are defined.
Remember: the dialog is not always part of that *.pbi file, you maybe can't look into the dialog itself here!
And constants do not need any resources!
Another advantage is, you can use PureBasics auto-complete functionality with those constants, in case you forgot how an item is named.
(Which only makes sense, if they have meaningful names, not like button_1, text_2, ...)
Great!hoangdiemtinh wrote: ↑Sat Nov 19, 2022 8:59 am @Hex0r,
I translated to Vietnamese Language. Please add into the next your release.
Thank you so much!
It will be integrated in the upcoming release!