New revision of class TSBrowse with some bug fixed and contributions of users dated 13/02/2008.
You can find it in:
www.respuestasintegradas.blogspot.com
@1,1 Browse oUserBrw Alias "User" ;
COLORS CLR_BLACK, CLR_NBLUE ;
ON DBLCLICK (::EditUser (.F.),oUserBrw:Refresh());
FONT oFont ;
OF ::oUserWnd
DEFINE WINDOW ::oSoftWnd MDICHILD ;
FROM 0.5,1 TO 29,84 ;
TITLE "MSDNaa Softwareliste" ;
OF ::oWnd
@1,1 FOLDER oFld;
ITEMS "&Operating Systems", "&Application", "&Servers","&Development","&SDK,DDK" ;
FONT oFont;
OF ::oSoftWnd
::oSoftWnd:oClient := oFld
oSoftBrw[1] := ::MakeBrowse (oFld:aDialogs[1], oFont,{ CLR_WHITE, CLR_NGREEN }, "Ope")
......
//-----------------------------------------------------------------------
METHOD MakeBrowse (oDlg, oFont,aColor,cFilter) CLASS TMsdn
LOCAL oBrw
@1,1 Browse oBrw Alias "Software" ;
;//COLORS CLR_BLACK, CLR_NBLUE ;
ON DBLCLICK (::EditSoft (.F.),oBrw:DrawSelect());
;//Select SubStr (FIELD->Kategorie,1,3) FOR (cFilter);
FONT oFont;
OF oDlg
ADD COLUMN TO oBrw Header "Kategorie";
DATA FieldWBlock ("Kategorie",Select());
SIZE 95
//::oSoftWnd:SetControl(oSoftBrw[1])
oDlg:oClient := oBrw
When create the library are you linking the corresponding language program? They are at \TSBrowse\Source\Classes\LangStefanHaupt wrote:I have another error, if I try to use TsBrowse in a folder defined from source inside a mdi window
Does this error persist in this (V8 Pre-Release) version?StefanHaupt wrote:I get an error using this command (working with V6)
mmercado wrote:When create the library are you linking the corresponding language program? They are at \TSBrowse\Source\Classes\LangStefanHaupt wrote:I have another error, if I try to use TsBrowse in a folder defined from source inside a mdi window
Does this error persist in this (V8 Pre-Release) version?StefanHaupt wrote:I get an error using this command (working with V6)
Ok I just checked, it's a bug now corrected.StefanHaupt wrote:Yes, the language modul is linked in.
You may be using a prior version of TSBrowse.ch, try the new one in \TSBrowse\Include of this new version.StefanHaupt wrote:Yes, it´s in the latest version that is available.
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_HB_FUN_ROWFROMPIX' referenced from E:\FWH802\LIB\SBROWSEX1.1.0.LIB|Tsbrowse
Error: Unresolved external '_HB_FUN_COUNTROWS' referenced from E:\FWH802\LIB\SBROWSEX1.1.0.LIB|Tsbrowse
Error: Unresolved external '_HB_FUN_TSBRWSCROLL' referenced from E:\FWH802\LIB\SBROWSEX1.1.0.LIB|Tsbrowse
Error: Unresolved external '_HB_FUN_SBGETHEIGHT' referenced from E:\FWH802\LIB\SBROWSEX1.1.0.LIB|Tscolumn
Error: Unresolved external '_HB_FUN_SBMPHEIGHT' referenced from E:\FWH802\LIB\SBROWSEX1.1.0.LIB|Tsbrowse
Error: Unresolved external '_HB_FUN_TSDRAWCELL' referenced from E:\FWH802\LIB\SBROWSEX1.1.0.LIB|Tsbrowse
mmercado wrote:I'll try to upload corrected files today, anyway if you want, give me your email to send it directly to you.
Manuel Mercado
nageswaragunupudi wrote:Mr Klyber
These functions are in TSBFUNCS.C. You need to compile this c module with -d__HARBOUR__ and add the obj to your lib.
Kleyber wrote:Sorry, but even puttin the -d__HARBOUR__ in the creation of the lib, all the errors are appearing again.
mmercado wrote:Ok I just checked, it's a bug now corrected.
mmercado wrote:
You may be using a prior version of TSBrowse.ch, try the new one in \TSBrowse\Include of this new version.
mmercado wrote:I'll try to upload corrected files today, anyway if you want, give me your email to send it directly to you.
mmercado wrote:Hello Kleyber:Kleyber wrote:Sorry, but even puttin the -d__HARBOUR__ in the creation of the lib, all the errors are appearing again.
Here you are the modules you have to compile and link:
\TSBROWSE\SOURCE\CLASSES\TSBROWSE.PRG
\TSBROWSE\SOURCE\CLASSES\TSCOLUMN.PRG
\TSBROWSE\SOURCE\CLASSES\TSGET.PRG
\TSBROWSE\SOURCE\CLASSES\TSFGET.PRG
\TSBROWSE\SOURCE\CLASSES\TSMULTI.PRG
\TSBROWSE\SOURCE\CLASSES\TSCOMBO.PRG
\TSBROWSE\SOURCE\CLASSES\TSPOINT.PRG
\TSBROWSE\SOURCE\CLASSES\BTNDOWN.PRG
\TSBROWSE\SOURCE\CLASSES\LANG\SBMSGPOR.PRG
\TSBROWSE\SOURCE\CLASSES\TSBTNGET.PRG
\TSBROWSE\SOURCE\FUNCTION\TSBFUNCS.C ***
\TSBROWSE\SOURCE\FUNCTION\GETBTN.C
*** missing
Best regards.
Manuel Mercado
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: SantaCroya and 76 guests