Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to show control bound at run-time
Message
 
To
30/01/2006 08:23:07
Lam Hung
Truong Nguyen Co.,Ltd
Ho Chi Minh City, Vietnam
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01091397
Message ID:
01091768
Views:
21
Hi,

> It means, at design time Microsoft Visual Fox view 8 dot arround the control so that we can resize or move it. But It only shows at design time and I want to show it at run-time.

There's no built-in way to simply activate this feature. You rather have to write code yourself to achieve this. One way to accomplish this is to put a transparent container on top of the control. You can change the BorderStyle property to achieve the dotted line effect. Add eight more little shapes as the resize handles. Then add code to the MouseDown, MouseMove and MouseUp event to respond to mouse movements by resizing or moving the control.

The class browser use a similar techology for the splitterbar control. The sources are in the XSource.ZIP file.
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform