Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a 'Free-Form' Control
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00242519
Message ID:
00242559
Views:
26
>Hi Jon
>
>>Well, I've created a Calcualtor & a Calender Control, which currently drop down from a TextControl, but they get cut off if the form is too short, I put a certain amount of intelligence in to move the Calc or Calender a bit, but I'd prefer to be able to have them Float above the Form, so they are always visible, just like the Window of the Common Dialog.
>
>Well, create a form class with the Calender or Calc on it make the AlwaysOnTop true then in the where ever you want to see your control in your original form put:
>
>
This.oCalender=CREATEOBJECT('TheNameOfYourClass')
>Will that work?

Mike,

That sort of works, it's calling my Control Class which is great, but then I get an error saying one of my Item Memebers isn't a Member, (in this case my Textbox for the Calculator display), and when I check the Item list for the My Control, it only shows the CommmandGroup I used for the buttons, yet if I open the class, it's all there?
Aaron Young
Red Wing Software, Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform