Re: How to add status bar in _screen
From: Fred Taylor (ftaylor_at_mvps.org!REMOVE)
Date: 12/27/04
- Next message: Edhy Rijo: "Re: Invalid Seek Offset continued..."
- Previous message: Aashish Sharma: "Re: Enabling XP Themes in VFP 7"
- In reply to: chuen: "Re: How to add status bar in _screen"
- Next in thread: chuen: "Re: How to add status bar in _screen"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 27 Dec 2004 08:10:17 -0700
OK, then try putting it in a container on a form, and save the container as
a class. Why do you want to do this on _SCREEN, anyways?
--
Fred
Microsoft Visual FoxPro MVP
"chuen" <cnchuen@hotmail.com> wrote in message
news:uuLUU3A7EHA.3908@TK2MSFTNGP12.phx.gbl...
> Hi,Aaron Blacksmith,
> Yes, I see, but if such class is a subclass of ActiveX control, I still
> can't add it into _screen, but I can add it into any form!
>
> I'm not sure whether _screen can't have ActiveX object in it!
>
> Can you tell me yes or no?
>
> Chuen
>
> "Aaron Blacksmith" <aaron@bsm.tv> ????
> news:rPSzd.12101$d5.105727@newsb.telia.net...
>> Open the Controls tab in Tools, Options
>> Make sure that Microsoft Treeview... checkbox is checked
>> Press the Set As Default button
>> Create an empty form
>> In the form controls box, select to view ActiveX controls
>> Select the treeview control and drop it on the form
>> Click on the control on the form
>> File, save as class
>> set classlib to <vcx name>
>> Now you can use the saved class
>>
>> Aaron
>>
>>
>>
>>
>>
>> chuen skrev:
>> > Thank you.
>> > I can't find TV object. I do as what you said, still I can't add .vcx
>> > class(if it's parent from ActiveX) library to _screen.
>> >
>> > Need more of your help!
>> >
>> > Happy new year!
>> >
>> > Chuen
>> >
>> > "Fred Taylor" <ftaylor@mvps.org!REMOVE> дÈëÓʼþ
>> > news:OS1a4G#6EHA.2552@TK2MSFTNGP09.phx.gbl...
>> >
>> >>Sub class the TreeView into a VFP class and save it in a .VCX class
>> >
>> > library.
>> >
>> >>Then you can add that new class to _SCREEN.
>> >>
>> >>You can subclass the TreeView by dropping one on a regular VFP form,
>> >>selecting the TV object and choosing "Save as class" from the File
>> >>menu.
>> >>
>> >>--
>> >>Fred
>> >>Microsoft Visual FoxPro MVP
>> >>
>> >>
>> >>"chuen" <cnchuen@hotmail.com> wrote in message
>> >>news:umHDkM76EHA.3504@TK2MSFTNGP12.phx.gbl...
>> >>If I execute such code:
>> >> _screen.addobject("mytree","olecontrol","mscomctllib.treectrl.2")
>> >>I can get such error message: object class is invalid for this
>> >>container
>> >>
>> >>but no error if execute the following code:
>> >>thisform.addobject("mytree","olecontrol","mscomctllib.treectrl.2")
>> >>
>> >>Can't _Screen have ActiveX controls in it?
>> >>
>> >>Any answer is appriated
>> >>
>> >>
>> >>"chuen" <cnchuen@hotmail.com> дÈëÓʼþ
>> >>news:uHr2pBv6EHA.1564@TK2MSFTNGP09.phx.gbl...
>> >>
>> >>>Hi,
>> >>>First of all, merry Christmas & happy new year!
>> >>>
>> >>>I want to add ActiveX control(such as Microsoft Status bar to
>> >>>_screen),
>> >>>How
>> >>>can I do it?
>> >>>
>> >>>Any ideas?
>> >>>
>> >>>Chuen
>> >>>
>> >>>
>> >>
>> >>
>> >
>> >
>
>
- Next message: Edhy Rijo: "Re: Invalid Seek Offset continued..."
- Previous message: Aashish Sharma: "Re: Enabling XP Themes in VFP 7"
- In reply to: chuen: "Re: How to add status bar in _screen"
- Next in thread: chuen: "Re: How to add status bar in _screen"
- Messages sorted by: [ date ] [ thread ]