Difference between fgl_winbutton() and fgl_winquestion()
Posted in 2004
Topics: General Discussion
Could anyone please explain me about the difference between fgl_winbutton() and fgl_winquestion(). I think I miss something.... fgl_winbutton(title, text, default, buttons, icon, danger) - title Title of the box. - text Text of the question (\\n stands for new line). - default Default button selected. - buttons List of values separated by the pipe character (|). - icon Name of the icon to be used in the dialog box. - danger Number of the warning item: a skull with crossbones appears each time the pointer enters the corresponding button (on X11 only). and fgl_winquestion(title, text, default_value, possible_values, icon, danger) - title Title of the dialog box. - text Text of the question (\\n stands for new line). - default_value Answer on which the focus has to be positioned. - possible_values List of values separated by the pipe character (|). - icon Name of the icon to be used in the dialog box. - danger Number of the warning item: a skull with crossbones appears each time the pointer enters the corresponding button (on X11 only). Thanks Hubert
Hubert Hoelzl wrote: > Could anyone please explain me about the difference between > fgl_winbutton() and fgl_winquestion(). I think I miss something.... > > fgl_winbutton(title, text, default, buttons, icon, danger) > - title Title of the box. > - text Text of the question (\\n stands for new line). > - default Default button selected. > - buttons List of values separated by the pipe character (|). > - icon Name of the icon to be used in the dialog box. > - danger Number of the warning item: a skull with crossbones appears > each time the pointer enters the corresponding button (on X11 only). > > and > > fgl_winquestion(title, text, default_value, possible_values, icon, > danger) > > - title Title of the dialog box. > - text Text of the question (\\n stands for new line). > - default_value Answer on which the focus has to be positioned. > - possible_values List of values separated by the pipe character (|). > - icon Name of the icon to be used in the dialog box. > - danger Number of the warning item: a skull with crossbones > appears each time the pointer enters the corresponding > button (on X11 only). Dredging silted up bits of memory... Isn't it something to do with the symbology on the popped up window, such as the fgl_winquestion() window has a question mark on it and the fgl_winbutton() window does not? You can obtain the PDF manuals from http://www.ibm.com/software/data/informix/library and following the links to manuals. The information in the (v2.1) manual says: fgl_winbutton: This function displays an interactive box in a separate window with all possible answers in a menu. fgl_winquestion: This function opens a dialog box with all possible answers in a menu. In practice, it doesn't look like there is much difference; it may be that one is an older name for the same function...? -- Jonathan Leffler #include <disclaimer.h> Email: jleffler@earthlink.net, jleffler@us.ibm.com Guardian of DBD::Informix v2003.04 -- http://dbi.perl.org/