Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Old toolbar still shows up
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00537351
Message ID:
00537415
Views:
15
>Sorry, wasn't sure how to begin describing this. I have a custom toolbar that I was calling from the Init method of a formset with 'ThisFormSet.toolbarname.Dock(0)'. I have "This.Dock(0)' in the Init code of the toolbar named in the above statement. The problem is, I changed the base custom class of the toolbar and now both the old and the new toolbars show up docked on the formset. This happens in the app and the exe.

Try getting rid of the this.dock(0) call in the Init method of the parent and the subclassed toolbar object and try calling .dock() once from the formset. You are getting two instances of the toolbar object by creating a reference to the object.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform