From: Pascal <pb...@oi...> - 2001-02-22 07:40:15
|
you are aware of the popup menu right? use a toolbar with a button.. when the button is pressed display the popup.. just an idea. Pascal Bestebroer (pb...@oi...) Software ontwikkelaar Oberon Informatiesystemen b.v. http://www.oibv.com > -----Oorspronkelijk bericht----- > Van: dyn...@li... > [mailto:dyn...@li...]Namens Ken Ono > Verzonden: donderdag 22 februari 2001 8:32 > Aan: dyn...@li... > Onderwerp: RE: [Dynapi-Widgetdev] Pulldown menu widget (1st attempt > failed) > > > I've changed my approach. Instead of trying to extend CoreButton and > CoreToolBar, i copied the code and changed it. This seem to be going > better. > > Don't waste your time looking at this. > > Thanks anyways. > > Ken > > > > -----Original Message----- > > From: dyn...@li... > > [mailto:dyn...@li...]On > Behalf Of Ken > > Ono > > Sent: Wednesday, February 21, 2001 12:54 PM > > To: dyn...@li... > > Subject: [Dynapi-Widgetdev] Pulldown menu widget (1st > attempt failed) > > > > > > Hello, > > > > Attached is my first attempt at creating a pulldown menu > widget. Any help > > would be greatly appreciated. > > > > My approach was to build the pulldown menus as a series of > toolbars and > > buttons. I attempted to extend CoreToolBar and CoreButton. > The code > > currently simply creates the buttons and tools bars. Event > handling stuff > > is not present. > > > > Anyway, addChild is complaining about something. I'm doing > > something wrong > > (hopefully not too stupid) and I'm now i'm starting to step > > through reams of > > dynlayer code and I bet it's something an expert can answer quickly. > > > > I also ran into a null reference problem. On line 155 of > > dynlayer.js of the > > 01-25 release, child.css was null. Could be a symptom, but > in any event I > > changed it (without an understanding of what's going on) to the > > following to > > get to the next problem. > > > > if (child.z!=null && child.css!=null) child.css.zIndex=child.z; > > > > BTW, is anybody else developing a pulldown menu widget? > > > > Regards, > > > > Ken > > > > > _______________________________________________ > Dynapi-Widgetdev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-widgetdev > |