Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Form Location with do form and objects
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00397220
Message ID:
00397330
Views:
8
>I would like a form to pup up under a employee code field.
>Like a search window.
>
>All my forms are auto centre and some code fields are on page frames and some are on basic forms.
>
>My question is how do i get the form to pop up under the code field regardless of the objects location and class hierarchy.
>

The control has a Top and a Left property; this.Top + this.Height + some constant depending on styles and unit of measure should be the Top for the new form, and this.Left should be the Form's Left. Start your 'popup form with Visible = .F., pass the new Top and Left as parameters to the Form's Init, adjust the Form's Top and Left properties, and then make it visible.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform