Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sedna DBI-tech control problems
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01413493
Message ID:
01413648
Views:
75
>DBI-tech will not provide support for the 8 controls they give as part of Sedna after 30 days unless you buy another product. So I am hoping somebody here has some answers.
>
>1. In the ctToolBar control when creating a menu, I know there is a way to have the cut/copy/paste menu options become enabled/disabled at the appropriate times, like the native VFP menus do. Anyone know how to do that?
>
>2. In the ctToolBar control, in the itemclick method, I have, per the help file:
>
>DETAILS: In the itemclick method I have:
>
>*** ActiveX Control Event ***
>LPARAMETERS nitem, barrow
>this.ItemEnabled(nitem) = .f.
>
>
>However the item does not become disabled.
>
>
>3. In the ctFrame control container, I added textboxes. I can tab to the textboxes and/or programatically interact with them, but the mouse cannot be used over the container to click on/select a textbox. It is as if the mouse is dead over the ctFrame area, but fine outside of it.
>
>Any help appreciated, thanks.

2. I use this control in my regular framework, but what you are describing is not the standard behavior of that control. In the itemclick event I have for example:
Do Case
	Case nitem = 1
		Go Top
		Skip 1
		Wait Window Nowait 'Début du fichier'
		Thisform.dobeforeinit()
		Thisform.tbrinform1.ItemEnabled(1)=.F.
		Thisform.tbrinform1.ItemEnabled(2)=.F.
		Thisform.tbrinform1.ItemEnabled(3)=.T.
		Thisform.tbrinform1.ItemEnabled(4)=.T.
seems to work for me. Have you check you parameter? Do forget seperators add another nItem number.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform