User Profile
Collapse
-
Thank you. I now understand what is going on here. -
Thanks for your quick response.
In the line
I tried alt c without success. Which keyboard shortcut would you guess.Code:file_menu.append(DIALOGS_CHOOSE_COLOUR, "&Choose colour")
cntrl c closed the window.
This line is from the dialogs.rb sample distributed with wxruby 1.9.2.
I could include the full code, but don't think it necessary since it executes well and I understand...Leave a comment:
-
What does the & (ampersand) inside the string do?
In the wxruby samples there is a file called dialogs.rb.
When setting up the menu on the windows a bunch of lines of the form
file_menu_appen d (DIALOGS_CHOOSE _COLOR, "&Choose colour")
exist. What does the ampersand inside the string do?
Ann
No activity results to display
Show More
Leave a comment: