Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I use combo box in msflexgrid control to accept
Message
 
 
To
24/11/2003 00:34:52
Devrishi Bhogra
Escorts Claas Limited
Faridabad, India
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00852862
Message ID:
00852921
Views:
13
You cannot do that in VFP because VFP controls aren't real windows controls. They are painted by VFP. Because of that an ActiveX control will be always on top of any VFP control.

>Hi there!!
>
>i am trying to use a combobox control in msflexgrid control to accept data from user as explained in MSDN (Q201197) using Visual Basic.
>
>But in Visual Foxpro same trick is not working...Combobox doesn't become visible in visual foxpro.
>
>Can any body guide me, how can i achieve such functionality ?
>
>codes:
>
>*** ActiveX Control Event ***
>WITH thisform
> .Combo1.Width = .MSFlexGrid1.CellWidth
> .Combo1.Left = .MSFlexGrid1.CellLeft + .MSFlexGrid1.Left
> .Combo1.Top = .MSFlexGrid1.CellTop + .MSFlexGrid1.Top
> .Combo1.value = .MSFlexGrid1.Text
> .Combo1.Visible = .t.
>ENDWITH
>
>
>Regards
>Sunny
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform