OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: leo9 on September 16, 2016, 06:00:15 AM

Title: Displaying bitmaps without pre-importing them
Post by: leo9 on September 16, 2016, 06:00:15 AM
Hi,

I am just working on my first dialog in OpenDCL.

I need to show a list of bitmaps in a folder and then display the selected bitmap.  I have tried the Picture Box but that requires the bitmaps to be pre-loaded via the Picture Folder button.

How can I display a bitmap without pre-loading it?

Thanks
Title: Re: Displaying bitmaps without pre-importing them
Post by: roy_043 on September 16, 2016, 07:33:50 AM
(dcl-PictureBox-LoadPictureFile <CONTROL> Filename [as String] {Stretch [as Boolean]})
Title: Re: Displaying bitmaps without pre-importing them
Post by: leo9 on September 16, 2016, 10:40:10 AM
Thanks roy_043, that did the trick.