Actually you can use the same command for resources also like this:
Code:
@ 0,0 XBROWSE FIELDS <fileds> HEADERS <headers,...> PIXEL OF oDllg ALIAS <alias>
< your other code for other xbrowse set up if any >
oBrw:CreateFromResource( <ID> ) // instead of oBrw:CreateFromCode()
// do not use oDlg:oClient := oBrw
ACTIVATE DIALOG oDlg CETNERED
When you use oBrw:CreateFromResource( <ID> ) the @ <row>,<col> are ignored. You have to use CreateFromResource( <ID> ) after all your other code speicifications for your xbrowse.
It has strange behavier as
- GoDown() after bottom line will show the data from the line before bottom line but it's ok when put bChange := {|| oBrw:Refresh() }
- ON DBLCLIK is not working but it's ok when use oBrw:bLDblClick := {||..}
Regards,
Dutch