Hi all.
I read on 3.20.05 compiler stdout ... "The 'fgl_winbutton()' function is supported for backward compatibility".
Then I found inside documentation ... "This function is provided for backward compatibility, use a menu with "dialog" style instead."
In my opinion the fgl_winbutton() function is much much powerful then e menu with "dialog" style.
Indeed it have an abstraction level unmatched by any kind of menu statement.
Think for instance to a such program fragment ...
IF upshift(fgl_winbutton(" ", "What do you want to do ?", "Nothing", "Breakfast|Lunch|Dinner|Just Drink|Nothing", "question", 0)) = "BREAKFAST" THEN ...
This allow the developer to show a powerful dialog just in one program row.
Several different fgl_winbutton() inside a program flow make very easy and fast write and maintain this kind of program logic.
Now imagine to change all this with several menus with "dialog" style: it is simply a drama because the MENU is unable to reproduce this kind of logic: it is static.
You need several functions each with an hardcoded menu to reproduce this kind of logic.
May be you could try to create a dynamic dialog to do something of similar, but at which cost ?
So, a MENU is not al alternative to FGL_WINBUTTON(), and I ask you to change your mind on that.
Does someone else agree with me on that, or am I wrong ?
Kind regards.
Enrico