Link to home
Start Free TrialLog in
Avatar of JasonC
JasonC

asked on

Property Sheets

How do I add property sheets using delphi, I am having trouble with making the structure of the property sheet.
psztemplate, pResource etc.
I really have no idea what I am doing, can some one give me an example of how to code this, also can I design the property page graphically, this page is to be entered into another application not an active-X control.
Avatar of JimBob091197
JimBob091197

Hi

If you provide your e-mail address I can give you a sample of a property sheet shell extension (if this is what you are looking for).

Cheers,
JB
Avatar of JasonC

ASKER

My Email is jason_coley@xtra.co.nz
Hi Jason

I have mailed the sample to you.

JB
Yo,
how urgent is your request ? I am still working on a property sheet extension for Delphi that is editable in the form designer and does all the hard work for you. It is nearly finished, some events do not work correctly right now (M$ would say Release 2, I would say Beta 3).

Slash/d003303
JomBob,

Would sen it to me too?

my Email : JeanDitBailleulP@usa.net

Thanks
pjdb: I have sent it to you.

Regards,
JB
Hey people, mind to add me to the "mailing list"?

Big thanks!

bosism@netvision.net.il

PS David, have you received what I sent?
Hi Matvey,

Yeah, I received what u sent & mailed you back.  Just been rather busy...  ;-)   I have sent you a short e-mail.

I don't have the sample with me here at home, so I will mail it to you tomorrow, unless one of the others will please mail it to you first.

Cheers,
JB
Avatar of JasonC

ASKER

I also would love to see this extension, jason_coley@xtra.co.nz
Hi all,
so who wants to play beta tester for the extension ?

Slash/d003303
One fresh beta tester ordered... egarson@hotmail.com I would also love JB's sample from someone :)

Regards,
Edo
Avatar of JasonC

ASKER

I will help test the extension

Jason Coley
jason_coley@xtra.co.nz
Hey hook me up with that code too...
flicky@frottage.com
Thanks.  Is a property sheet diferent than a property page?

Heyo there, I'd like to share both things -

d003303, Please send me a copy...

Big thanks in advance!

bosism@netvision.net.il
Matvey & others: Do you all have a copy of my sample yet?

d003303: Please mail me your beta at davekw@iafrica.com.  Thanks.

JB
Am I missing something here? Why can't you use TPageControl of Delphi? It looks quite similar to property sheets.

Sanjay
Hi Sanjay,

Property sheets are used by the Windows 95 shell, e.g. when you right-click on a file & choose "Properties".  With property sheet shell extensions, you can add your own tabs to the property dialog that Windows pops up.

JB
Hi guys,
how's the beta testing ?

Slash/d003303
Thanks for the component!

Actually I thought it's something else, but this one is very cool too!

Haven't tested it much, but so far no bugs.

c u Matvey
D003...I having some problems with this...I've read the readme file.  I was able to install it and even built the sample application but I don't see the sheet that I designed...I did the register ActiveX step but I must be missing something else.  Can you do an all step write up on how to add a prop sheet?
Thanks

Greedy,
the extension shows property sheets in the property dialog of a file. The TPropertySheet object has a property called extension. If this is set, it only displays for this file type. if not, it is displayed for all files. Go in Explorer, right-click a file, say properties, there it is.

Slash/d003303
Speaking of the FileExtension property should it be
*.hth
hth
?
This is what I did.
Opened filetypes.dpr
went to file | new | property sheet
dropped a label on the sheet
set the PropertySheet FileExtention to hth
set the PropertySheet Caption to Test
went to project | compile
went to run | Regester ActiveX server
got message it was successful
open up windows exployer
right clicked on a file name mine.hth
I get two tabs at the top one is named General
and one is named Assosiation

if I go back to Delphi and do a run | unregister ActiveX server it then only has the General tab in exployer.

the other thing that I noticed was that is wasn't just the .hth files that had the assosiation tab it was all my files... do you have any idea were I messed this up?
Thanks
Yo,
this relies in the registration/unregistration. It seems you registered the server once with no extension, then re-registered it with the hth extension.
Remove the hth extension (leave property blank), compile and say unregister ActiveX server. Now it should be gone.

Slash/d003303
ASKER CERTIFIED SOLUTION
Avatar of michaue
michaue

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
JasonC,
did my code help you ?

Slash/d003303
Hey : michaue
Can you please get your Windows95.General ass the hell out of this area...I have viewed your cheesy ass comments and answers and I believe the only reason you have 1 point at all it because people become so enraged with your obsession about the second coming of Christ.
Could I have a copy of the sample code too please.  My e-mail is:

david@orcina.com
Hi - I bought this answer - could you send me a copy of that sample please. My email is: Ivo.Bauer@upce.cz
Avatar of JasonC

ASKER

Is it possible for me to get the latest version to try. I don't know if it will work for me as I am trying to add property pages into exchange/outlook via an addin. Anyway, I'd like to try it again.

Jason Coley
Jason@software-solutions.co.nz