![]() ![]() This one follows the LR instructions (Listbox. I confirm what you said: pressing Return close the MsgBox, but the Listbox also trap that Return and display another MsgBox as nauseam. The Inspector for a Message Box can be used to change the Message, Title, Left Button and Right Button properties. Type - You specify the type in the Inspector to indicate how the web dialog displays. The type can be Sheet, Palette or Modal.lose - Call the Close method in a web dialog dismisses the dialog and calls its Dismissed event handler. Usage The easiest way to use a Message Box is to drag it from the Library onto the Layout. Xojo msgbox code Remember, web dialogs do not cause your code to wait until the dialog is closed. Show - This displays the Message Box on the screen. The window have only the Listbox, and the two arrow keys works fine. Methods Buttons - These are the buttons to display. I used this code (and nothing in KeyDown): What the Return True in MouseDown is meant to do ? ![]() You do not have a PushButton that have the Default behavior ? I do not understand how that can come. With the exception of simple message boxes, you should use the MessageDialog, WebDialog or MobileMessageBox classes instead. ![]() I have some things to do (right now), and I will make other testings in a brand new project (instead of a code addition to an existing project).ĮxpandRow: I would use these keys too (Enter AND Return). MessageBox Xojo documentation User interface MessageBox Method MessageBox Description Displays message box showing the String passed. I understand the test part, but after your descripton, I do not understand. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |