高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】are odgsviewfieldwidth90 and odgsviewfieldheight90 ok
are odgsview::fieldwidth() and odgsview::fieldheight() ok?
are odgsview::fieldwidth() and odgsview::fieldheight() ok?
it seems to me that the fieldheight() method returns the actual width and fieldwidth() method returns the height?
sorry if it is me that has the error and the software is ok.
i just want to know if someone else has similar problem?
regards
chudomir
i made my window very wide ...and my height very small and ran
const odgsview* pfrom = m_pdevice->viewat( 0 );
double ht = pfrom->fieldheight();
double wd = pfrom->fieldwidth();
with results of
width: 76.170731707317
height: 9.0
thank you for your reply.
now i receive the actual view width and height by other way; may be its my problem with onsize or similar. anyway, sorry if losed your time.
best regards
chudomir
|