Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 384
  • Last Modified:

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.
0
JasonC
Asked:
JasonC
  • 6
  • 6
  • 4
  • +8
1 Solution
 
JimBob091197Commented:
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
0
 
JasonCAuthor Commented:
My Email is jason_coley@xtra.co.nz
0
 
JimBob091197Commented:
Hi Jason

I have mailed the sample to you.

JB
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
d003303Commented:
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
0
 
pjdbCommented:
JomBob,

Would sen it to me too?

my Email : JeanDitBailleulP@usa.net

Thanks
0
 
JimBob091197Commented:
pjdb: I have sent it to you.

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

Big thanks!

bosism@netvision.net.il

PS David, have you received what I sent?
0
 
JimBob091197Commented:
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
0
 
JasonCAuthor Commented:
I also would love to see this extension, jason_coley@xtra.co.nz
0
 
d003303Commented:
Hi all,
so who wants to play beta tester for the extension ?

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

Regards,
Edo
0
 
JasonCAuthor Commented:
I will help test the extension

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

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

d003303, Please send me a copy...

Big thanks in advance!

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

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

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

Sanjay
0
 
JimBob091197Commented:
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
0
 
d003303Commented:
Hi guys,
how's the beta testing ?

Slash/d003303
0
 
MatveyCommented:
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
0
 
GreedyCommented:
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

0
 
d003303Commented:
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
0
 
GreedyCommented:
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
0
 
d003303Commented:
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
0
 
michaueCommented:
Please evaluate the question so that it can go out of this area
0
 
d003303Commented:
JasonC,
did my code help you ?

Slash/d003303
0
 
GreedyCommented:
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.
0
 
davidheffernanCommented:
Could I have a copy of the sample code too please.  My e-mail is:

david@orcina.com
0
 
ivobauerCommented:
Hi - I bought this answer - could you send me a copy of that sample please. My email is: Ivo.Bauer@upce.cz
0
 
JasonCAuthor Commented:
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
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 6
  • 6
  • 4
  • +8
Tackle projects and never again get stuck behind a technical roadblock.
Join Now