Search found 17 matches: undesirable

Searched query: undesirable

by nageswaragunupudi
Mon Nov 01, 2021 3:34 am
Forum: FiveWin for Harbour/xHarbour
Topic: Undo function (Ctrl+Z) in :TGet
Replies: 11
Views: 946

Re: Undo function (Ctrl+Z) in :TGet

oGet:undo() -> works

Works only when oGet has focus. By any chance/mistake if oGet:undo() is called when oGet is out of focus, unexpected and undesirable results can happen.

oGet:cText := v:oGet:Original -> works

This works always.

Actually, I am testing and considering changing Undo() method ...
by nageswaragunupudi
Wed Oct 10, 2018 12:06 pm
Forum: FiveWin for Harbour/xHarbour
Topic: checkbox on xBrowse with surplus info
Replies: 3
Views: 1176

Re: checkbox on xBrowse with surplus info

... you want to change the array at runtime (not before), set oBrw:aArrayData := <aNew>, but please do not use SetArray( aData ).

Calling SetArray() after the browse is prepared ( by Adjust() method) may have undesirable effects like this. This recommendation applies to other methods like SetRDD(), etc.
by nageswaragunupudi
Wed Oct 10, 2018 3:16 am
Forum: FiveWin for Harbour/xHarbour
Topic: MariaDB Rowset Seek Method returns always .T.
Replies: 7
Views: 1282

Re: MariaDB Rowset Seek Method returns always .T.

OT: AllTrim() for CHR(nKey) may not be necessary because CHR(nKey) is a single character and where nKey = 32, AllTrim() produces undesirable result of "" instead of the required " ".

Present behavior of RowSet Seek method:
Syntax:
oRs:Seek( uSeek, [lSoftSeek = .f.], [lWildSeek = .f.] ) --> lFound ...
by nageswaragunupudi
Tue Sep 25, 2018 11:25 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse multi selects (resolvido)
Replies: 7
Views: 2234

Re: xBrowse multi selects (resolvido)

... nDataType := 64

This is wrong.
Correct nDataType is DATATYPE_ODBF (16)

XBrowse automatically decides the correct datatype, when you create the browse based on the type of DATASOURCE.
Not only that you do not have to assign the value yourself, but it is also highly undesirable as in the above case.
by nageswaragunupudi
Fri Aug 23, 2013 3:12 pm
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 13.07 revised build
Replies: 28
Views: 7957

Re: New FWH 13.07 revised build

... with dbfs, some arrays, some recordsets, some other kinds of datasources and thinking of one bInit for all is not good.

There will even be many undesirable or even dangerous side effects.

For the sake of dicussion, assume that we made bInit a class var and the programmer set it to :bInit ...
by Antonio Linares
Mon Oct 17, 2011 9:54 am
Forum: FiveWin for Harbour/xHarbour
Topic: FiveWin Web Interface
Replies: 78
Views: 23244

Re: FiveWin Web Interface

Enrico,

Yes, we are going to get all sort of undesirable effects, but this is the web and we have to live with it and try to solve what we can :-)
by nageswaragunupudi
Mon Jan 24, 2011 7:40 am
Forum: FiveWin for Harbour/xHarbour
Topic: TSBrowse TXBrowse ?
Replies: 8
Views: 3460

Re: TSBrowse TXBrowse ?

... way of referring to column objects, from our experience with other browses. While we can access a column object like this, this is highly undesirable. With XBrowse the user can move the columns at the run time resulting in reordering of the columns. At runtime. oBrw:aCols[ 2 ] may not refer ...
by nageswaragunupudi
Wed Jan 12, 2011 9:59 am
Forum: FiveWin for Harbour/xHarbour
Topic: tMultiget and bLostFocus problem
Replies: 4
Views: 859

Re: tMultiget and bLostFocus problem

... to the If ::bSetGet .... endif block.

This should give the desired behavior for you. Let us see if this solution works well and has no other undesirable side-effects.

Alternatively, keep the following line as the first line of your bLostFocus code block
&nbsp; &nbsp; Eval&#40; oGet:bSetGet ...
by reinaldocrespo
Tue Sep 28, 2010 5:07 pm
Forum: FiveWin for Harbour/xHarbour
Topic: vTaskBar on the left MDIChild Window on the Right
Replies: 14
Views: 4945

Re: vTaskBar on the left MDIChild Window on the Right

Thank you for the link. Looks good.

I'm not saying it is impossible to imitate mdi with sdi or even undesirable. I'm saying it is already working with mdi. I don't like to go back and change code that is working unless there is a bug to be fixed AND your changes will please the customers.

I call ...
by nageswaragunupudi
Mon Aug 10, 2009 1:15 am
Forum: FiveWin for Harbour/xHarbour
Topic: Intermittant xBrowse ADO error ( again )
Replies: 61
Views: 16837

Re: Intermittant xBrowse ADO error ( again )

... this is a static array in window.prg ) ..etc.
That means we are talking about disturbing the internal structure of the core fwh library with all undesirable consequences. Another fallout is that the object's destroy method is not called and the resources will not be released.
An object should be ...
by anserkk
Thu Dec 04, 2008 10:22 am
Forum: To do - WishList / Por hacer - Peticiones
Topic: Wish : List of open Windows in an Application
Replies: 2
Views: 1410

Wish : List of open Windows in an Application

... oApp&#58;aOpenForms&#41;

If I want to close a particular Window/Dialog, I can loop through the array and get the Window/Dialog Tile and then close.

But if I ever miss to Add or Delete information to this Array in the Application class, then I get undesirable results.



Regards

Anser
by Antonio Linares
Tue Sep 30, 2008 2:53 pm
Forum: FiveWin for Harbour/xHarbour
Topic: UE PRG Formatting
Replies: 12
Views: 2974

... character/word is out-dented to the preceding TAB stop and the new line is indented to the same point.

For reindenting of files it may be undesirable to indent certain lines that are commented out, or compiler directives. This can be avoided by specifying lines that should not be indented. To ...
by James Bott
Mon Jan 07, 2008 1:28 pm
Forum: FiveWin for Harbour/xHarbour
Topic: TXBrowse Bug
Replies: 18
Views: 3154

... either currently, or in the future some or all of these codeblocks may have already been assigned by other methods of the TWBroiwse class. This could have undesirable effects.

I note also that neither TCBrowse nor TSBrowse are using DEFAULT.

My suggestion would be to not use DEFAULT.

Regards,
James
by James Bott
Mon Oct 08, 2007 3:58 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Suggestion for buttonbar
Replies: 1
Views: 565

Suggestion for buttonbar

... Currently TButtonbar:blClicked is undefined when the bar is defined. When you left-click on the buttonbar it depresses like a button--rather undesirable. I find that if you do this:

oBar:blClicked:={|| .t. }

It doesn't depress anymore. It works the same if you return false. It would be nice if ...
by James Bott
Wed Sep 26, 2007 3:14 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Print Setup
Replies: 5
Views: 1444

... you wish to print to a different device, you need to rebuild the report. If you change the print device after the preview, this may have the undesirable side effect of the actual printed report not being exactly the same as the preview. The user will, of course, blame the program.

A better ...