streching timage control in dialog
Posted: Wed Jan 25, 2006 4:13 pm
Hi.
I have a dialog from resources with a single control in it. It is an timage control:
DEFINE DIALOG oDlg NAME "ViewImage" TITLE "View scanned image dialog window" of oOwner
oImage := tImage():Redefine( 101,, ImgRoot + oLbx:aArrayData[ oLbx:nArrayAt, 5 ], oDlg,,, .t. )
The dialog is resizeable. I'd like for the timage control to resize when ever the container-dialog is resized.
Any ideas?
thank you,
Reinaldo Crespo-Bazán
I have a dialog from resources with a single control in it. It is an timage control:
DEFINE DIALOG oDlg NAME "ViewImage" TITLE "View scanned image dialog window" of oOwner
oImage := tImage():Redefine( 101,, ImgRoot + oLbx:aArrayData[ oLbx:nArrayAt, 5 ], oDlg,,, .t. )
The dialog is resizeable. I'd like for the timage control to resize when ever the container-dialog is resized.
Any ideas?
thank you,
Reinaldo Crespo-Bazán