Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Turn off scroll bars in a listbox
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00439631
Message ID:
00439760
Views:
17
> No, shapes cannot provide good covering of other controls. Only putting control into container does this well. This does not work, however, for some ActiveX controls, for example, TeeChart control will always be shown completely despite any effors to cut off it (it also shown always despite page in pageframe with such object is inactive).
>

What problems are you referring to?
If you run this sample you can see that there are no any problems with the listbox covered with a shape.
ActiveX controls is another story, they are always on top as they are separate windows.
**************************************************
DEFINE CLASS form1 AS form


	DoCreate = .T.
	Caption = "Form1"
	Name = "Form1"


	ADD OBJECT list1 AS listbox WITH ;
		RowSourceType = 1, ;
		RowSource = "one,two,three,four,five", ;
		Height = 181, ;
		Left = 96, ;
		Top = 48, ;
		Width = 157, ;
		Name = "List1"


	ADD OBJECT shape1 AS shape WITH ;
		Top = 36, ;
		Left = 235, ;
		Height = 205, ;
		Width = 37, ;
		BorderStyle = 0, ;
		Name = "Shape1"


ENDDEFINE
*
*-- EndDefine: form1
**************************************************
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform