mmmm Que pasa si haces esto: | popup | popup := self buildRenderModeMenu. popup showIn: view position: tool screenRectangle bottomLeft. self topShell invalidate. <----------- Agrega eso que causa llamar al queryCommand: ^0. Tiro para ver si le pego, nunca me paso eso, tendria que tratar de reproducirlo y ver.
Saludos GallegO 2009/8/28 Jose Gregoris <[email protected]> > Hola Gente > > Agregue a mi toolbar un ToolbarIconBotton con estilo isDropdownStyle > luego le puse al Shell un #onDropDown: así: > > TV3DShell>>onDropDown: tool > "Private - The receiver's toolbar has sent a notification that one of > the forward/back buttons' drop-down arrow has been pressed. > Generate and pop-up the render mode menus." > > | popup | > popup := self buildRenderModeMenu. > popup showIn: view position: tool screenRectangle bottomLeft. > ^0. > > Y en el onViewOpened puse lo necesario para que funcione, así: > > TV3DShell >>onViewOpened > > .... > toolbar := self view viewNamed: 'TV3DToolsBar'. > toolbar presenterConnectionPoint > when: #dropDown: > send: #onDropDown: > to: self. > .. > > El problema que se generó, es que el menuBar del Shell, se desactiva cuando > selecciono algo del ToolbarIconBotton o si intento usar el Menu !!! > > Alguna idea de porque pasa esto ? > En la captura se ve bien claro lo que pasa . > > SAludos kiko > > ------------------------------ > > Encontra las mejores recetas con Yahoo! Cocina. > http://ar.mujer.yahoo.com/cocina/> > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] http://www.clubSmalltalk.org -~----------~----~----~----~------~----~------~--~---
