I'm very impress with TXBrowse but I've used TWbrowse from Resource?
How can I replace TWbrowse from resource with TXBrowse?
If it's possible, could I have an example pls.
Regards,
Dutch
Test DIALOG DISCARDABLE 39, 40, 429, 272
STYLE WS_POPUP|WS_CAPTION|WS_SYSMENU
CAPTION "Test"
FONT 8, "Verdana"
BEGIN
CONTROL "", 110, "TOutLook2003", 0x00800000, 3, 4, 111, 250
CONTROL "Exit", 1001, "Button", WS_TABSTOP, 381, 234, 45, 20
CONTROL "", 1000, "msctls_progress32", 0x00000000, 120, 238, 255, 16
CONTROL "", 5000, "TXBrowse", WS_TABSTOP, 120, 6, 306, 224
END
DEFINE DIALOG oDlg RESOURCE "Test"
....
::oBrw := TXBrowse():New( oDlg )
....
::oBrw:CreateFromResource( 5000 )
dutch wrote:Dear StefanHaupt,
In xbrowse.ch is not including REDEFINE command.
Have you done the transalator command for REDEFINE? or I have to do by ourselve.
Dutch
@ 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
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 52 guests