TSBrowse v6.13 update now available

User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

Enrico,

>Really? I don't remember...

I was speaking about the work we did quite some time ago to fix the scrollbar, not the recent change that I made to support the ord... functions. This was way back in April 2005.

James
User avatar
Kleyber
Posts: 581
Joined: Tue Oct 11, 2005 11:28 am
Location: São Luiz, Brasil

Post by Kleyber »

Armando,

In TSbrowse there is a class named TSCombo where you can use it. I never had used it, but in SBTest.prg, which comes in the folder SAMPLES of TSbrowse, you can see easily an example.

Best Regards,
Kleyber Derick

FWH / xHb / xDevStudio / SQLLIB
User avatar
Armando
Posts: 2479
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México
Contact:

Post by Armando »

Mr. James, Mr. Enrico and Mr. Kleyber:

Thanks for your help, yes, tsbrowse let us to use a combobox control, I use it in a 16bits app but with 32bits it does not work for me.

BTW, the SBTEST.PRG sample has this code line
oBrw:SetData( 4, ComboWBlock( oBrw, "Reference", 4, aTipo ) )

http://img364.imageshack.us/img364/2585/clip1bm4.jpg
http://img364.imageshack.us/my.php?image=clip1bm4.jpg

Best regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

Armando,

>Thanks for your help, yes, tsbrowse let us to use a combobox control, I use it in a 16bits app but with 32bits it does not work for me.

Are you getting an error? Are you using the same version of FW for both the 32bit and 16bit apps? What version(s) are you using?

Does the SBTEST.PRG show the problem?

James
Gale FORd
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston
Contact:

Post by Gale FORd »

James, I am having trouble creating tsbrowse.lib with xHarbour Builder.

I can create version 7 but as you know there are some scroll problems remaining in that version.
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

Gale,

>James, I am having trouble creating tsbrowse.lib with xHarbour Builder.

I have never used Builder so I can't be of much help. Perhaps if you post the nature of the problem or error, someone else can help.

>I can create version 7 but as you know there are some scroll problems remaining in that version.

I spent many many hours trying to apply my ver 6 fix to version 7 but it was so much changed from ver 6 that I never did succeed.
User avatar
Armando
Posts: 2479
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México
Contact:

Post by Armando »

Friends:

I think that the problem is in the construction of the LIB, I have never been able to construct it without errors.

If somebody has it constructed for xHarbour pls send to me a copy, this is my email

soisa2002@prodigy.net.mx

Best regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

Armando,

>I think that the problem is in the construction of the LIB, I have never been able to construct it without errors.

If you are using Borland C, then did you use the makelib.bat file? If so, what errors are you getting?

If you are using xBuilder, then I can't be of much help.

James
Gale FORd
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston
Contact:

Post by Gale FORd »

Ok, I have it working now.
I have also added the RMDBFCDX rdd.

I also added a couple of options for right click on header like Freeze/Unfreeze and Add/Insert column..

I have also added :lColChanged so I know when to save browse information for user.

I sure could use some of the features in version 7, especially the Pre, Post, and External editing codeblocks

Thanks,
Gale
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

Gale,

>I have also added the RMDBFCDX rdd.

What is that RDD for?

> also added a couple of options for right click on header like Freeze/Unfreeze and Add/Insert column..

>I have also added :lColChanged so I know when to save browse information for user.

If you wish to provide me a copy of your changed version and any documention you think would be useful, I will post the changed version to my website for everyone's access.

>I sure could use some of the features in version 7, especially the Pre, Post, and External editing codeblocks>

I do not see any codeblock vars in ver 7 that look like they might be for those uses. Can you tell me their names? Maybe we can add them to ver 6.

James
User avatar
Kleyber
Posts: 581
Joined: Tue Oct 11, 2005 11:28 am
Location: São Luiz, Brasil

Post by Kleyber »

James,

I've been testing your version of tsbrowse more accurately and I've discovered a (little) problem: When I try to go down to insert a new record, it gives me an error (described below) and I didn't see what it could be (yet!). Can you help me?

Code: Select all

Descrição do erro produzido
________________________________________________________________________________

   Error BASE/1070  Argument error: ==
   Argumentos   :
     [   1] = N   15389375
     [   2] = A   { ... }

Chamadas a Stack
________________________________________________________________________________

   Called from (b)TBRUSH:NEW(0)
   Called from ASCAN(0)
   Called from TBRUSH:NEW(0)
   Called from TSBTNGET:SETCOLOR(2285)
   Called from TGET:NEW(256)
   Called from TSBTNGET:NEW(86)
   Called from TSBROWSE:LEDITCOL(4984)
   Called from TSBROWSE:KEYDOWN(3983)
   Called from TWINDOW:HANDLEEVENT(0)
   Called from TCONTROL:HANDLEEVENT(0)
   Called from TSBROWSE:HANDLEEVENT(8640)
   Called from _FWH(3108)
   Called from DIALOGBOX(0)
   Called from TDIALOG:ACTIVATE(264)
   Called from EDITA(599)
   Called from (b)CADVEN(202)
   Called from TBUTTON:CLICK(0)
   Called from TBUTTON:HANDLEEVENT(0)
   Called from _FWH(3108)
   Called from SENDMESSAGE(0)
   Called from TDIALOG:COMMAND(396)
   Called from TWINDOW:HANDLEEVENT(0)
   Called from TDIALOG:HANDLEEVENT(849)
   Called from DIALOGBOX(0)
   Called from TDIALOG:ACTIVATE(264)
   Called from CADVEN(206)
   Called from (b)MAIN(216)
   Called from TSSAY:LBUTTONUP(422)
   Called from TWINDOW:HANDLEEVENT(0)
   Called from TCONTROL:HANDLEEVENT(0)
   Called from TSSAY:HANDLEEVENT(260)
   Called from _FWH(3108)
   Called from WINRUN(0)
   Called from TWINDOW:ACTIVATE(880)
   Called from MAIN(261)

Best Regards,
Kleyber Derick

FWH / xHb / xDevStudio / SQLLIB
User avatar
Kleyber
Posts: 581
Joined: Tue Oct 11, 2005 11:28 am
Location: São Luiz, Brasil

Post by Kleyber »

James,

I've discovered the problem. Due some private changes I've made in my old tsbrowse.prg. After putting my private changes in your tsbrowse.prg, all is working now.

Best Regards,
Kleyber Derick

FWH / xHb / xDevStudio / SQLLIB
Gale FORd
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston
Contact:

Post by Gale FORd »

James,

The codeblocks are created in tscolumn but show up in tsbrowse.prg also.

bEditing // Block to be evaluated when editing starts
bEditEnd // Block to be evaluated when editing success
bExtEdit // Block for external data edition

RMDBFCDX lets you use bitmap filters like Comix and Six. It also includes Full Text Search functions.

I don't have all of the Language files updated with the additional Menu options but I would be happy to provide you with what I have.

Gale
Post Reply