SDL dlglib Library queries

Discussions related to the code libraries supplied with BB4W & BBCSDL
DDRM

Re: SDL dlglib Library queries

Post by DDRM »

Hi Kendall,

Of course you can do what you want, as long as it works, but I think the convention for multi-tab dialogue boxes would be that ALL changes implemented (on any tab) would be handled when you click OK on any one of them.

Best wishes,

D
KenDown
Posts: 327
Joined: Wed 04 Apr 2018, 06:36

Re: SDL dlglib Library queries

Post by KenDown »

Yes, I can see that any *changes* might be made for any "OK" button, but ... well, let me illustrate.

Tab 1: various settings which would make changes to the slide. OK implements the changes and closes the edit box.
Tab 2: various settings which decide whether you are going to be drawing a line, placing a circle or a line of text. OK implements your choice, but nothing is actually changed in the slide until you have dragged the text/circle/box/line into position in the slide and clicked.
Tab 3: various settings such as Bible version, Bible book and chapter. OK displays that chapter in the dialog box and you can then select and click on a verse, which is then inserted into the slide.

In other words, in the last two tabs "OK" does not actually change the slide - you have to do something else to change the slide. Saving the changes can only be done from Tab 1. I suppose one could put "Choose" in the button instead of "OK", but that would require a larger button and space in the dialog box is limited.

Anyway, the point is that you can assign any number you wish to an "OK" button. Perhaps there is some automatic functionality which you forego by not using 1, but if so, I do not know what it is.