Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbar problem...
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00712682
Message ID:
00712694
Views:
11
Hey, that's one more confirmation of my theory :)

>Is it something like:
>
oform.addobject('jbtoolbar1','jbtoolbar')
>oform.jbtoolbar1.dock
>oform.jbtoolbar1.show
>>The toolbar variable goes out of scope. Either make it a form property reference or a global object (defined private in the main program of the project).
>>
>>>Hi all,
>>>
>>>I have a form with
>>>
>>>ShowWindow=0
>>>WindowType=0
>>>
>>>this code call the toolbar in Activate Method
>>>
>>>SET CLASSLIB TO JBTOOLS ADDITIVE
>>>jbtoolbar1=createobject("jbtoolbar")
>>>jbtoolbar.dock()
>>>jbtoolbar.show()
>>>
>>>When run the form the toolbar show and go away..
>>>
>>>Any ideas..
>>>
>>>Thank's in advance
>>>
>>>João Batista
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform