Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #3481 > unrolled thread
| Started by | "Valery N." <mustangsoftcom@gmail.com> |
|---|---|
| First post | 2012-05-23 00:56 -0700 |
| Last post | 2012-06-30 00:05 -0700 |
| Articles | 20 on this page of 30 — 7 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
CA-VO and bBrowser "Valery N." <mustangsoftcom@gmail.com> - 2012-05-23 00:56 -0700
Re: CA-VO and bBrowser D.J.W. van Kooten <public@ic2remove.this.com> - 2012-05-24 13:19 +0200
Re: CA-VO and bBrowser "Valery N." <mustangsoftcom@gmail.com> - 2012-05-24 05:54 -0700
Re: CA-VO and bBrowser "Valery N." <mustangsoftcom@gmail.com> - 2012-05-24 06:43 -0700
Re: CA-VO and bBrowser "Marc Verkade [Marti]" <marcatm@rti.nl> - 2012-05-24 20:50 +0200
Re: CA-VO and bBrowser "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2012-05-25 11:39 +1000
Re: CA-VO and bBrowser "Valery N." <mustangsoftcom@gmail.com> - 2012-05-25 00:06 -0700
Re: CA-VO and bBrowser "Valery N." <mustangsoftcom@gmail.com> - 2012-05-25 00:22 -0700
Re: CA-VO and bBrowser "Valery N." <mustangsoftcom@gmail.com> - 2012-05-25 00:44 -0700
Re: CA-VO and bBrowser "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2012-05-25 18:46 +1000
Re: CA-VO and bBrowser "Valery N." <mustangsoftcom@gmail.com> - 2012-05-25 02:36 -0700
Re: CA-VO and bBrowser "Paul D B" <polleke@NOMORESPAMhnt.be> - 2012-05-29 14:44 +0200
Re: CA-VO and bBrowser "Valery N." <mustangsoftcom@gmail.com> - 2012-05-29 07:10 -0700
Re: CA-VO and bBrowser "Paul D B" <polleke@NOMORESPAMhnt.be> - 2012-05-29 16:38 +0200
Re: CA-VO and bBrowser "Valery N." <mustangsoftcom@gmail.com> - 2012-05-29 08:23 -0700
Re: CA-VO and bBrowser "Valery N." <mustangsoftcom@gmail.com> - 2012-05-29 08:29 -0700
Re: CA-VO and bBrowser "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> - 2012-05-25 07:55 +0000
Re: CA-VO and bBrowser "Valery N." <mustangsoftcom@gmail.com> - 2012-05-25 01:04 -0700
Re: CA-VO and bBrowser "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2012-05-25 18:56 +1000
Re: CA-VO and bBrowser "richard.townsendrose" <richard.townsendrose@gmail.com> - 2012-05-25 03:03 -0700
Re: CA-VO and bBrowser "Valery N." <mustangsoftcom@gmail.com> - 2012-05-25 03:46 -0700
Re: CA-VO and bBrowser "richard.townsendrose" <richard.townsendrose@gmail.com> - 2012-05-25 03:55 -0700
Re: CA-VO and bBrowser "Valery N." <mustangsoftcom@gmail.com> - 2012-05-25 04:05 -0700
Re: CA-VO and bBrowser "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> - 2012-05-29 07:33 +0000
Re: CA-VO and bBrowser "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2012-05-29 18:57 +1000
Re: CA-VO and bBrowser "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> - 2012-05-30 08:05 +0000
Re: CA-VO and bBrowser "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2012-05-30 21:23 +1000
Re: CA-VO and bBrowser "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> - 2012-05-31 07:34 +0000
Re: CA-VO and bBrowser "Paul D B" <polleke@NOMORESPAMhnt.be> - 2012-05-31 10:39 +0200
Re: CA-VO and bBrowser "Valery N." <mustangsoftcom@gmail.com> - 2012-06-30 00:05 -0700
Page 1 of 2 [1] 2 Next page →
| From | "Valery N." <mustangsoftcom@gmail.com> |
|---|---|
| Date | 2012-05-23 00:56 -0700 |
| Subject | CA-VO and bBrowser |
| Message-ID | <9606d051-3a21-47fe-ba6b-44fa410c4518@m8g2000yqo.googlegroups.com> |
I wrote small article that I suggest to change or correct in bBrowser: http://www.mustang-soft.com/en/node/70 or http://www.mustang-soft.com/ru/node/69 Your opinion is interesting to me. P.S.: In advance I apologize for my bad English.
[toc] | [next] | [standalone]
| From | D.J.W. van Kooten <public@ic2remove.this.com> |
|---|---|
| Date | 2012-05-24 13:19 +0200 |
| Message-ID | <vp3sr7hvtp07mlgev82ofohnt1rli9ns38@4ax.com> |
| In reply to | #3481 |
On Wed, 23 May 2012 00:56:40 -0700 (PDT), "Valery N." <mustangsoftcom@gmail.com> wrote: Hello Valery, >I wrote small article that I suggest to change or correct in bBrowser: >http://www.mustang-soft.com/en/node/70 > or >http://www.mustang-soft.com/ru/node/69 > >Your opinion is interesting to me. >P.S.: In advance I apologize for my bad English. Very interesting and reasonably understandable in English. You may well have to rewrite parts soon, as bBrowser 4 is expected within weeks now. I've scanned a few things quickly. On ClearOrder you write (I changed the wording a bit) : Moreover, if number of the order is outside the existing range ... My judgement that in this case it is necessary to return TRUE: I don't agree with you on that. If the task isn't done as you expect, either because an error occured, or you have passed incorrect arguments as you mean here, your program should, if wel designed, take some action. When it returns true it doesn't take that action (assumed that an order is cleared, most likely another one as expected) so the programmer's error remains unnoticed. Dick
[toc] | [prev] | [next] | [standalone]
| From | "Valery N." <mustangsoftcom@gmail.com> |
|---|---|
| Date | 2012-05-24 05:54 -0700 |
| Message-ID | <f1b419e0-24aa-479c-8c2f-1c1f96e4a0d3@n33g2000vbi.googlegroups.com> |
| In reply to | #3485 |
Thanks for your response! If I am not mistaken, I marked that an approach of the developer of bBrowser library in case of bArrayServer:ClearOrder implementation ideologically correct. But, I marked, in certain cases it is inconvenient. Yes, I hurried, having called it is an error. Forgive. Once again thanks for your criticism! Valery.
[toc] | [prev] | [next] | [standalone]
| From | "Valery N." <mustangsoftcom@gmail.com> |
|---|---|
| Date | 2012-05-24 06:43 -0700 |
| Message-ID | <3e10a032-2b71-4922-9e04-6d50eb80e657@3g2000vbx.googlegroups.com> |
| In reply to | #3485 |
Allow, nevertheless to offer the decision which can arrange. Let
ClearOrder will return not TRUE/FALSE, and a certain value.
For example:
BAS_OK - if everything is correct
BAS_WARNING - if the warrant quitted for the range of the existing.
BAS-ERROR - if arose an error
And to add one more editing (I forgot to tell about it):
METHOD ClearOrder(iOrderNo) CLASS bArrayServer
// angegebene Sortierung lцschen
IF SELF:iOrderCount=0
// Valery
// RETURN FALSE
RETURN BAS_WARNING
ELSEIF IsNumeric(iOrderNo)
IF iOrderNo=0
iOrderNo := SELF:iOrderNo
ENDIF
IF !Between(iOrderNo, 1, SELF:iOrderCount)
// Valery
// RETURN FALSE
RETURN BAS_WARNING
ENDIF
// Valery
ELSE
RETURN BAS_ERROR
ENDIF
// Satzbewegung erlaubt?
IF !SELF:Notify(NOTIFYINTENTTOMOVE)
// Valery
// RETURN FALSE
RETURN BAS_ERROR
ENDIF
SELF:Commit()
// eine oder alle Sortierungen lцschen
IF IsNil(iOrderNo)
// alle Sortierungen lцschen
SELF:iOrderCount := 0
SELF:iOrderNo := 0
SELF:auOrder := {}
ELSE
// angegebene Sortierung lцschen
SELF:iOrderCount -= 1
ADel(SELF:auOrder, iOrderNo)
ASize(SELF:auOrder, SELF:iOrderCount)
IF SELF:iOrderCount=0
SELF:iOrderNo := 0
ELSE
SELF:iOrderNo := 1
SELF:auOrder[SELF:iOrderNo, BASOI_KEYNO] :=
SELF:OrderKeyNoToRecord(SELF:iOrderNo, SELF:iRecNo)
ENDIF
IF SELF:iOrderNo=0 .OR. SELF:auOrder[SELF:iOrderNo, BASOI_KEYNO]=0
SELF:SuspendNotification()
SELF:GoTop()
SELF:ResetNotification()
ENDIF
ENDIF
// alle Clients benachrichtigen
SELF:Notify(NOTIFYFILECHANGE)
// Status zurьckgeben
// Valery
// RETURN TRUE
RETURN BAS_OK
It seems to me that so it will be more convenient :))
[toc] | [prev] | [next] | [standalone]
| From | "Marc Verkade [Marti]" <marcatm@rti.nl> |
|---|---|
| Date | 2012-05-24 20:50 +0200 |
| Message-ID | <4fbe83ae$0$777$58c7af7e@news.kabelfoon.nl> |
| In reply to | #3487 |
Thanx for the info, very interesting and the english reasds fine!
Grtz, Marc
"Valery N." schreef in bericht
news:3e10a032-2b71-4922-9e04-6d50eb80e657@3g2000vbx.googlegroups.com...
Allow, nevertheless to offer the decision which can arrange. Let
ClearOrder will return not TRUE/FALSE, and a certain value.
For example:
BAS_OK - if everything is correct
BAS_WARNING - if the warrant quitted for the range of the existing.
BAS-ERROR - if arose an error
And to add one more editing (I forgot to tell about it):
METHOD ClearOrder(iOrderNo) CLASS bArrayServer
// angegebene Sortierung lцschen
IF SELF:iOrderCount=0
// Valery
// RETURN FALSE
RETURN BAS_WARNING
ELSEIF IsNumeric(iOrderNo)
IF iOrderNo=0
iOrderNo := SELF:iOrderNo
ENDIF
IF !Between(iOrderNo, 1, SELF:iOrderCount)
// Valery
// RETURN FALSE
RETURN BAS_WARNING
ENDIF
// Valery
ELSE
RETURN BAS_ERROR
ENDIF
// Satzbewegung erlaubt?
IF !SELF:Notify(NOTIFYINTENTTOMOVE)
// Valery
// RETURN FALSE
RETURN BAS_ERROR
ENDIF
SELF:Commit()
// eine oder alle Sortierungen lцschen
IF IsNil(iOrderNo)
// alle Sortierungen lцschen
SELF:iOrderCount := 0
SELF:iOrderNo := 0
SELF:auOrder := {}
ELSE
// angegebene Sortierung lцschen
SELF:iOrderCount -= 1
ADel(SELF:auOrder, iOrderNo)
ASize(SELF:auOrder, SELF:iOrderCount)
IF SELF:iOrderCount=0
SELF:iOrderNo := 0
ELSE
SELF:iOrderNo := 1
SELF:auOrder[SELF:iOrderNo, BASOI_KEYNO] :=
SELF:OrderKeyNoToRecord(SELF:iOrderNo, SELF:iRecNo)
ENDIF
IF SELF:iOrderNo=0 .OR. SELF:auOrder[SELF:iOrderNo, BASOI_KEYNO]=0
SELF:SuspendNotification()
SELF:GoTop()
SELF:ResetNotification()
ENDIF
ENDIF
// alle Clients benachrichtigen
SELF:Notify(NOTIFYFILECHANGE)
// Status zurьckgeben
// Valery
// RETURN TRUE
RETURN BAS_OK
It seems to me that so it will be more convenient :))
[toc] | [prev] | [next] | [standalone]
| From | "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> |
|---|---|
| Date | 2012-05-25 11:39 +1000 |
| Message-ID | <%oBvr.7237$v14.2953@viwinnwfe02.internal.bigpond.com> |
| In reply to | #3487 |
Valery
> BAS_OK - if everything is correct
> BAS_WARNING - if the warrant quitted for the range of the existing.
> BAS-ERROR - if arose an error
What values do you propose to use though?
Numerics or a mixture of numerics and logics?
To indicate an ERROR condtion then put your own error handler in place.
The idea behind the ArrayServer is to handle the array data using the same
methods as in DBServer, with the change you propose you lose the
compatability with the RDD
ie you can't simply write
IF ! SELF:oServer:ClearOrder()
// Would ERROR out if the Server is an ArrayServer and returned
anything other than TRUE/FALSE
> It seems to me that so it will be more convenient :))
Convenient would also mean that you'd need to write extra verification code
(if you really wanted to catch/fix any bugs in the code)
Eg
IF ( xResult := SELF:oServer:ClearOrder( 21 ) ) != BAS_OK
// What are you going to do here, what is the exact error condition that
raised the warning??
IF InList( xResult, BAS_WARNING, BAS_WARNING_TYPE_1, BAS_WARNING_TYPE_2,
BAS_WARNING_TYPE_3)
/*Eg
DO CASE
CASE xResult = BAS_WARNING_TYPE_1
CASE xResult = BAS_WARNING_TYPE_2
CASE xResult = BAS_WARNING_TYPE_3
OTHERWISE
// Notify the user - will they want/need to know??
ENDCASE
*/
ELSE
// We have an ERROR - What to do??
BREAK
ENDIF
ENDIF
CYA
Steve
[toc] | [prev] | [next] | [standalone]
| From | "Valery N." <mustangsoftcom@gmail.com> |
|---|---|
| Date | 2012-05-25 00:06 -0700 |
| Message-ID | <2c232006-425b-4e30-a9ed-d809a9f5ae26@eh4g2000vbb.googlegroups.com> |
| In reply to | #3489 |
Hello, Steve!
1. There is no DbServer:ClearOrder method (see SDK CA-Vo28).
2. On syntax some bArrayServer methods differ from the DbServer
methods. I showed it in the article.
=> There is no complete compatibility. The ClearOrder method in the
class DbServer is absent. Means, we can make it how it is convenient
to us.
The most similar method – DbServer:ClearIndex. Most likely, it also is
taken as a basis by bArrayServer:ClearOrder development. Besides,
DbServer:ClearIndex is similar to the old DBClearIndex function.
Question: whether to read attempt to clear to (close) the warrant with
nonexistent number an error?
I agree with Dick that ideologically it is correct, but it is
inconvenient. Why? At least because doesn't match on operation
DBClearIndex (see Help CA-Vo 28):
DBClearIndex() Function
Purpose: Remove orders from the order list in a work area and close
associated index files.
Syntax: DBClearIndex ([<cOrder> | <nPosition>], [<cIndexFile>]) --->
lSuccess
Arguments:
<cOrder> | <nPosition>
The name of the order to clear or a number representing its position
in the order list. Using the order name is the preferred method since
the position may be difficult to determine using multiple-order index
files. If not specified, all orders in the specified index file (or
the entire work area, if no index file is specified) are cleared.
Invalid values are ignored.
We check:
Use Test
Test->DBCLEARINDEX( 5 ) => TRUE :))
Dick insists on ideology. I offered a compromise.
In this case, Dick will make so:
IF .NOT. oServer:ClearOrder() <> BAS_OK
=> Error
I will make so:
IF oServer:ClearOrder() == BAS_ERROR
=> Error
It doesn't mean that I am right. I do how it is convenient to me.
Today I made one more editing and at me it looks so:
METHOD ClearOrder( iOrderNo ) CLASS msArrayServer // Valery
IF SELF:iOrderCount = 0
RETURN TRUE // BAS_WARNING
ELSEIF IsNil( iOrderNo )
iOrderNo := 0
ELSEIF IsNumeric( iOrderNo )
IF iOrderNo > 0 .AND. .NOT. Between( iOrderNo, 1, SELF:iOrderCount )
RETURN TRUE // BAS_WARNING
ENDIF
ELSE
RETURN FALSE // BAS_ERROR
ENDIF
IF !SELF:Notify( NOTIFYINTENTTOMOVE )
RETURN FALSE // BAS_ERROR
ENDIF
SELF:Commit()
IF iOrderNo = 0
SELF:iOrderCount := 0
SELF:iOrderNo := 0
SELF:auOrder := {}
ELSE
SELF:iOrderCount -= 1
ADel( SELF:auOrder, iOrderNo )
ASize( SELF:auOrder, SELF:iOrderCount )
IF SELF:iOrderCount=0
SELF:iOrderNo := 0
ELSE
SELF:iOrderNo := 1
SELF:auOrder[ SELF:iOrderNo, BASOI_KEYNO ] :=
SELF:OrderKeyNoToRecord( SELF:iOrderNo, SELF:iRecNo )
ENDIF
IF SELF:iOrderNo = 0 .OR. SELF:auOrder[ SELF:iOrderNo, BASOI_KEYNO ]
= 0
SELF:SuspendNotification()
SELF:GoTop()
SELF:ResetNotification()
ENDIF
ENDIF
SELF:Notify( NOTIFYFILECHANGE )
RETURN TRUE // BAS_OK
Good luck!
Forgive, if the message was duplicated...
[toc] | [prev] | [next] | [standalone]
| From | "Valery N." <mustangsoftcom@gmail.com> |
|---|---|
| Date | 2012-05-25 00:22 -0700 |
| Message-ID | <5ba84dde-d4f6-44f9-a91f-d20952579b8c@b26g2000vbt.googlegroups.com> |
| In reply to | #3490 |
Forgive, at me in a code an error. Correctly so:
METHOD ClearOrder( iOrderNo ) CLASS msArrayServer // Valery
IF SELF:iOrderCount = 0
// Valery
// RETURN FALSE
RETURN TRUE // BAS_WARNING
ELSEIF IsNumeric( iOrderNo )
IF iOrderNo = 0
iOrderNo := SELF:iOrderNo
ENDIF
IF !Between( iOrderNo, 1, SELF:iOrderCount )
// Valery
// RETURN FALSE
RETURN TRUE // BAS_WARNING
ENDIF
// Valery
***
ELSE
RETURN FALSE // BAS_ERROR
***
ENDIF
IF !SELF:Notify( NOTIFYINTENTTOMOVE )
RETURN FALSE // BAS_ERROR
ENDIF
SELF:Commit()
// eine oder alle Sortierungen lцschen
IF IsNil( iOrderNo )
// alle Sortierungen lцschen
SELF:iOrderCount := 0
SELF:iOrderNo := 0
SELF:auOrder := {}
ELSE
// angegebene Sortierung lцschen
SELF:iOrderCount -= 1
ADel( SELF:auOrder, iOrderNo )
ASize( SELF:auOrder, SELF:iOrderCount )
IF SELF:iOrderCount=0
SELF:iOrderNo := 0
ELSE
SELF:iOrderNo := 1
SELF:auOrder[ SELF:iOrderNo, BASOI_KEYNO ] :=
SELF:OrderKeyNoToRecord( SELF:iOrderNo, SELF:iRecNo )
ENDIF
IF SELF:iOrderNo = 0 .OR. SELF:auOrder[ SELF:iOrderNo, BASOI_KEYNO ]
= 0
SELF:SuspendNotification()
SELF:GoTop()
SELF:ResetNotification()
ENDIF
ENDIF
// alle Clients benachrichtigen
SELF:Notify( NOTIFYFILECHANGE )
// Status zurьckgeben
RETURN TRUE // BAS_OK
[toc] | [prev] | [next] | [standalone]
| From | "Valery N." <mustangsoftcom@gmail.com> |
|---|---|
| Date | 2012-05-25 00:44 -0700 |
| Message-ID | <cc41ff63-9d92-4d90-80e2-8db88e47b130@v24g2000vbx.googlegroups.com> |
| In reply to | #3491 |
Excuse me again :)) in a hurry, mistaken. Right way:
METHOD ClearOrder( iOrderNo ) CLASS msArrayServer // Valery
// angegebene Sortierung lцschen
IF SELF:iOrderCount = 0
// Valery
// RETURN FALSE
RETURN TRUE // BAS_WARNING
// Valery
***
ELSEIF IsNil( iOrderNo )
//
***
ELSEIF IsNumeric( iOrderNo )
IF iOrderNo = 0
iOrderNo := SELF:iOrderNo
ENDIF
IF !Between( iOrderNo, 1, SELF:iOrderCount )
// Valery
// RETURN FALSE
RETURN TRUE // BAS_WARNING
ENDIF
// Valery
***
ELSE
RETURN FALSE // BAS_ERROR
***
ENDIF
// Satzbewegung erlaubt?
IF !SELF:Notify( NOTIFYINTENTTOMOVE )
RETURN FALSE // BAS_ERROR
ENDIF
SELF:Commit()
// eine oder alle Sortierungen lцschen
IF IsNil( iOrderNo )
// alle Sortierungen lцschen
SELF:iOrderCount := 0
SELF:iOrderNo := 0
SELF:auOrder := {}
ELSE
// angegebene Sortierung lцschen
SELF:iOrderCount -= 1
ADel( SELF:auOrder, iOrderNo )
ASize( SELF:auOrder, SELF:iOrderCount )
IF SELF:iOrderCount=0
SELF:iOrderNo := 0
ELSE
SELF:iOrderNo := 1
SELF:auOrder[ SELF:iOrderNo, BASOI_KEYNO ] :=
SELF:OrderKeyNoToRecord( SELF:iOrderNo, SELF:iRecNo )
ENDIF
IF SELF:iOrderNo = 0 .OR. SELF:auOrder[ SELF:iOrderNo, BASOI_KEYNO ]
= 0
SELF:SuspendNotification()
SELF:GoTop()
SELF:ResetNotification()
ENDIF
ENDIF
// alle Clients benachrichtigen
SELF:Notify( NOTIFYFILECHANGE )
// Status zurьckgeben
RETURN TRUE // BAS_OK
[toc] | [prev] | [next] | [standalone]
| From | "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> |
|---|---|
| Date | 2012-05-25 18:46 +1000 |
| Message-ID | <nFHvr.7449$%E2.824@viwinnwfe01.internal.bigpond.com> |
| In reply to | #3490 |
Valery
> 1. There is no DbServer:ClearOrder method (see SDK CA-Vo28).
I didn't check, sorry - probably thinking of ClearScope()
> Question: whether to read attempt to clear to (close) the warrant with
nonexistent number an error?
I'd just ignore it - if you pass the wrong info and nothing happens then
what harm is done?
To tell you the truth I wouldn't bother clearing any orders on an
arrayserver
- I'd just close the server and they'd all go away.
> Besides, DbServer:ClearIndex is similar to the old DBClearIndex function.
That's because DBClearIndex() is a compatability function which you
shouldn't use with objects
AFAIK it only works for the DBFNTX RDD (things may have changed since I used
it last though<g>)
CYA
Steve
[toc] | [prev] | [next] | [standalone]
| From | "Valery N." <mustangsoftcom@gmail.com> |
|---|---|
| Date | 2012-05-25 02:36 -0700 |
| Message-ID | <2b2514f1-8676-420a-91e5-94f7f9f6d714@b1g2000vbb.googlegroups.com> |
| In reply to | #3498 |
Hi, Steve! > I'd just ignore it - if you pass the wrong info and nothing happens then > what harm is done? I also offered it. :)) my example ignores similar errors. But, Dick disagreed... > To tell you the truth I wouldn't bother clearing any orders on an > arrayserver > - I'd just close the server and they'd all go away. If I need to replace the data server (bArrayServer) - I use the method bArrayServer:Use. So quickly. But after that, we must re-create the order. Also, I use other tricks. Therefore, bArrayServer: ClearOrder I need. As the poet said: "If the stars are lit, it means that someone needs!"
[toc] | [prev] | [next] | [standalone]
| From | "Paul D B" <polleke@NOMORESPAMhnt.be> |
|---|---|
| Date | 2012-05-29 14:44 +0200 |
| Message-ID | <4fc4c49f$0$3108$ba620e4c@news.skynet.be> |
| In reply to | #3485 |
Hi Valery, about your Private Investigations: interesting reading (a bit Shakespearish style :-) ) but what I don't understand is this: have you discussed these issues with Joachim? I have always known him to be very responsive and willing to fix bugs and make his product better. In fact I have never had any bad experience with him like "I acknowledge it is a bug but I will not fix it". (IOW: the Microsoft style). PS: when it comes to complex coloring of cells, check out bCompoundvalue. It is very powerful. You can use it to set colorconditions for *individual cells* (so not on a row or recordlevel). You can show multiple field values in 1 cell and color them independently (so you ar in fact coloring parts of a cell). See example: http://dl.dropbox.com/u/1068395/Bestanden%20niet%20weblinked/example.jpg Never had any buggy behaviour whatsoever with this approach. But, very demanding in GDI resources when using big grids. Because each individual celll will have its own colorcondition... Paul On Wed, 23 May 2012 00:56:40 -0700 (PDT), "Valery N." <mustangsoftcom@gmail.com> wrote: >I wrote small article that I suggest to change or correct in bBrowser: >http://www.mustang-soft.com/en/node/70 > or >http://www.mustang-soft.com/ru/node/69 > >Your opinion is interesting to me. >P.S.: In advance I apologize for my bad English.
[toc] | [prev] | [next] | [standalone]
| From | "Valery N." <mustangsoftcom@gmail.com> |
|---|---|
| Date | 2012-05-29 07:10 -0700 |
| Message-ID | <0a8d23a0-1bd5-4657-a0a1-f17f41494011@w24g2000vby.googlegroups.com> |
| In reply to | #3520 |
Good afternoon, Paul!
For me it was unexpected that the subject of our communication has
continuation. I was going to write today on the site (in the blog)
some totals.
To me told that Joachim, probably, already read my notes. If you think
that I should write the letter personally Joachim, I will make it.
The sense of my post consisted in paying attention to "old" problems
which me interested. I decided that will be correct to carry out it
for discussion that it became clear that these problems are not only
at me. After all, I can and be mistaken.
> In fact I have never had any bad experience with
> him like "I acknowledge it is a bug but I will not fix it". (IOW: the
> Microsoft style).
I think, you misunderstood. He so didn't speak. Probably, it was
affected by my bad English. Above, we discussed ClearOrder method
operation. I told that I hurried to call a code in this method an
error. Everything depends on the one who and as represents correctness
of operation of this method. It is a thing disputable. It will be made
how it is represented by the developer. And if I with it am not agrees
- I will make how it is pleasant to me.
> PS: when it comes to complex coloring of cells, check out bCompoundvalue. It
> is very powerful. You can use it to set colorconditions for *individual
> cells* (so not on a row or recordlevel). You can show multiple field values
> in 1 cell and color them independently (so you ar in fact coloring parts of
> a cell).
> See example:http://dl.dropbox.com/u/1068395/Bestanden%20niet%20weblinked/example.jpg
>
> Never had any buggy behaviour whatsoever with this approach.
Normally indeed. But, there are also exceptions.
Example. I made the server. To spare time, I didn't describe access to
fields. Now, if I make very long condition of a coloring of type:
oColorCondition := bColorCondition{ "Server:FIELD1=Server:FIELD2 .AND.
Server:FIELD3=1 .AND. Server:FIELD4= … ETC.", oBrowser:Server,,
oBrush }
oBrowser:ColorCondition:Add( oColorCondition )
That, it can lead to errors. For the solution of this problem I
recommended to write instead of Server:FIELDxxx
Server:FieldGet(#FIELDxxx).
At me it solved all problems :)
But, Steve complained of bColorCondition work as also. He told that it
has also other problems. Whose there a mistake – I don't know. It is
necessary to look the Steve code, probably there is a mistake. Why I
so think? Except Steve nobody complained of it...
Valery.
P.S.: you can set the questions and on my site (mustang-soft.com). I
with pleasure will answer you. Registration isn't required. :)
[toc] | [prev] | [next] | [standalone]
| From | "Paul D B" <polleke@NOMORESPAMhnt.be> |
|---|---|
| Date | 2012-05-29 16:38 +0200 |
| Message-ID | <4fc4df4e$0$3120$ba620e4c@news.skynet.be> |
| In reply to | #3521 |
Hi Valery,
OK you confirm that you didn't speak to Joachim. I would recommend you do it
(you can point him to your blog, eveything is well explained there).
You think it isn't worth it because it concerns "old" problems. But only
Joachim can decide if it is an "old" problem. He might very well reuse
parts of the "problematic" bBrowser 3 code in the new bBrowser4. So your
input and findings might be valuable for him (and finally for all other
bBrowser users, like me).
cheers
Paul
"Valery N." schreef in bericht
news:0a8d23a0-1bd5-4657-a0a1-f17f41494011@w24g2000vby.googlegroups.com...
Good afternoon, Paul!
For me it was unexpected that the subject of our communication has
continuation. I was going to write today on the site (in the blog)
some totals.
To me told that Joachim, probably, already read my notes. If you think
that I should write the letter personally Joachim, I will make it.
The sense of my post consisted in paying attention to "old" problems
which me interested. I decided that will be correct to carry out it
for discussion that it became clear that these problems are not only
at me. After all, I can and be mistaken.
> In fact I have never had any bad experience with
> him like "I acknowledge it is a bug but I will not fix it". (IOW: the
> Microsoft style).
I think, you misunderstood. He so didn't speak. Probably, it was
affected by my bad English. Above, we discussed ClearOrder method
operation. I told that I hurried to call a code in this method an
error. Everything depends on the one who and as represents correctness
of operation of this method. It is a thing disputable. It will be made
how it is represented by the developer. And if I with it am not agrees
- I will make how it is pleasant to me.
> PS: when it comes to complex coloring of cells, check out bCompoundvalue.
> It
> is very powerful. You can use it to set colorconditions for *individual
> cells* (so not on a row or recordlevel). You can show multiple field
> values
> in 1 cell and color them independently (so you ar in fact coloring parts
> of
> a cell).
> See
> example:http://dl.dropbox.com/u/1068395/Bestanden%20niet%20weblinked/example.jpg
>
> Never had any buggy behaviour whatsoever with this approach.
Normally indeed. But, there are also exceptions.
Example. I made the server. To spare time, I didn't describe access to
fields. Now, if I make very long condition of a coloring of type:
oColorCondition := bColorCondition{ "Server:FIELD1=Server:FIELD2 .AND.
Server:FIELD3=1 .AND. Server:FIELD4= … ETC.", oBrowser:Server,,
oBrush }
oBrowser:ColorCondition:Add( oColorCondition )
That, it can lead to errors. For the solution of this problem I
recommended to write instead of Server:FIELDxxx
Server:FieldGet(#FIELDxxx).
At me it solved all problems :)
But, Steve complained of bColorCondition work as also. He told that it
has also other problems. Whose there a mistake – I don't know. It is
necessary to look the Steve code, probably there is a mistake. Why I
so think? Except Steve nobody complained of it...
Valery.
P.S.: you can set the questions and on my site (mustang-soft.com). I
with pleasure will answer you. Registration isn't required. :)
[toc] | [prev] | [next] | [standalone]
| From | "Valery N." <mustangsoftcom@gmail.com> |
|---|---|
| Date | 2012-05-29 08:23 -0700 |
| Message-ID | <a5e39500-66ed-4efd-b0f3-fe4dd5a4b920@w24g2000vby.googlegroups.com> |
| In reply to | #3523 |
On 29 май, 17:38, "Paul D B" <poll...@NOMORESPAMhnt.be> wrote: > Hi Valery, > > OK you confirm that you didn't speak to Joachim. I would recommend you do it > (you can point him to your blog, eveything is well explained there). > You think it isn't worth it because it concerns "old" problems. But only > Joachim can decide if it is an "old" problem. He might very well reuse > parts of the "problematic" bBrowser 3 code in the new bBrowser4. So your > input and findings might be valuable for him (and finally for all other > bBrowser users, like me). > > cheers > > Paul Well, Paul. To confirm my good intentions, I just sent it the letter to the address bieler@befo.com Valery.
[toc] | [prev] | [next] | [standalone]
| From | "Valery N." <mustangsoftcom@gmail.com> |
|---|---|
| Date | 2012-05-29 08:29 -0700 |
| Message-ID | <401b6d7c-523a-44bd-ad37-ba5d3569351a@m10g2000vbn.googlegroups.com> |
| In reply to | #3523 |
On 29 май, 17:38, "Paul D B" <poll...@NOMORESPAMhnt.be> wrote: > Hi Valery, > > OK you confirm that you didn't speak to Joachim. I would recommend you do it > (you can point him to your blog, eveything is well explained there). > You think it isn't worth it because it concerns "old" problems. But only > Joachim can decide if it is an "old" problem. He might very well reuse > parts of the "problematic" bBrowser 3 code in the new bBrowser4. So your > input and findings might be valuable for him (and finally for all other > bBrowser users, like me). > > cheers > > Paul Well, Paul. To confirm my good intentions, I just sent it the letter to the address bieler@befo.com Valery.
[toc] | [prev] | [next] | [standalone]
| From | "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> |
|---|---|
| Date | 2012-05-25 07:55 +0000 |
| Message-ID | <jpndt6$pbs$1@dont-email.me> |
| In reply to | #3481 |
Hi Valery, Thanks for your big note. I do not use bBrowser a lot, and if I use bBrowser, then it is in ReadOnly mode. So, just to lookup something. But, I use a lot of colorcontitions. And I have the same experience as you have. The solution of using the method "Fieldget" does not solve the problem completely! (I use fieldget already for years). I think it has something to do with deleted brushes... I'm testing it now, but it happens only by customers who calls this lookup table 100times a day... If I have more results, I let you know... Valery N. wrote: > I wrote small article that I suggest to change or correct in bBrowser: > http://www.mustang-soft.com/en/node/70 > or > http://www.mustang-soft.com/ru/node/69 > > Your opinion is interesting to me. > P.S.: In advance I apologize for my bad English. --
[toc] | [prev] | [next] | [standalone]
| From | "Valery N." <mustangsoftcom@gmail.com> |
|---|---|
| Date | 2012-05-25 01:04 -0700 |
| Message-ID | <cf83c689-bd8f-44f7-9ba1-8e7f556e03d6@k5g2000vbf.googlegroups.com> |
| In reply to | #3493 |
Thanks, Dirk! Good luck to you!
[toc] | [prev] | [next] | [standalone]
| From | "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> |
|---|---|
| Date | 2012-05-25 18:56 +1000 |
| Message-ID | <KOHvr.7451$%E2.3683@viwinnwfe01.internal.bigpond.com> |
| In reply to | #3493 |
Dirk > I think it has something to do with deleted brushes... Why are you deleting brushes when you know they're in use?? CYA Steve
[toc] | [prev] | [next] | [standalone]
| From | "richard.townsendrose" <richard.townsendrose@gmail.com> |
|---|---|
| Date | 2012-05-25 03:03 -0700 |
| Message-ID | <d9e7d573-24a0-4628-89eb-ae2cb2bdbed8@v24g2000vbx.googlegroups.com> |
| In reply to | #3499 |
Valery I am sure that Joachim will have read your comments with interest. It is one excellent product and you can do so much with it. bBrowser 4 is even more fantastic see http://www.tdocplus.co.uk/tdoc_manual/ select using TDOC, The TDOC Browse ... Richard
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web