Prev: SQLSERVER SqlListTables
Next: Linear Owner Alignment
From: Darmadi on 28 Nov 2009 01:53 Hi to all, I just bought bBrowser 3, I want to know if I could do something like ListView:AddItem() So I could manually create a ListViewItem then I add to ListView... Regards, Darmadi
From: Stephen Quinn on 28 Nov 2009 02:12 Darmadi SubClass bBrwoser and create the new method. Eg MyBB3 INHERIT bBrowser3 METHOD AddItem( ???? ) Clas MyBB3 // Do whatever > So I could manually create a ListViewItem then I add to ListView... I don't know if BB3 supports ListView Items though CYA Steve
From: Darmadi on 28 Nov 2009 04:40 Thanks Steve, But as far as I know, bBrowser need dataserver or arrayserver to be assign to bBrowser. That mean, if I create a method, then I need to create an array, then assign to bBrowser. I have a problem when query a big data (I'm using DBF), then create an arrayserver, afterward assign to bBrowser, that will use a lot time. Especially, now I'm using ListView for real-time searching data on DBF to be show on ListView, if user type "A" then my system will automatically search everything start with "A", if user type again "AB" then my system will automatically delete all ListViewItem then search everything start with "AB" again, so long. (so user could see the real-time of searching [system showing item one-by-one]) So now if I implement bBrowser to replace the function of ListView, is it possible? As my logical thinking, if everytime user type something, then I create an arrayserver, then assign to bBrowser, will take more time than ListView that could be add item one-by-one. Sorry, for my poor english, hope you could understand what I mean..hehe Regards, Darmadi "Stephen Quinn" <stevejqNO(a)bigpondSPAM.net.au> wrote in message news:C34Qm.58308$ze1.42588(a)news-server.bigpond.net.au... > Darmadi > > SubClass bBrwoser and create the new method. > Eg > MyBB3 INHERIT bBrowser3 > METHOD AddItem( ???? ) Clas MyBB3 > > // Do whatever > >> So I could manually create a ListViewItem then I add to ListView... > I don't know if BB3 supports ListView Items though > > CYA > Steve >
From: Geoff Schaller on 28 Nov 2009 05:17 Darmadi. You are thinking about this the wrong way. You don't need an array. You already have the DBF so it can be assigned to the bBrowser and then filtered and scoped to create the item list you need. If you are building it up from some slow collection mechanism then the other is OK but you mention large data sets. I doubt this is actually necessary. What is large anyway? 10,000 rows? If so, even for an array, this is no issue if you build your array correctly. You haven't really explained your need and why it should be constructed like a ListView. Listview is old technology and uses old techniques. Forget them. Go back to basics, analyse your need and cast the solution in terms of a table and bBrowser. Explain what you are doing and see if this forum can advise you on how to replace the listview with a properly designed bBrowser. I do not ever use listview any more. Too slow and too cumbersome and too inflexible. Let us help you to employ bBrowser properly. Geoff "Darmadi" <support(a)gfsoftindo.com> wrote in message news:heqr5a$8fh$1(a)aioe.org: > Thanks Steve, > > But as far as I know, bBrowser need dataserver or arrayserver to be assign > to bBrowser. > That mean, if I create a method, then I need to create an array, then assign > to bBrowser. > I have a problem when query a big data (I'm using DBF), then create an > arrayserver, afterward assign to bBrowser, that will use a lot time. > Especially, now I'm using ListView for real-time searching data on DBF to be > show on ListView, if user type "A" then my system will automatically search > everything start with "A", if user type again "AB" then my system will > automatically delete all ListViewItem then search everything start with "AB" > again, so long. (so user could see the real-time of searching [system > showing item one-by-one]) > So now if I implement bBrowser to replace the function of ListView, is it > possible? > As my logical thinking, if everytime user type something, then I create an > arrayserver, then assign to bBrowser, will take more time than ListView that > could be add item one-by-one. > > Sorry, for my poor english, hope you could understand what I mean..hehe > > Regards, > Darmadi > > > "Stephen Quinn" <stevejqNO(a)bigpondSPAM.net.au> wrote in message > news:C34Qm.58308$ze1.42588(a)news-server.bigpond.net.au... > > > Darmadi > > > > SubClass bBrwoser and create the new method. > > Eg > > MyBB3 INHERIT bBrowser3 > > METHOD AddItem( ???? ) Clas MyBB3 > > > > // Do whatever > > > > >> So I could manually create a ListViewItem then I add to ListView... > > > I don't know if BB3 supports ListView Items though > > > > CYA > > Steve > >
From: Stephen Quinn on 28 Nov 2009 20:45
Darmadi If all you require is a search mechanism have a look at FTS (Fast Text Search) (code available on Phils site http://www.sherlock.com.au follow the VO menu) > So now if I implement bBrowser to replace the function of ListView, is it > possible? Yes - think in terms of the DataBrowser instead of a Listview. > As my logical thinking, if everytime user type something, then I create an > arrayserver, then assign to bBrowser, will take more time than ListView > that could be add item one-by-one. No - you'd use the indices to SCOPE the data (can be altered on the fly) or if you want to search multiple fields then FTS is (IMO) the best way or go SQL and set up the queries appropriately CYA Steve "Darmadi" <support(a)gfsoftindo.com> wrote in message news:heqr5a$8fh$1(a)aioe.org... > Thanks Steve, > > But as far as I know, bBrowser need dataserver or arrayserver to be assign > to bBrowser. > That mean, if I create a method, then I need to create an array, then > assign to bBrowser. > I have a problem when query a big data (I'm using DBF), then create an > arrayserver, afterward assign to bBrowser, that will use a lot time. > Especially, now I'm using ListView for real-time searching data on DBF to > be show on ListView, if user type "A" then my system will automatically > search everything start with "A", if user type again "AB" then my system > will automatically delete all ListViewItem then search everything start > with "AB" again, so long. (so user could see the real-time of searching > [system showing item one-by-one]) > > Sorry, for my poor english, hope you could understand what I mean..hehe > > Regards, > Darmadi > > > "Stephen Quinn" <stevejqNO(a)bigpondSPAM.net.au> wrote in message > news:C34Qm.58308$ze1.42588(a)news-server.bigpond.net.au... >> Darmadi >> >> SubClass bBrwoser and create the new method. >> Eg >> MyBB3 INHERIT bBrowser3 >> METHOD AddItem( ???? ) Clas MyBB3 >> >> // Do whatever >> >>> So I could manually create a ListViewItem then I add to ListView... >> I don't know if BB3 supports ListView Items though >> >> CYA >> Steve >> > |