is anyone using the tpages-class creating pages from source ?
I have great problems creating a page control and placing controls on the page. The coordinates (nTop,nLeft,nBottom,nRight) does not seem to be pixel coordinates nor text coordinates.
- Code: Select all Expand view
DEFINE DIALOG oDlg FROM 0, 0 TO 690,910 TITLE 'Event' PIXEL ;
FONT oFnt1 COLOR CLR_BLACK,CLR_HGRAY
oPage := TPages():New(0,0, oDlg:nHeight-20,oDlg:nWidth, oDlg)
the sample above creates a page which is greater than the dialog itself. Why ?
Do I miss something ?
Stefan