Image Get and Set Properties
Posted: Sat Sep 24, 2016 1:04 am
Hi Claudio,
I'm sorry to distrubing again. But now after my last experience in sources of my "What displays when no image available?" topic and I've to appoint this observation:
When we use SET CONTROL <Image_Control_Name> OF <Form_Name> CLIENTEDGE, image control size (width and height) is increasing due edge's size. is it normal ?
I test with all internal function to get image's size and figures returns wrong by the reason of image's container are bigger...
I've tried with these 4 options:
BT_BitmapWidth (hBitmap)/BT_BitmapHeight (hBitmap)
IMHO this EDGE's size should it be not be considered as part of control's size.
In short:
Best regards,
I'm sorry to distrubing again. But now after my last experience in sources of my "What displays when no image available?" topic and I've to appoint this observation:
When we use SET CONTROL <Image_Control_Name> OF <Form_Name> CLIENTEDGE, image control size (width and height) is increasing due edge's size. is it normal ?
I test with all internal function to get image's size and figures returns wrong by the reason of image's container are bigger...
I've tried with these 4 options:
BT_BitmapWidth (hBitmap)/BT_BitmapHeight (hBitmap)
- GetProperty(cForm,cControl,"Width")/GetProperty(cForm,cControl,"Height")
- GetWindowWidth()/GetWindowHeight()
- _HMG_SYSDATA [ 31 ]/_HMG_SYSDATA [ 32 ]
IMHO this EDGE's size should it be not be considered as part of control's size.
In short:
- Is it normal to increase the image size when EDGE style is choosen ?
- Is it possible the EDGE's properties not being part as control's size and not interering int width/height of image control ? (not increasing)
Best regards,