Board index » cppbuilder » Id like to create a dialog box propertie

Id like to create a dialog box propertie


2004-01-10 01:38:40 AM
cppbuilder111
Hi, to load an image into a pointer type TPicture or TBitmap, I need to
Create a propertie that's written width a TOpenPictureDialog...
I have no ideia how it's done...
best regards
anibal|fernandes
 
 

Re:Id like to create a dialog box propertie

"Andr?Brás" <andre@trigenius*no-spam*.pt>wrote in message
Quote
Hi, to load an image into a pointer type TPicture or TBitmap,
I need to Create a propertie that's written width a TOpenPictureDialog...
Like its sibling component TOpenDialog, TOpenPictureDialog is only meant to
be used for obtaining a filename, nothing else. To load the file into a
TBitmap afterwards, simply pass the filename to the TBitmap's LoadFromFile()
method.
Gambit