Ed Leafe wrote: > On Feb 28, 2009, at 8:21 PM, Frank Cazabon wrote: > > >> I created a form as in the tutorial and tried to give the buttons I >> created a hot key by setting the caption to a value like "&Cancel". >> > > Generally, it's best not to use the Caption to bind keys; Dabo is > designed to be cross-platform, and that doesn't always work well. > Instead, you can use the bindKey() method of UI objects to bind your > hotkey to a particular action. > > Thanks Ed,
I'll see if I can understand how bindKey() works. How do I provide the visual clue that the user knows the hot key is available? >> As an aside, is the only way to re-open a form in the class designer >> to >> pass the path and name of the form to the class designer when starting >> it up, or is there an easier way? (I've been spoilt by the ease of >> use >> of GUIs so going back to text driven commands is not appealing.) :) >> > > python the/path/to/ide/ClassDesigner.py path/to/MyForm.cdxml > > I'll take that as a "no" then :) > > -- Ed Leafe > > > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
